|
@@ -87,7 +87,7 @@
|
|
|
<span class="NNPE-words-box">
|
|
|
<template v-if="curQue.pyPosition == 'top'">
|
|
|
<span
|
|
|
- v-if="config.isShowPY && resObj.dhaspinyinArr[index]"
|
|
|
+ v-if="config.isShowPY"
|
|
|
class="NNPE-pinyin"
|
|
|
:class="[
|
|
|
pItem.className ? pItem.className : '',
|
|
@@ -100,7 +100,7 @@
|
|
|
<span
|
|
|
class="NNPE-chs"
|
|
|
:class="[
|
|
|
- pItem.padding && config.isShowPY && resObj.dhaspinyinArr[index] ? 'padding' : '',
|
|
|
+ pItem.padding && config.isShowPY ? 'padding' : '',
|
|
|
sentIndex == index ? 'wordBlank' : '',
|
|
|
]"
|
|
|
>
|
|
@@ -122,7 +122,7 @@
|
|
|
</span>
|
|
|
<template v-if="curQue.pyPosition == 'bottom'">
|
|
|
<span
|
|
|
- v-if="config.isShowPY && resObj.dhaspinyinArr[index]"
|
|
|
+ v-if="config.isShowPY"
|
|
|
class="NNPE-pinyin"
|
|
|
:class="[
|
|
|
pItem.className ? pItem.className : '',
|
|
@@ -136,7 +136,7 @@
|
|
|
<span class="NNPE-words-box">
|
|
|
<template v-if="curQue.pyPosition == 'top'">
|
|
|
<span
|
|
|
- v-if="config.isShowPY && resObj.dhaspinyinArr[index]"
|
|
|
+ v-if="config.isShowPY"
|
|
|
:class="[
|
|
|
'NNPE-pinyin',
|
|
|
sentIndex == index ? 'wordBlank' : '',
|
|
@@ -165,7 +165,7 @@
|
|
|
</span>
|
|
|
<template v-if="curQue.pyPosition == 'bottom'">
|
|
|
<span
|
|
|
- v-if="config.isShowPY && resObj.dhaspinyinArr[index]"
|
|
|
+ v-if="config.isShowPY"
|
|
|
:class="[
|
|
|
'NNPE-pinyin',
|
|
|
sentIndex == index ? 'wordBlank' : '',
|
|
@@ -188,7 +188,7 @@
|
|
|
>
|
|
|
<template v-if="curQue.pyPosition == 'top'">
|
|
|
<span
|
|
|
- v-if="config.isShowPY && resObj.dhaspinyinArr[index]"
|
|
|
+ v-if="config.isShowPY"
|
|
|
:class="[
|
|
|
'NNPE-pinyin',
|
|
|
sentIndex == index ? 'wordBlank' : '',
|
|
@@ -217,7 +217,7 @@
|
|
|
</span>
|
|
|
<template v-if="curQue.pyPosition == 'bottom'">
|
|
|
<span
|
|
|
- v-if="config.isShowPY && resObj.dhaspinyinArr[index]"
|
|
|
+ v-if="config.isShowPY"
|
|
|
:class="[
|
|
|
'NNPE-pinyin',
|
|
|
sentIndex == index ? 'wordBlank' : '',
|
|
@@ -234,7 +234,7 @@
|
|
|
<template v-else>
|
|
|
<template v-if="curQue.pyPosition == 'top'">
|
|
|
<span
|
|
|
- v-if="config.isShowPY && resObj.dhaspinyinArr[index]"
|
|
|
+ v-if="config.isShowPY"
|
|
|
class="NNPE-pinyin"
|
|
|
:class="[
|
|
|
pItem.chs != '“' && pItem.padding ? 'padding' : '',
|
|
@@ -248,7 +248,7 @@
|
|
|
<span
|
|
|
class="NNPE-chs"
|
|
|
:class="[
|
|
|
- pItem.chs != '“' && pItem.padding && config.isShowPY && resObj.dhaspinyinArr[index]
|
|
|
+ pItem.chs != '“' && pItem.padding && config.isShowPY
|
|
|
? 'padding'
|
|
|
: '',
|
|
|
sentIndex == index ? 'wordBlank' : '',
|
|
@@ -274,7 +274,7 @@
|
|
|
</span>
|
|
|
<template v-if="curQue.pyPosition == 'bottom'">
|
|
|
<span
|
|
|
- v-if="config.isShowPY && resObj.dhaspinyinArr[index]"
|
|
|
+ v-if="config.isShowPY"
|
|
|
class="NNPE-pinyin"
|
|
|
:class="[
|
|
|
pItem.chs != '“' && pItem.padding ? 'padding' : '',
|
|
@@ -597,7 +597,6 @@ export default {
|
|
|
});
|
|
|
resArr.push(sentArr);
|
|
|
});
|
|
|
-
|
|
|
timeArr.push(dItem.timeList);
|
|
|
dhaspinyinArr.push(dhaspinyin)
|
|
|
});
|