|
|
@@ -131,6 +131,9 @@
|
|
|
]"
|
|
|
:style="{
|
|
|
fontFamily: pItem.config.fontFamily,
|
|
|
+ textDecoration: pItem.config.textDecoration,
|
|
|
+ borderBottom: pItem.config.border === 'dotted' ? '1px dotted' : '',
|
|
|
+ fontWeight: pItem.config.fontWeight,
|
|
|
height:
|
|
|
attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
@@ -140,8 +143,8 @@
|
|
|
newWordList.indexOf(pItem.chs) > -1 || pItem.words
|
|
|
? attrib
|
|
|
? attrib.topic_color
|
|
|
- : ''
|
|
|
- : '',
|
|
|
+ : pItem.config.color
|
|
|
+ : pItem.config.color,
|
|
|
}"
|
|
|
><span
|
|
|
v-for="(wItem, wIndex) in pItem.leg"
|
|
|
@@ -162,7 +165,7 @@
|
|
|
curTime < item.timeList[pItem.sentIndex].ed &&
|
|
|
attrib
|
|
|
? attrib.topic_color
|
|
|
- : '',
|
|
|
+ : pItem.config.color,
|
|
|
}"
|
|
|
@click.stop="viewNotes($event, pItem.chs[wIndex], pItem.chs)"
|
|
|
>{{ pItem.chs[wIndex] }}</span
|
|
|
@@ -213,6 +216,10 @@
|
|
|
style="text-align: left"
|
|
|
:style="{
|
|
|
fontFamily: item.wordsList[pIndex + 1].config.fontFamily,
|
|
|
+ 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,
|
|
|
height:
|
|
|
attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
@@ -287,6 +294,10 @@
|
|
|
style="text-align: left"
|
|
|
:style="{
|
|
|
fontFamily: item.wordsList[pIndex + 2].config.fontFamily,
|
|
|
+ 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,
|
|
|
height:
|
|
|
attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
@@ -352,6 +363,9 @@
|
|
|
]"
|
|
|
:style="{
|
|
|
fontFamily: pItem.config.fontFamily,
|
|
|
+ textDecoration: pItem.config.textDecoration,
|
|
|
+ borderBottom: pItem.config.border === 'dotted' ? '1px dotted' : '',
|
|
|
+ fontWeight: pItem.config.fontWeight,
|
|
|
height:
|
|
|
attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
@@ -361,8 +375,8 @@
|
|
|
newWordList.indexOf(pItem.chs) > -1 || pItem.words
|
|
|
? attrib
|
|
|
? attrib.topic_color
|
|
|
- : ''
|
|
|
- : '',
|
|
|
+ : pItem.config.color
|
|
|
+ : pItem.config.color,
|
|
|
}"
|
|
|
><span
|
|
|
v-for="(wItem, wIndex) in pItem.leg"
|
|
|
@@ -383,7 +397,7 @@
|
|
|
curTime < item.timeList[pItem.sentIndex].ed &&
|
|
|
attrib
|
|
|
? attrib.topic_color
|
|
|
- : '',
|
|
|
+ : pItem.config.color,
|
|
|
}"
|
|
|
@click.stop="viewNotes($event, pItem.chs[wIndex], pItem.chs)"
|
|
|
>{{ pItem.chs[wIndex] }}</span
|
|
|
@@ -524,6 +538,10 @@
|
|
|
:class="[]"
|
|
|
:style="{
|
|
|
fontFamily: pItem.config.fontFamily,
|
|
|
+ textDecoration: pItem.config.textDecoration,
|
|
|
+ borderBottom: pItem.config.border === 'dotted' ? '1px dotted' : '',
|
|
|
+ fontWeight: pItem.config.fontWeight,
|
|
|
+ color: 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',
|
|
|
@@ -582,6 +600,10 @@
|
|
|
:class="[]"
|
|
|
:style="{
|
|
|
fontFamily: item.sentArr[pIndex + 1].config.fontFamily,
|
|
|
+ textDecoration: item.sentArr[pIndex + 1].config.textDecoration,
|
|
|
+ borderBottom: item.sentArr[pIndex + 1].config.border === 'dotted' ? '1px dotted' : '',
|
|
|
+ fontWeight: item.sentArr[pIndex + 1].config.fontWeight,
|
|
|
+ color: item.sentArr[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',
|
|
|
@@ -658,6 +680,10 @@
|
|
|
:class="[]"
|
|
|
:style="{
|
|
|
fontFamily: item.sentArr[pIndex + 2].config.fontFamily,
|
|
|
+ textDecoration: item.sentArr[pIndex + 2].config.textDecoration,
|
|
|
+ borderBottom: item.sentArr[pIndex + 2].config.border === 'dotted' ? '1px dotted' : '',
|
|
|
+ fontWeight: item.sentArr[pIndex + 2].config.fontWeight,
|
|
|
+ color: item.sentArr[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',
|
|
|
@@ -737,6 +763,10 @@
|
|
|
:class="[]"
|
|
|
:style="{
|
|
|
fontFamily: pItem.config.fontFamily,
|
|
|
+ textDecoration: pItem.config.textDecoration,
|
|
|
+ borderBottom: pItem.config.border === 'dotted' ? '1px dotted' : '',
|
|
|
+ fontWeight: pItem.config.fontWeight,
|
|
|
+ color: 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',
|
|
|
@@ -1154,6 +1184,10 @@ export default {
|
|
|
leg: wItem.chs.length,
|
|
|
config: {
|
|
|
fontFamily: wItem.fontFamily,
|
|
|
+ color: wItem.color,
|
|
|
+ textDecoration: wItem.textDecoration,
|
|
|
+ border: wItem.border,
|
|
|
+ fontWeight: wItem.fontWeight,
|
|
|
},
|
|
|
};
|
|
|
paraArr.push(obj);
|
|
|
@@ -1213,6 +1247,10 @@ export default {
|
|
|
timeList: [],
|
|
|
config: {
|
|
|
fontFamily: wItem.fontFamily,
|
|
|
+ color: wItem.color,
|
|
|
+ textDecoration: wItem.textDecoration,
|
|
|
+ border: wItem.border,
|
|
|
+ fontWeight: wItem.fontWeight,
|
|
|
},
|
|
|
};
|
|
|
sentArr.push(obj);
|