Browse Source

调整搭配的间距

natasha 1 year ago
parent
commit
3b786f4feb
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/exercise_questions/preview/ChinesePreview.vue

+ 4 - 2
src/views/exercise_questions/preview/ChinesePreview.vue

@@ -25,7 +25,8 @@
               <AudioPlay :file-id="item.audio_file_id" theme-color="gray" />
               <span class="pinyin">{{ item.pinyin }}</span>
             </div>
-            <p class="words-right">{{ item.definition + ' ' + item.collocation }}</p>
+            <p class="words-right">{{ item.definition }}</p>
+            <p class="words-right">{{ item.collocation }}</p>
           </div>
           <template v-if="data.property.learn_type === 'paint'">
             <!-- 描红 -->
@@ -262,11 +263,12 @@ export default {
         align-items: center;
         justify-content: center;
         width: 64px;
+        margin-right: 12px;
         border-right: 1px solid #e81b1b;
       }
 
       .words-right {
-        padding: 8px 16px;
+        padding: 8px 4px;
         margin: 0;
         font-size: 14px;
         line-height: 14px;