|
@@ -112,6 +112,13 @@
|
|
|
noFont.indexOf(item.pinyin) > -1 ? 'noFont' : '',
|
|
noFont.indexOf(item.pinyin) > -1 ? 'noFont' : '',
|
|
|
]"
|
|
]"
|
|
|
@click.stop="viewNotes($event, pItem.pinyin)"
|
|
@click.stop="viewNotes($event, pItem.pinyin)"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
|
|
+ : '22px',
|
|
|
|
|
+ }"
|
|
|
>{{ pItem.pinyin }}</span
|
|
>{{ pItem.pinyin }}</span
|
|
|
>
|
|
>
|
|
|
<span
|
|
<span
|
|
@@ -122,7 +129,11 @@
|
|
|
]"
|
|
]"
|
|
|
:style="{
|
|
:style="{
|
|
|
fontFamily: pItem.config.fontFamily,
|
|
fontFamily: pItem.config.fontFamily,
|
|
|
- height: '28px',
|
|
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
|
|
+ fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ lineHeight:
|
|
|
|
|
+ attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
display: 'inline-block',
|
|
display: 'inline-block',
|
|
|
color:
|
|
color:
|
|
|
newWordList.indexOf(pItem.chs) > -1 || pItem.words
|
|
newWordList.indexOf(pItem.chs) > -1 || pItem.words
|
|
@@ -142,6 +153,13 @@
|
|
|
noFont.indexOf(item.pinyin) > -1 ? 'noFont' : '',
|
|
noFont.indexOf(item.pinyin) > -1 ? 'noFont' : '',
|
|
|
]"
|
|
]"
|
|
|
@click.stop="viewNotes($event, pItem.pinyin)"
|
|
@click.stop="viewNotes($event, pItem.pinyin)"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
|
|
+ : '22px',
|
|
|
|
|
+ }"
|
|
|
>{{ pItem.pinyin }}</span
|
|
>{{ pItem.pinyin }}</span
|
|
|
>
|
|
>
|
|
|
</span>
|
|
</span>
|
|
@@ -152,6 +170,13 @@
|
|
|
style="text-align: left"
|
|
style="text-align: left"
|
|
|
:class="[noFont.indexOf(item.wordsList[pIndex + 1].pinyin) > -1 ? 'noFont' : '']"
|
|
:class="[noFont.indexOf(item.wordsList[pIndex + 1].pinyin) > -1 ? 'noFont' : '']"
|
|
|
@click.stop="viewNotes($event, item.wordsList[pIndex + 1].pinyin)"
|
|
@click.stop="viewNotes($event, item.wordsList[pIndex + 1].pinyin)"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
|
|
+ : '22px',
|
|
|
|
|
+ }"
|
|
|
>{{ item.wordsList[pIndex + 1].pinyin }}</span
|
|
>{{ item.wordsList[pIndex + 1].pinyin }}</span
|
|
|
>
|
|
>
|
|
|
<span
|
|
<span
|
|
@@ -159,7 +184,11 @@
|
|
|
style="text-align: left"
|
|
style="text-align: left"
|
|
|
:style="{
|
|
:style="{
|
|
|
fontFamily: item.wordsList[pIndex + 1].config.fontFamily,
|
|
fontFamily: item.wordsList[pIndex + 1].config.fontFamily,
|
|
|
- height: '28px',
|
|
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
|
|
+ fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ lineHeight:
|
|
|
|
|
+ attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
display: 'inline-block',
|
|
display: 'inline-block',
|
|
|
}"
|
|
}"
|
|
|
@click.stop="
|
|
@click.stop="
|
|
@@ -182,6 +211,13 @@
|
|
|
:class="[noFont.indexOf(item.wordsList[pIndex + 1].pinyin) > -1 ? 'noFont' : '']"
|
|
:class="[noFont.indexOf(item.wordsList[pIndex + 1].pinyin) > -1 ? 'noFont' : '']"
|
|
|
style="text-align: left"
|
|
style="text-align: left"
|
|
|
@click.stop="viewNotes($event, item.wordsList[pIndex + 1].pinyin)"
|
|
@click.stop="viewNotes($event, item.wordsList[pIndex + 1].pinyin)"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
|
|
+ : '22px',
|
|
|
|
|
+ }"
|
|
|
>{{ item.wordsList[pIndex + 1].pinyin }}</span
|
|
>{{ item.wordsList[pIndex + 1].pinyin }}</span
|
|
|
>
|
|
>
|
|
|
</span>
|
|
</span>
|
|
@@ -201,6 +237,13 @@
|
|
|
noFont.indexOf(item.wordsList[pIndex + 2].pinyin) > -1 ? 'noFont' : '',
|
|
noFont.indexOf(item.wordsList[pIndex + 2].pinyin) > -1 ? 'noFont' : '',
|
|
|
]"
|
|
]"
|
|
|
style="text-align: left"
|
|
style="text-align: left"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
|
|
+ : '22px',
|
|
|
|
|
+ }"
|
|
|
@click.stop="viewNotes($event, item.wordsList[pIndex + 2].pinyin)"
|
|
@click.stop="viewNotes($event, item.wordsList[pIndex + 2].pinyin)"
|
|
|
>{{ item.wordsList[pIndex + 2].pinyin }}</span
|
|
>{{ item.wordsList[pIndex + 2].pinyin }}</span
|
|
|
>
|
|
>
|
|
@@ -218,7 +261,11 @@
|
|
|
]"
|
|
]"
|
|
|
:style="{
|
|
:style="{
|
|
|
fontFamily: item.wordsList[pIndex + 2].config.fontFamily,
|
|
fontFamily: item.wordsList[pIndex + 2].config.fontFamily,
|
|
|
- height: '28px',
|
|
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
|
|
+ fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ lineHeight:
|
|
|
|
|
+ attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
display: 'inline-block',
|
|
display: 'inline-block',
|
|
|
}"
|
|
}"
|
|
|
@click.stop="
|
|
@click.stop="
|
|
@@ -242,6 +289,13 @@
|
|
|
noFont.indexOf(item.wordsList[pIndex + 2].pinyin) > -1 ? 'noFont' : '',
|
|
noFont.indexOf(item.wordsList[pIndex + 2].pinyin) > -1 ? 'noFont' : '',
|
|
|
]"
|
|
]"
|
|
|
style="text-align: left"
|
|
style="text-align: left"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
|
|
+ : '22px',
|
|
|
|
|
+ }"
|
|
|
@click.stop="viewNotes($event, item.wordsList[pIndex + 2].pinyin)"
|
|
@click.stop="viewNotes($event, item.wordsList[pIndex + 2].pinyin)"
|
|
|
>{{ item.wordsList[pIndex + 2].pinyin }}</span
|
|
>{{ item.wordsList[pIndex + 2].pinyin }}</span
|
|
|
>
|
|
>
|
|
@@ -256,6 +310,11 @@
|
|
|
pItem.className ? pItem.className : '',
|
|
pItem.className ? pItem.className : '',
|
|
|
noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
|
]"
|
|
]"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.pinyin_size ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt' : '22px',
|
|
|
|
|
+ }"
|
|
|
@click.stop="viewNotes($event, pItem.pinyin)"
|
|
@click.stop="viewNotes($event, pItem.pinyin)"
|
|
|
>{{ pItem.pinyin }}</span
|
|
>{{ pItem.pinyin }}</span
|
|
|
>
|
|
>
|
|
@@ -269,7 +328,11 @@
|
|
|
]"
|
|
]"
|
|
|
:style="{
|
|
:style="{
|
|
|
fontFamily: pItem.config.fontFamily,
|
|
fontFamily: pItem.config.fontFamily,
|
|
|
- height: '28px',
|
|
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
|
|
+ fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ lineHeight:
|
|
|
|
|
+ attrib && attrib.font_size ? attrib.font_size.replace('pt', '') * 1.4 + 'pt' : '28px',
|
|
|
display: 'inline-block',
|
|
display: 'inline-block',
|
|
|
color:
|
|
color:
|
|
|
newWordList.indexOf(pItem.chs) > -1 || pItem.words
|
|
newWordList.indexOf(pItem.chs) > -1 || pItem.words
|
|
@@ -289,6 +352,11 @@
|
|
|
pItem.className ? pItem.className : '',
|
|
pItem.className ? pItem.className : '',
|
|
|
noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
|
]"
|
|
]"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
|
|
+ height:
|
|
|
|
|
+ attrib && attrib.pinyin_size ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt' : '22px',
|
|
|
|
|
+ }"
|
|
|
@click.stop="viewNotes($event, pItem.pinyin)"
|
|
@click.stop="viewNotes($event, pItem.pinyin)"
|
|
|
>{{ pItem.pinyin }}</span
|
|
>{{ pItem.pinyin }}</span
|
|
|
>
|
|
>
|
|
@@ -1118,6 +1186,7 @@ export default {
|
|
|
|
|
|
|
|
.NNPE-words {
|
|
.NNPE-words {
|
|
|
float: left;
|
|
float: left;
|
|
|
|
|
+ padding-bottom: 5px;
|
|
|
|
|
|
|
|
&-box {
|
|
&-box {
|
|
|
float: left;
|
|
float: left;
|
|
@@ -1130,7 +1199,7 @@ export default {
|
|
|
font-family: 'League';
|
|
font-family: 'League';
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
|
- line-height: 22px;
|
|
|
|
|
|
|
+ line-height: 1.5;
|
|
|
color: #000;
|
|
color: #000;
|
|
|
|
|
|
|
|
&.noFont {
|
|
&.noFont {
|
|
@@ -1145,7 +1214,7 @@ export default {
|
|
|
&.NNPE-chs {
|
|
&.NNPE-chs {
|
|
|
font-family: '楷体';
|
|
font-family: '楷体';
|
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
|
- line-height: 28px;
|
|
|
|
|
|
|
+ line-height: 1.4;
|
|
|
color: #000;
|
|
color: #000;
|
|
|
|
|
|
|
|
&.active {
|
|
&.active {
|
|
@@ -1187,7 +1256,7 @@ export default {
|
|
|
font-family: 'League';
|
|
font-family: 'League';
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
|
- line-height: 22px;
|
|
|
|
|
|
|
+ line-height: 1.5;
|
|
|
color: #000;
|
|
color: #000;
|
|
|
|
|
|
|
|
&.noFont {
|
|
&.noFont {
|
|
@@ -1202,7 +1271,7 @@ export default {
|
|
|
&.NNPE-chs {
|
|
&.NNPE-chs {
|
|
|
font-family: '楷体';
|
|
font-family: '楷体';
|
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
|
- line-height: 28px;
|
|
|
|
|
|
|
+ line-height: 1.4;
|
|
|
color: #000;
|
|
color: #000;
|
|
|
|
|
|
|
|
&.active {
|
|
&.active {
|