Pārlūkot izejas kodu

句子拆分选项对齐

natasha 2 gadi atpakaļ
vecāks
revīzija
ddf2bb49ab

+ 1 - 1
src/components/Adult/preview/SentenceModule.vue

@@ -15,7 +15,7 @@
         curQue.mp3_list && curQue.mp3_list.length > 0 && curQue.mp3_list[0].id
       "
     >
-      <div class="aduioLine-box aduioLine-practice">
+      <div class="aduioLine-box">
         <AudioLine
           audioId="fillInforAudioLine"
           :mp3="curQue.mp3_list[0].id"

+ 7 - 9
src/components/Adult/preview/components/OptionTemp.vue

@@ -32,7 +32,6 @@
                 :style="{
                   'margin-right': 0,
                   display: 'flex',
-                  'align-items': !row ? 'center' : 'center',
                 }"
               >
                 <span
@@ -71,7 +70,7 @@
             <el-radio
               v-model="correctAnswer.radio"
               :label="index"
-              style="margin-right: 0; display: flex; align-items: center"
+              style="margin-right: 0; display: flex;"
               :class="[
                 item.detail &&
                 item.detail.pyNumber &&
@@ -130,7 +129,6 @@
                 :style="{
                   'margin-right': 0,
                   display: 'flex',
-                  'align-items': !row ? 'center' : 'center',
                 }"
               >
                 <span
@@ -169,7 +167,7 @@
             <el-radio
               v-model="Bookanswer.radio.correct"
               :label="index"
-              style="margin-right: 0; display: flex; align-items: center"
+              style="margin-right: 0; display: flex; "
               :class="[
                 item.detail &&
                 item.detail.pyNumber &&
@@ -573,24 +571,24 @@ ul {
   .el-checkbox__inner {
     width: 16px;
     height: 16px;
-    margin-top: 0;
+    margin-top: 14px;
   }
   .el-checkbox__inner {
     // margin-top: 4px;
   }
   .radio-hasPy {
     .el-radio__inner {
-      margin-top: 6px;
+      margin-top: 24px;
     }
     .el-checkbox__inner {
-      margin-top: 6px;
+      margin-top: 24px;
     }
     &-bottom{
         .el-radio__inner {
-            margin-top: -4px;
+            margin-top: 14px;
         }
         .el-checkbox__inner {
-            margin-top: -4px;
+            margin-top: 14px;
         }
     }
   }