|
|
@@ -350,6 +350,7 @@
|
|
|
? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
: '28px',
|
|
|
fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
+ width: item.wordsList[pIndex + 1].chs.trim() === '' ? '6px' : '',
|
|
|
lineHeight:
|
|
|
attrib && attrib.font_size
|
|
|
? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
@@ -402,6 +403,8 @@
|
|
|
attrib && attrib.font_size
|
|
|
? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
: '28px',
|
|
|
+
|
|
|
+ width: item.wordsList[pIndex + 1].chs.trim() === '' ? '6px' : '',
|
|
|
}"
|
|
|
@click.stop="
|
|
|
viewNotes(
|
|
|
@@ -521,6 +524,7 @@
|
|
|
attrib && attrib.font_size
|
|
|
? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
: '28px',
|
|
|
+ width: item.wordsList[pIndex + 2].chs.trim() === '' ? '6px' : '',
|
|
|
}"
|
|
|
@click.stop="
|
|
|
viewNotes(
|
|
|
@@ -569,6 +573,8 @@
|
|
|
attrib && attrib.font_size
|
|
|
? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
: '28px',
|
|
|
+
|
|
|
+ width: item.wordsList[pIndex + 2].chs.trim() === '' ? '6px' : '',
|
|
|
}"
|
|
|
@click.stop="
|
|
|
viewNotes(
|
|
|
@@ -677,6 +683,8 @@
|
|
|
: pItem.matchNotesObj.con && pItem.matchNotesObj.notesColor
|
|
|
? pItem.matchNotesObj.notesColor
|
|
|
: pItem.config.color,
|
|
|
+
|
|
|
+ width: pItem.chs.trim() === '' ? '6px' : '',
|
|
|
}"
|
|
|
><span
|
|
|
v-for="(wItem, wIndex) in pItem.leg"
|
|
|
@@ -737,6 +745,8 @@
|
|
|
: pItem.matchNotesObj.con && pItem.matchNotesObj.notesColor
|
|
|
? pItem.matchNotesObj.notesColor
|
|
|
: pItem.config.color,
|
|
|
+
|
|
|
+ width: pItem.chs.trim() === '' ? '6px' : '',
|
|
|
}"
|
|
|
><span
|
|
|
v-for="(wItem, wIndex) in pItem.leg"
|
|
|
@@ -926,6 +936,8 @@
|
|
|
attrib && attrib.font_size
|
|
|
? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
: '28px',
|
|
|
+
|
|
|
+ width: pItem.chs[wIndex].trim() === '' ? '6px' : '',
|
|
|
}"
|
|
|
@click.stop="
|
|
|
viewNotes($event, pItem.words ? pItem.words : pItem.chs[wIndex], pItem.chs, pItem)
|
|
|
@@ -992,6 +1004,8 @@
|
|
|
fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
lineHeight:
|
|
|
attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
+
|
|
|
+ width: item.sentArr[pIndex + 1].chs.trim() === '' ? '6px' : '',
|
|
|
}"
|
|
|
@click.stop="
|
|
|
viewNotes(
|
|
|
@@ -1078,6 +1092,8 @@
|
|
|
fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
lineHeight:
|
|
|
attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
+
|
|
|
+ width: item.sentArr[pIndex + 2].chs.trim() === '' ? '6px' : '',
|
|
|
}"
|
|
|
@click.stop="
|
|
|
viewNotes(
|
|
|
@@ -1173,6 +1189,8 @@
|
|
|
fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
lineHeight:
|
|
|
attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
+
|
|
|
+ width: pItem.chs[wIndex].trim() === '' ? '6px' : '',
|
|
|
}"
|
|
|
@click.stop="
|
|
|
viewNotes($event, pItem.words ? pItem.words : pItem.chs[wIndex], pItem.chs, pItem)
|
|
|
@@ -2571,6 +2589,7 @@ export default {
|
|
|
</style>
|
|
|
<style lang="scss">
|
|
|
.article-bubble.el-tooltip__popper.is-light {
|
|
|
+ max-width: 530px;
|
|
|
border-color: #fff;
|
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 15%);
|
|
|
}
|