guanchunjie vor 3 Jahren
Ursprung
Commit
de5cc0b232

+ 6 - 1
src/components/Adult/preview/DialogueArticleViewChs/NormalModelChs.vue

@@ -122,7 +122,11 @@
                             v-if="curQue.pyPosition == 'top'"
                             class="NNPE-pinyin"
                             :class="[
-                              noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
+                              noFont.indexOf(
+                                item.wordsList[pIndex + 1].pinyin
+                              ) > -1
+                                ? 'noFont'
+                                : '',
                             ]"
                             style="text-align: left"
                             >{{ item.wordsList[pIndex + 1].pinyin }}</span
@@ -367,6 +371,7 @@ export default {
     handleWav() {},
     getCurTime(curTime) {
       this.curTime = curTime * 1000;
+      console.log(this.curTime);
     },
     handleData() {
       let resArr = [];

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

@@ -184,7 +184,9 @@
                                 :class="[
                                   'NNPE-pinyin',
                                   sentIndex == index ? 'wordBlank' : '',
-                                  noFont.indexOf(item.pinyin) > -1
+                                  noFont.indexOf(
+                                    item.sentArr[pIndex + 1].pinyin
+                                  ) > -1
                                     ? 'noFont'
                                     : '',
                                 ]"
@@ -215,7 +217,9 @@
                                 :class="[
                                   'NNPE-pinyin',
                                   sentIndex == index ? 'wordBlank' : '',
-                                  noFont.indexOf(item.pinyin) > -1
+                                  noFont.indexOf(
+                                    item.sentArr[pIndex + 1].pinyin
+                                  ) > -1
                                     ? 'noFont'
                                     : '',
                                 ]"

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

@@ -64,7 +64,7 @@
                   ></audio>
                 </template>
                 <template v-else>
-                  <span style="width: 24px; height: 24px"></span>
+                  <span style="width: 16px; height: 16px"></span>
                 </template>
                 <span class="tabNum"
                   ><template v-if="sItem.mIndex == 0"

+ 1 - 1
vue.config.js

@@ -42,7 +42,7 @@ module.exports = {
       // change xxx-api/login => mock/login
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://gcls.utschool.cn/`,
+        target: `http://gcls.helxsoft.cn/`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''