|
@@ -38,6 +38,7 @@
|
|
pItem.pinyin && noFont.indexOf(pItem.pinyin) > -1
|
|
pItem.pinyin && noFont.indexOf(pItem.pinyin) > -1
|
|
? 'noFont'
|
|
? 'noFont'
|
|
: '',
|
|
: '',
|
|
|
|
+ pItem.underLine ? 'NPC-pinyin-underline' : '',
|
|
]"
|
|
]"
|
|
>{{ pItem.pinyin | handlePY }}</span
|
|
>{{ pItem.pinyin | handlePY }}</span
|
|
>
|
|
>
|
|
@@ -219,7 +220,7 @@
|
|
<span
|
|
<span
|
|
v-if="pyNumber > 0 && pyPosition == 'bottom'"
|
|
v-if="pyNumber > 0 && pyPosition == 'bottom'"
|
|
class="NPC-pinyin"
|
|
class="NPC-pinyin"
|
|
- :class="[noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '']"
|
|
|
|
|
|
+ :class="[noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',pItem.underLine ? 'NPC-pinyin-underline' : '',]"
|
|
>{{ pItem.pinyin | handlePY }}</span
|
|
>{{ pItem.pinyin | handlePY }}</span
|
|
>
|
|
>
|
|
</span>
|
|
</span>
|
|
@@ -231,6 +232,7 @@
|
|
noFont.indexOf(detail.wordsList[pIndex + 1].pinyin) > -1
|
|
noFont.indexOf(detail.wordsList[pIndex + 1].pinyin) > -1
|
|
? 'noFont'
|
|
? 'noFont'
|
|
: '',
|
|
: '',
|
|
|
|
+ detail.wordsList[pIndex + 1].underLine ? 'NPC-pinyin-underline' : '',
|
|
]"
|
|
]"
|
|
style="text-align: left"
|
|
style="text-align: left"
|
|
>{{ detail.wordsList[pIndex + 1].pinyin | handlePY }}</span
|
|
>{{ detail.wordsList[pIndex + 1].pinyin | handlePY }}</span
|
|
@@ -252,7 +254,7 @@
|
|
detail.wordsList[pIndex + 1].fontColor != 'sub'
|
|
detail.wordsList[pIndex + 1].fontColor != 'sub'
|
|
? detail.wordsList[pIndex + 1].fontColor
|
|
? detail.wordsList[pIndex + 1].fontColor
|
|
: '',
|
|
: '',
|
|
- fontFamily: pItem.fontFamily,
|
|
|
|
|
|
+ fontFamily: detail.wordsList[pIndex + 1].fontFamily,
|
|
lineHeight: (maxFontsize * 3) / 2 + 'px',
|
|
lineHeight: (maxFontsize * 3) / 2 + 'px',
|
|
}"
|
|
}"
|
|
>{{ detail.wordsList[pIndex + 1].chs }}</span
|
|
>{{ detail.wordsList[pIndex + 1].chs }}</span
|
|
@@ -265,6 +267,7 @@
|
|
noFont.indexOf(detail.wordsList[pIndex + 1].pinyin) > -1
|
|
noFont.indexOf(detail.wordsList[pIndex + 1].pinyin) > -1
|
|
? 'noFont'
|
|
? 'noFont'
|
|
: '',
|
|
: '',
|
|
|
|
+ detail.wordsList[pIndex + 1].underLine ? 'NPC-pinyin-underline' : '',
|
|
]"
|
|
]"
|
|
style="text-align: left"
|
|
style="text-align: left"
|
|
>{{ detail.wordsList[pIndex + 1].pinyin | handlePY }}</span
|
|
>{{ detail.wordsList[pIndex + 1].pinyin | handlePY }}</span
|
|
@@ -285,6 +288,7 @@
|
|
noFont.indexOf(detail.wordsList[pIndex + 2].pinyin) > -1
|
|
noFont.indexOf(detail.wordsList[pIndex + 2].pinyin) > -1
|
|
? 'noFont'
|
|
? 'noFont'
|
|
: '',
|
|
: '',
|
|
|
|
+ detail.wordsList[pIndex + 2].underLine ? 'NPC-pinyin-underline' : '',
|
|
]"
|
|
]"
|
|
style="text-align: left"
|
|
style="text-align: left"
|
|
>{{ detail.wordsList[pIndex + 2].pinyin }}</span
|
|
>{{ detail.wordsList[pIndex + 2].pinyin }}</span
|
|
@@ -300,7 +304,7 @@
|
|
:style="{
|
|
:style="{
|
|
fontSize: pItem.fontSize,
|
|
fontSize: pItem.fontSize,
|
|
color: pItem.fontColor != 'sub' ? pItem.fontColor : '',
|
|
color: pItem.fontColor != 'sub' ? pItem.fontColor : '',
|
|
- fontFamily: pItem.fontFamily,
|
|
|
|
|
|
+ fontFamily: detail.wordsList[pIndex + 2].fontFamily,
|
|
lineHeight: (maxFontsize * 3) / 2 + 'px',
|
|
lineHeight: (maxFontsize * 3) / 2 + 'px',
|
|
}"
|
|
}"
|
|
>{{ detail.wordsList[pIndex + 2].chs }}</span
|
|
>{{ detail.wordsList[pIndex + 2].chs }}</span
|
|
@@ -312,6 +316,7 @@
|
|
noFont.indexOf(detail.wordsList[pIndex + 2].pinyin) > -1
|
|
noFont.indexOf(detail.wordsList[pIndex + 2].pinyin) > -1
|
|
? 'noFont'
|
|
? 'noFont'
|
|
: '',
|
|
: '',
|
|
|
|
+ detail.wordsList[pIndex + 2].underLine ? 'NPC-pinyin-underline' : '',
|
|
]"
|
|
]"
|
|
style="text-align: left"
|
|
style="text-align: left"
|
|
>{{ detail.wordsList[pIndex + 2].pinyin }}</span
|
|
>{{ detail.wordsList[pIndex + 2].pinyin }}</span
|
|
@@ -327,6 +332,7 @@
|
|
:class="[
|
|
:class="[
|
|
pItem.chs != '“' && pItem.padding ? 'padding' : '',
|
|
pItem.chs != '“' && pItem.padding ? 'padding' : '',
|
|
noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
|
|
+ pItem.underLine ? 'NPC-pinyin-underline' : '',
|
|
]"
|
|
]"
|
|
>{{ pItem.pinyin | handlePY }}</span
|
|
>{{ pItem.pinyin | handlePY }}</span
|
|
>
|
|
>
|
|
@@ -511,6 +517,7 @@
|
|
:class="[
|
|
:class="[
|
|
pItem.chs != '“' && pItem.padding ? 'padding' : '',
|
|
pItem.chs != '“' && pItem.padding ? 'padding' : '',
|
|
noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
|
|
+ pItem.underLine ? 'NPC-pinyin-underline' : '',
|
|
]"
|
|
]"
|
|
>{{ pItem.pinyin | handlePY }}</span
|
|
>{{ pItem.pinyin | handlePY }}</span
|
|
>
|
|
>
|
|
@@ -841,6 +848,9 @@ export default {
|
|
&.textLeft {
|
|
&.textLeft {
|
|
text-align: left;
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
+ &-underline {
|
|
|
|
+ text-decoration: underline;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.NPC-chs {
|
|
.NPC-chs {
|
|
font-family: "FZJCGFKTK";
|
|
font-family: "FZJCGFKTK";
|