root пре 1 година
родитељ
комит
86c3765a15
1 измењених фајлова са 7 додато и 4 уклоњено
  1. 7 4
      src/renderer/components/ScaleTestPage.vue

+ 7 - 4
src/renderer/components/ScaleTestPage.vue

@@ -8,7 +8,7 @@
           问题{{ scale_index + 1
           }}<span class="question_default">/{{ scale_infos.length }}</span>
         </p>
-        <p class="question_desc">
+        <p v-show="scale_infos[scale_index].answer.length > 0" class="question_desc">
           {{ scale_index + 1 }}.{{ scale_infos[scale_index].answer }}
         </p>
         <!-- 单选题答案区域 -->
@@ -24,7 +24,7 @@
               @click="choiceTriger(item, index)"
               :class="{ active: index === activeIndex }"
             >
-              {{ item }}
+              <span>{{ item }}</span>
             </div>
             <!-- <el-radio
               class="scala_detail_radio"
@@ -433,12 +433,15 @@ p.radioSpan {
 }
 
 .answer_item {
+  display: flex;
+  align-items: center;
   width: 20.34vw;
-  line-height: 5.92vh;
+  min-height: 3.92vh;
+  line-height: 1.4;
   background: #e0f8ef;
   border-radius: 60px 60px 60px 60px;
   opacity: 1;
-  padding-left: 2vw;
+  padding:1vh 2vw;
   margin: 0 auto 3.05vh;
   cursor: pointer;
 }