|
|
@@ -154,7 +154,9 @@
|
|
|
? attrib
|
|
|
? attrib.topic_color
|
|
|
: pItem.config.color
|
|
|
- : pItem.config.color,
|
|
|
+ : pItem.notesColor
|
|
|
+ ? pItem.notesColor
|
|
|
+ : pItem.config.color,
|
|
|
}"
|
|
|
><span
|
|
|
v-for="(wItem, wIndex) in pItem.leg"
|
|
|
@@ -175,7 +177,9 @@
|
|
|
curTime < item.timeList[pItem.sentIndex].ed &&
|
|
|
attrib
|
|
|
? attrib.topic_color
|
|
|
- : pItem.config.color,
|
|
|
+ : pItem.notesColor
|
|
|
+ ? pItem.notesColor
|
|
|
+ : pItem.config.color,
|
|
|
}"
|
|
|
@click.stop="viewNotes($event, pItem.chs[wIndex], pItem.chs, pItem)"
|
|
|
>{{ convertText(pItem.chs[wIndex]) }}</span
|
|
|
@@ -236,7 +240,9 @@
|
|
|
textDecoration: item.wordsList[pIndex + 1].config.textDecoration,
|
|
|
borderBottom: item.wordsList[pIndex + 1].config.border === 'dotted' ? '1px dotted' : '',
|
|
|
fontWeight: item.wordsList[pIndex + 1].config.fontWeight,
|
|
|
- color: item.wordsList[pIndex + 1].config.color,
|
|
|
+ color: item.wordsList[pIndex + 1].notesColor
|
|
|
+ ? item.wordsList[pIndex + 1].notesColor
|
|
|
+ : item.wordsList[pIndex + 1].config.color,
|
|
|
height:
|
|
|
attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
@@ -330,7 +336,9 @@
|
|
|
textDecoration: item.wordsList[pIndex + 2].config.textDecoration,
|
|
|
borderBottom: item.wordsList[pIndex + 2].config.border === 'dotted' ? '1px dotted' : '',
|
|
|
fontWeight: item.wordsList[pIndex + 2].config.fontWeight,
|
|
|
- color: item.wordsList[pIndex + 2].config.color,
|
|
|
+ color: item.wordsList[pIndex + 2].notesColor
|
|
|
+ ? item.wordsList[pIndex + 2].notesColor
|
|
|
+ : item.wordsList[pIndex + 2].config.color,
|
|
|
height:
|
|
|
attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
@@ -425,7 +433,9 @@
|
|
|
? attrib
|
|
|
? attrib.topic_color
|
|
|
: pItem.config.color
|
|
|
- : pItem.config.color,
|
|
|
+ : pItem.notesColor
|
|
|
+ ? pItem.notesColor
|
|
|
+ : pItem.config.color,
|
|
|
}"
|
|
|
><span
|
|
|
v-for="(wItem, wIndex) in pItem.leg"
|
|
|
@@ -446,7 +456,9 @@
|
|
|
curTime < item.timeList[pItem.sentIndex].ed &&
|
|
|
attrib
|
|
|
? attrib.topic_color
|
|
|
- : pItem.config.color,
|
|
|
+ : pItem.notesColor
|
|
|
+ ? pItem.notesColor
|
|
|
+ : pItem.config.color,
|
|
|
}"
|
|
|
@click.stop="viewNotes($event, pItem.chs[wIndex], pItem.chs, pItem)"
|
|
|
>{{ convertText(pItem.chs[wIndex]) }}</span
|
|
|
@@ -603,7 +615,7 @@
|
|
|
textDecoration: pItem.config.textDecoration,
|
|
|
borderBottom: pItem.config.border === 'dotted' ? '1px dotted' : '',
|
|
|
fontWeight: pItem.config.fontWeight,
|
|
|
- color: pItem.config.color,
|
|
|
+ color: pItem.notesColor ? pItem.notesColor : pItem.config.color,
|
|
|
height:
|
|
|
attrib && attrib.font_size
|
|
|
? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
@@ -848,7 +860,7 @@
|
|
|
textDecoration: pItem.config.textDecoration,
|
|
|
borderBottom: pItem.config.border === 'dotted' ? '1px dotted' : '',
|
|
|
fontWeight: pItem.config.fontWeight,
|
|
|
- color: pItem.config.color,
|
|
|
+ color: pItem.notesColor ? pItem.notesColor : pItem.config.color,
|
|
|
height:
|
|
|
attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
@@ -1280,6 +1292,7 @@ export default {
|
|
|
},
|
|
|
matchWords: wItem.matchWords,
|
|
|
matchNotes: wItem.matchNotes,
|
|
|
+ notesColor: wItem.notesColor,
|
|
|
img: wItem.img,
|
|
|
imgPosition: wItem.imgPosition,
|
|
|
};
|
|
|
@@ -1349,6 +1362,7 @@ export default {
|
|
|
},
|
|
|
matchWords: wItem.matchWords,
|
|
|
matchNotes: wItem.matchNotes,
|
|
|
+ notesColor: wItem.notesColor,
|
|
|
img: wItem.img,
|
|
|
imgPosition: wItem.imgPosition,
|
|
|
};
|