|
|
@@ -124,8 +124,32 @@
|
|
|
: ''
|
|
|
: '',
|
|
|
}"
|
|
|
- @click.stop="viewNotes($event, pItem.words ? pItem.words : pItem.chs)"
|
|
|
- >{{ pItem.chs }}</span
|
|
|
+ ><span
|
|
|
+ v-for="(wItem, wIndex) in pItem.leg"
|
|
|
+ :key="'ci' + wIndex + pIndex + index"
|
|
|
+ :class="[
|
|
|
+ isPlaying &&
|
|
|
+ pItem.chstimeList &&
|
|
|
+ pItem.chstimeList[wIndex] &&
|
|
|
+ curTime >= pItem.chstimeList[wIndex].wordBg &&
|
|
|
+ curTime < item.timeList[pItem.sentIndex].ed
|
|
|
+ ? 'wordActive'
|
|
|
+ : '',
|
|
|
+ ]"
|
|
|
+ :style="{
|
|
|
+ color:
|
|
|
+ isPlaying &&
|
|
|
+ pItem.chstimeList &&
|
|
|
+ pItem.chstimeList[wIndex] &&
|
|
|
+ curTime >= pItem.chstimeList[wIndex].wordBg &&
|
|
|
+ curTime < item.timeList[pItem.sentIndex].ed &&
|
|
|
+ attrib
|
|
|
+ ? attrib.topic_color
|
|
|
+ : '',
|
|
|
+ }"
|
|
|
+ @click.stop="viewNotes($event, pItem.chs[wIndex])"
|
|
|
+ >{{ pItem.chs[wIndex] }}</span
|
|
|
+ ></span
|
|
|
>
|
|
|
<span
|
|
|
v-if="curQue.property.pinyin_position == 'bottom' && config.isShowPY && item.dhaspinyin"
|
|
|
@@ -323,8 +347,32 @@
|
|
|
: ''
|
|
|
: '',
|
|
|
}"
|
|
|
- @click.stop="viewNotes($event, pItem.words ? pItem.words : pItem.chs)"
|
|
|
- >{{ pItem.chs }}</span
|
|
|
+ ><span
|
|
|
+ v-for="(wItem, wIndex) in pItem.leg"
|
|
|
+ :key="'ci' + wIndex + pIndex + index"
|
|
|
+ :class="[
|
|
|
+ isPlaying &&
|
|
|
+ pItem.chstimeList &&
|
|
|
+ pItem.chstimeList[wIndex] &&
|
|
|
+ curTime >= pItem.chstimeList[wIndex].wordBg &&
|
|
|
+ curTime < item.timeList[pItem.sentIndex].ed
|
|
|
+ ? 'wordActive'
|
|
|
+ : '',
|
|
|
+ ]"
|
|
|
+ :style="{
|
|
|
+ color:
|
|
|
+ isPlaying &&
|
|
|
+ pItem.chstimeList &&
|
|
|
+ pItem.chstimeList[wIndex] &&
|
|
|
+ curTime >= pItem.chstimeList[wIndex].wordBg &&
|
|
|
+ curTime < item.timeList[pItem.sentIndex].ed &&
|
|
|
+ attrib
|
|
|
+ ? attrib.topic_color
|
|
|
+ : '',
|
|
|
+ }"
|
|
|
+ @click.stop="viewNotes($event, pItem.chs[wIndex])"
|
|
|
+ >{{ pItem.chs[wIndex] }}</span
|
|
|
+ ></span
|
|
|
>
|
|
|
<span
|
|
|
v-if="curQue.property.pinyin_position == 'bottom' && config.isShowPY && item.dhaspinyin"
|
|
|
@@ -1057,6 +1105,7 @@ export default {
|
|
|
isShow: wItem.isShow,
|
|
|
isNewWord: this.newWords.indexOf(wItem.chs) > -1,
|
|
|
words,
|
|
|
+ leg: wItem.chs.length,
|
|
|
config: {
|
|
|
fontFamily: wItem.fontFamily,
|
|
|
},
|