|
|
@@ -127,6 +127,15 @@
|
|
|
fontFamily: pItem.config.fontFamily,
|
|
|
height: '28px',
|
|
|
display: 'inline-block',
|
|
|
+ backgroundColor:
|
|
|
+ item.timeList &&
|
|
|
+ item.timeList[pItem.sentIndex] &&
|
|
|
+ curTime >= item.timeList[pItem.sentIndex].bg &&
|
|
|
+ curTime <= item.timeList[pItem.sentIndex].ed &&
|
|
|
+ curTime &&
|
|
|
+ attrib
|
|
|
+ ? attrib.assist_color
|
|
|
+ : '',
|
|
|
}"
|
|
|
>
|
|
|
<template>
|
|
|
@@ -142,6 +151,17 @@
|
|
|
? '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,
|
|
|
@@ -223,6 +243,25 @@
|
|
|
height: '28px',
|
|
|
display: 'inline-block',
|
|
|
width: item.wordsList[pIndex + 1].chs.trim() === '' ? '6px' : '',
|
|
|
+ backgroundColor:
|
|
|
+ isPlaying &&
|
|
|
+ item.timeList &&
|
|
|
+ item.timeList[pItem.sentIndex] &&
|
|
|
+ curTime >= item.timeList[pItem.sentIndex].bg &&
|
|
|
+ curTime <= item.timeList[pItem.sentIndex].ed &&
|
|
|
+ curTime &&
|
|
|
+ attrib
|
|
|
+ ? attrib.assist_color
|
|
|
+ : '',
|
|
|
+ color:
|
|
|
+ pItem.chstimeList &&
|
|
|
+ pItem.chstimeList[pItem.leg - 1] &&
|
|
|
+ curTime >= pItem.chstimeList[pItem.leg - 1].wordBg &&
|
|
|
+ curQue.wordTime &&
|
|
|
+ curTime <= item.timeList[pItem.sentIndex].ed &&
|
|
|
+ attrib
|
|
|
+ ? attrib.topic_color
|
|
|
+ : '',
|
|
|
}"
|
|
|
@click.stop="
|
|
|
viewNotes(
|
|
|
@@ -311,6 +350,25 @@
|
|
|
height: '28px',
|
|
|
display: 'inline-block',
|
|
|
width: item.wordsList[pIndex + 2].chs.trim() === '' ? '6px' : '',
|
|
|
+ backgroundColor:
|
|
|
+ isPlaying &&
|
|
|
+ item.timeList &&
|
|
|
+ item.timeList[pItem.sentIndex] &&
|
|
|
+ curTime >= item.timeList[pItem.sentIndex].bg &&
|
|
|
+ curTime <= item.timeList[pItem.sentIndex].ed &&
|
|
|
+ curTime &&
|
|
|
+ attrib
|
|
|
+ ? attrib.assist_color
|
|
|
+ : '',
|
|
|
+ color:
|
|
|
+ pItem.chstimeList &&
|
|
|
+ pItem.chstimeList[pItem.leg - 1] &&
|
|
|
+ curTime >= pItem.chstimeList[pItem.leg - 1].wordBg &&
|
|
|
+ curQue.wordTime &&
|
|
|
+ curTime <= item.timeList[pItem.sentIndex].ed &&
|
|
|
+ attrib
|
|
|
+ ? attrib.topic_color
|
|
|
+ : '',
|
|
|
}"
|
|
|
@click.stop="
|
|
|
viewNotes(
|
|
|
@@ -380,6 +438,17 @@
|
|
|
pItem.chs != '“' && pItem.padding && config.isShowPY ? 'padding' : '',
|
|
|
pItem.paraIndex == paraIndex && pItem.sentIndex == sentIndex ? 'overActive' : '',
|
|
|
]"
|
|
|
+ :style="{
|
|
|
+ backgroundColor:
|
|
|
+ item.timeList &&
|
|
|
+ item.timeList[pItem.sentIndex] &&
|
|
|
+ curTime >= item.timeList[pItem.sentIndex].bg &&
|
|
|
+ curTime <= item.timeList[pItem.sentIndex].ed &&
|
|
|
+ curTime &&
|
|
|
+ attrib
|
|
|
+ ? attrib.assist_color
|
|
|
+ : '',
|
|
|
+ }"
|
|
|
>
|
|
|
<template>
|
|
|
<span
|
|
|
@@ -399,6 +468,15 @@
|
|
|
height: '28px',
|
|
|
display: 'inline-block',
|
|
|
width: pItem.chs[wIndex].trim() === '' ? '6px' : '',
|
|
|
+ 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(
|