Browse Source

修改答题样式

aaa 3 years ago
parent
commit
5340f6a786
1 changed files with 6 additions and 4 deletions
  1. 6 4
      src/views/home/answer/page-answer.vue

+ 6 - 4
src/views/home/answer/page-answer.vue

@@ -14,11 +14,11 @@
           <div class="answer-practice-item-img">
             <van-image width="100%" height="100%" :src="item.url" fit="cover" />
           </div>
+          <div class="answer-practice-item-type-name">{{ item.type.name }}</div>
           <div class="answer-practice-item-title">
             <div>{{ item.title[0] }}</div>
             <div>{{ item.title[1] }}</div>
           </div>
-          <div class="answer-practice-item-type-name">{{ item.type.name }}</div>
         </div>
       </div>
     </div>
@@ -73,7 +73,8 @@ export default {
           id: 2,
           url: require("@/assets/image/answer/02.png"),
           title: ["周而复始", "方得始终"],
-          type: { name: "每周答题", code: "weekly-questions" }
+          //   weekly-questions
+          type: { name: "每周答题", code: "daily-questions" }
         },
         {
           id: 3,
@@ -89,7 +90,7 @@ export default {
         {
           id: 1,
           title: "闯关答题",
-          describe: "5题一关,答对继续,答错出局"
+          describe: "10题一关,答对继续,答错出局"
         }
         // {
         //   id: 2,
@@ -192,7 +193,8 @@ export default {
         border-bottom: 1px solid #e4e8eb;
         line-height: 2rem;
         text-align: center;
-        font-size: 0.65rem;
+        font-size: 0.7rem;
+        font-weight: bold;
         color: #000;
       }
       .answer-race-item-describe {