Browse Source

更改文章生词模式

gcj 3 years ago
parent
commit
00a9d2dcac
1 changed files with 5 additions and 27 deletions
  1. 5 27
      src/components/Adult/preview/ArticleViewChs/PhraseModelChs.vue

+ 5 - 27
src/components/Adult/preview/ArticleViewChs/PhraseModelChs.vue

@@ -122,6 +122,7 @@
                           >{{ item.wordsList[pIndex + 1].pinyin }}</span
                         >
                       </span>
+
                       <span
                         class="NNPE-words-box"
                         v-if="
@@ -134,7 +135,7 @@
                           v-if="curQue.pyPosition == 'top' && config.isShowPY"
                           :class="[
                             'NNPE-pinyin',
-                            noFont.indexOf(item.wordsList[pIndex + 2].pinyin) >
+                            noFont.indexOf(item.wordsList[pIndex + 1].pinyin) >
                             -1
                               ? 'noFont'
                               : '',
@@ -142,32 +143,9 @@
                           style="text-align: left"
                           >{{ item.wordsList[pIndex + 2].pinyin }}</span
                         >
-                        <span
-                          class="NNPE-chs"
-                          style="text-align: left"
-                          :class="[
-                            isPlaying &&
-                            item.timeList &&
-                            item.timeList[pItem.sentIndex] &&
-                            curTime >= item.timeList[pItem.sentIndex].bg &&
-                            curTime <= item.timeList[pItem.sentIndex].ed
-                              ? 'active'
-                              : '',
-                            pItem.paraIndex == paraIndex &&
-                            pItem.sentIndex == sentIndex
-                              ? 'overActive'
-                              : '',
-                            pItem.chstimeList &&
-                            pItem.chstimeList[pItem.leg - 1] &&
-                            curTime >=
-                              pItem.chstimeList[pItem.leg - 1].wordBg &&
-                            curQue.wordTime &&
-                            curTime <= item.timeList[pItem.sentIndex].ed
-                              ? 'wordActive'
-                              : '',
-                          ]"
-                          >{{ item.wordsList[pIndex + 2].chs }}</span
-                        >
+                        <span class="NNPE-chs" style="text-align: left">{{
+                          item.wordsList[pIndex + 2].chs
+                        }}</span>
                         <span
                           v-if="
                             curQue.pyPosition == 'bottom' && config.isShowPY