소스 검색

读汉字写拼音 移动端

natasha 7 달 전
부모
커밋
1f2f5bf67c
1개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 10 1
      src/components/Adult/preview/TextInputRecord.vue

+ 10 - 1
src/components/Adult/preview/TextInputRecord.vue

@@ -2,6 +2,7 @@
 <template>
   <div
     class="Big-Book-prev-Textdes"
+    :class="[isPhone ? 'textInput-phone' : '']"
     v-if="
       curQue && judgeAnswer == 'standardAnswer'
         ? userErrList.length > 0
@@ -111,7 +112,7 @@ import AnswerTitle from "../preview/components/AnswerTitle.vue";
 
 export default {
   components: { Soundrecord, Audio, AudioLine, AnswerTitle },
-  props: ["curQue", "themeColor", "TaskModel", "judgeAnswer"],
+  props: ["curQue", "themeColor", "TaskModel", "judgeAnswer", "isPhone"],
   data() {
     return {
       resArr: [],
@@ -487,4 +488,12 @@ export default {
     }
   }
 }
+.textInput-phone {
+  ul {
+    padding: 10px;
+  }
+  .play-btn {
+    flex-shrink: 0;
+  }
+}
 </style>