|
@@ -169,8 +169,14 @@
|
|
|
}"
|
|
}"
|
|
|
@click.stop="viewNotes($event, pItem.chs[wIndex], pItem.chs, pItem)"
|
|
@click.stop="viewNotes($event, pItem.chs[wIndex], pItem.chs, pItem)"
|
|
|
>{{ pItem.chs[wIndex] }}</span
|
|
>{{ pItem.chs[wIndex] }}</span
|
|
|
- ></span
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ ><img
|
|
|
|
|
+ v-if="pItem.img && pItem.img.length > 0 && pItem.imgPosition === 'after'"
|
|
|
|
|
+ :src="pItem.img[0].file_url"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ width: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ height: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ }"
|
|
|
|
|
+ /></span>
|
|
|
<span
|
|
<span
|
|
|
v-if="curQue.property.pinyin_position == 'bottom' && config.isShowPY && item.dhaspinyin"
|
|
v-if="curQue.property.pinyin_position == 'bottom' && config.isShowPY && item.dhaspinyin"
|
|
|
:class="[
|
|
:class="[
|
|
@@ -238,8 +244,19 @@
|
|
|
item.wordsList[pIndex + 1],
|
|
item.wordsList[pIndex + 1],
|
|
|
)
|
|
)
|
|
|
"
|
|
"
|
|
|
- >{{ item.wordsList[pIndex + 1].chs }}</span
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ >{{ item.wordsList[pIndex + 1].chs }}
|
|
|
|
|
+ <img
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ item.wordsList[pIndex + 1].img &&
|
|
|
|
|
+ item.wordsList[pIndex + 1].img.length > 0 &&
|
|
|
|
|
+ item.wordsList[pIndex + 1].imgPosition === 'after'
|
|
|
|
|
+ "
|
|
|
|
|
+ :src="item.wordsList[pIndex + 1].img[0].file_url"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ width: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ height: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ }"
|
|
|
|
|
+ /></span>
|
|
|
<span
|
|
<span
|
|
|
v-if="curQue.property.pinyin_position == 'bottom' && config.isShowPY && item.dhaspinyin"
|
|
v-if="curQue.property.pinyin_position == 'bottom' && config.isShowPY && item.dhaspinyin"
|
|
|
:class="[
|
|
:class="[
|
|
@@ -322,8 +339,19 @@
|
|
|
item.wordsList[pIndex + 2],
|
|
item.wordsList[pIndex + 2],
|
|
|
)
|
|
)
|
|
|
"
|
|
"
|
|
|
- >{{ item.wordsList[pIndex + 2].chs }}</span
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ >{{ item.wordsList[pIndex + 2].chs
|
|
|
|
|
+ }}<img
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ item.wordsList[pIndex + 2].img &&
|
|
|
|
|
+ item.wordsList[pIndex + 2].img.length > 0 &&
|
|
|
|
|
+ item.wordsList[pIndex + 2].imgPosition === 'after'
|
|
|
|
|
+ "
|
|
|
|
|
+ :src="item.wordsList[pIndex + 2].img[0].file_url"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ width: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ height: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ }"
|
|
|
|
|
+ /></span>
|
|
|
<span
|
|
<span
|
|
|
v-if="curQue.property.pinyin_position == 'bottom' && config.isShowPY && item.dhaspinyin"
|
|
v-if="curQue.property.pinyin_position == 'bottom' && config.isShowPY && item.dhaspinyin"
|
|
|
:class="[
|
|
:class="[
|
|
@@ -413,8 +441,16 @@
|
|
|
}"
|
|
}"
|
|
|
@click.stop="viewNotes($event, pItem.chs[wIndex], pItem.chs, pItem)"
|
|
@click.stop="viewNotes($event, pItem.chs[wIndex], pItem.chs, pItem)"
|
|
|
>{{ pItem.chs[wIndex] }}</span
|
|
>{{ pItem.chs[wIndex] }}</span
|
|
|
- ></span
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ >
|
|
|
|
|
+ <img
|
|
|
|
|
+ v-if="pItem.img && pItem.img.length > 0 && pItem.imgPosition === 'after'"
|
|
|
|
|
+ :src="pItem.img[0].file_url"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ width: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ height: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
|
|
+ }"
|
|
|
|
|
+ />
|
|
|
|
|
+ </span>
|
|
|
<span
|
|
<span
|
|
|
v-if="curQue.property.pinyin_position == 'bottom' && config.isShowPY && item.dhaspinyin"
|
|
v-if="curQue.property.pinyin_position == 'bottom' && config.isShowPY && item.dhaspinyin"
|
|
|
class="NNPE-pinyin"
|
|
class="NNPE-pinyin"
|