Przeglądaj źródła

文章音频宽度

natasha 7 miesięcy temu
rodzic
commit
6f945e2d75

+ 3 - 2
src/components/Adult/preview/ArticleViewChs/NormalModelChs.vue

@@ -25,7 +25,7 @@
             :getCurTime="getCurTime"
             :duration="curQue.mp3_list[0].media_duration"
             :mp3Source="curQue.mp3_list[0].source"
-            :width="colLength == 2 ? 200 : 590"
+            :width="colLength == 2 ? 200 : isPhone ? 200 : 590"
             :ed="ed"
             type="audioLine"
             ref="audioLine"
@@ -1129,7 +1129,8 @@ export default {
     "config",
     "TaskModel",
     "NNPEAnnotationList",
-    "colLength"
+    "colLength",
+    "isPhone"
   ],
   components: {
     AudioLine,

+ 3 - 2
src/components/Adult/preview/ArticleViewChs/PhraseModelChs.vue

@@ -24,7 +24,7 @@
             :mp3="curQue.mp3_list[0].id"
             :getCurTime="getCurTime"
             :mp3Source="curQue.mp3_list[0].source"
-            :width="colLength == 2 ? 200 : 590"
+            :width="colLength == 2 ? 200 : isPhone ? 200 : 590"
             ref="audioLine"
           />
         </template>
@@ -779,7 +779,8 @@ export default {
     "config",
     "TaskModel",
     "NNPEAnnotationList",
-    "colLength"
+    "colLength",
+    "isPhone"
   ],
   components: {
     AudioLine,

+ 3 - 2
src/components/Adult/preview/ArticleViewChs/Practicechs.vue

@@ -24,7 +24,7 @@
           :getCurTime="getCurTime"
           ref="audioLine"
           :stopAudio="stopAudio"
-          :width="colLength == 2 ? 175 : 555"
+          :width="colLength == 2 ? 175 : isPhone ? 200 : 555"
           :mp3Source="curQue.mp3_list[0].source"
           :ed="ed"
           type="audioLine"
@@ -484,7 +484,8 @@ export default {
     "config",
     "TaskModel",
     "colLength",
-    "isFull"
+    "isFull",
+    "isPhone"
   ],
   components: {
     AudioLine,

+ 3 - 2
src/components/Adult/preview/ArticleViewChs/WordModelChs.vue

@@ -24,7 +24,7 @@
             :mp3="curQue.mp3_list[0].id"
             :getCurTime="getCurTime"
             :mp3Source="curQue.mp3_list[0].source"
-            :width="colLength == 2 ? 200 : 590"
+            :width="colLength == 2 ? 200 : isPhone ? 200 : 590"
             ref="audioLine"
           />
         </template>
@@ -690,7 +690,8 @@ export default {
     "config",
     "TaskModel",
     "colLength",
-    "noFont"
+    "noFont",
+    "isPhone"
   ],
   components: {
     AudioLine,

+ 7 - 1
src/components/Adult/preview/ArticleViewChs/index.vue

@@ -83,6 +83,7 @@
         :TaskModel="TaskModel"
         :NNPEAnnotationList="NNPEAnnotationList"
         :colLength="colLength"
+        :isPhone="isPhone"
       />
       <PhraseModel
         :curQue="curQue"
@@ -100,6 +101,7 @@
         :NNPEAnnotationList="NNPEAnnotationList"
         :colLength="colLength"
         :NpcNewWordMp3="NpcNewWordMp3"
+        :isPhone="isPhone"
       />
       <Practice
         :curQue="curQue"
@@ -116,6 +118,7 @@
         :colLength="colLength"
         :NpcNewWordMp3="NpcNewWordMp3"
         :isFull="isFull"
+        :isPhone="isPhone"
       />
       <WordModel
         :curQue="curQue"
@@ -132,6 +135,7 @@
         @changeConfig="changeConfig"
         :TaskModel="TaskModel"
         :colLength="colLength"
+        :isPhone="isPhone"
       />
     </div>
     <div class="voice-full-screen" :id="'screen-' + mathNum">
@@ -156,6 +160,7 @@
         @exitFullscreen="exitFullscreen"
         @changeIsFull="changeIsFull"
         :NpcNewWordMp3="NpcNewWordMp3"
+        :isPhone="isPhone"
       />
     </div>
   </div>
@@ -180,7 +185,8 @@ export default {
     "TaskModel",
     "NNPEAnnotationList",
     "colLength",
-    "NpcNewWordMp3"
+    "NpcNewWordMp3",
+    "isPhone"
   ],
   components: {
     NormalModelChs,

+ 3 - 2
src/components/Adult/preview/DialogueArticleViewChs/NormalModelChs.vue

@@ -24,7 +24,7 @@
             :mp3="curQue.mp3_list[0].id"
             :getCurTime="getCurTime"
             :mp3Source="curQue.mp3_list[0].source"
-            :width="colLength == 2 ? 200 : 590"
+            :width="colLength == 2 ? 200 : isPhone ? 200 : 590"
             :ed="ed"
             type="audioLine"
             ref="audioLine"
@@ -653,7 +653,8 @@ export default {
     "noFont",
     "config",
     "TaskModel",
-    "colLength"
+    "colLength",
+    "isPhone"
   ],
   components: {
     AudioLine,

+ 3 - 2
src/components/Adult/preview/DialogueArticleViewChs/PhraseModelChs.vue

@@ -24,7 +24,7 @@
             :mp3="curQue.mp3_list[0].id"
             :getCurTime="getCurTime"
             :mp3Source="curQue.mp3_list[0].source"
-            :width="colLength == 2 ? 200 : 590"
+            :width="colLength == 2 ? 200 : isPhone ? 200 : 590"
             ref="audioLine"
           />
         </template>
@@ -512,7 +512,8 @@ export default {
     "config",
     "TaskModel",
     "colLength",
-    "NpcNewWordMp3"
+    "NpcNewWordMp3",
+    "isPhone"
   ],
   components: {
     AudioLine,

+ 3 - 2
src/components/Adult/preview/DialogueArticleViewChs/Practicechs.vue

@@ -26,7 +26,7 @@
             :getCurTime="getCurTime"
             ref="audioLine"
             :stopAudio="stopAudio"
-            :width="colLength == 2 ? 175 : 555"
+            :width="colLength == 2 ? 175 : isPhone ? 200 : 555"
             :isRepeat="isRepeat"
             :mp3Source="curQue.mp3_list[0].source"
             :ed="ed"
@@ -571,7 +571,8 @@ export default {
     "currentTreeID",
     "TaskModel",
     "colLength",
-    "NpcNewWordMp3"
+    "NpcNewWordMp3",
+    "isPhone"
   ],
   components: {
     AudioLine,

+ 3 - 2
src/components/Adult/preview/DialogueArticleViewChs/WordModelChs.vue

@@ -24,7 +24,7 @@
             :mp3="curQue.mp3_list[0].id"
             :getCurTime="getCurTime"
             :mp3Source="curQue.mp3_list[0].source"
-            :width="colLength == 2 ? 200 : 590"
+            :width="colLength == 2 ? 200 : isPhone ? 200 : 590"
             ref="audioLine"
           />
         </template>
@@ -463,7 +463,8 @@ export default {
     "currentTreeID",
     "config",
     "TaskModel",
-    "colLength"
+    "colLength",
+    "isPhone"
   ],
   components: {
     AudioLine,

+ 7 - 1
src/components/Adult/preview/DialogueArticleViewChs/index.vue

@@ -89,6 +89,7 @@
         @changeConfig="changeConfig"
         v-if="!showPhrases && !showPractice && !showWord"
         :colLength="colLength"
+        :isPhone="isPhone"
       />
       <PhraseModel
         :curQue="curQue"
@@ -107,6 +108,7 @@
         v-if="showPhrases"
         :colLength="colLength"
         :NpcNewWordMp3="NpcNewWordMp3"
+        :isPhone="isPhone"
       />
       <Practice
         :curQue="curQue"
@@ -124,6 +126,7 @@
         :colLength="colLength"
         :isFull="isFull"
         :NpcNewWordMp3="NpcNewWordMp3"
+        :isPhone="isPhone"
       />
       <WordModel
         :curQue="curQue"
@@ -141,6 +144,7 @@
         @changeConfig="changeConfig"
         v-if="showWord"
         :colLength="colLength"
+        :isPhone="isPhone"
       />
     </div>
     <div class="voice-full-screen" :id="'screen-' + mathNum">
@@ -165,6 +169,7 @@
         @exitFullscreen="exitFullscreen"
         @changeIsFull="changeIsFull"
         :NpcNewWordMp3="NpcNewWordMp3"
+        :isPhone="isPhone"
       />
     </div>
   </div>
@@ -189,7 +194,8 @@ export default {
     "currentTreeID",
     "TaskModel",
     "colLength",
-    "NpcNewWordMp3"
+    "NpcNewWordMp3",
+    "isPhone"
   ],
   components: {
     NormalModelChs,