|
@@ -43,7 +43,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="NPC-top-right">
|
|
<div class="NPC-top-right">
|
|
|
- <el-popover placement="right-start" width="60" trigger="hover">
|
|
|
|
|
|
|
+ <el-popover placement="right-start" width="60" trigger="click">
|
|
|
<ul class="show-obj-list">
|
|
<ul class="show-obj-list">
|
|
|
<li @click="handleShow('pinyin')">
|
|
<li @click="handleShow('pinyin')">
|
|
|
<span>拼音</span
|
|
<span>拼音</span
|
|
@@ -453,6 +453,12 @@
|
|
|
<p
|
|
<p
|
|
|
class="NPC-word-tab-common NPC-word-tab-cixing"
|
|
class="NPC-word-tab-common NPC-word-tab-cixing"
|
|
|
:class="[/[\u4E00-\u9FA5\uF900-\uFA2D]/.test(sItem.cixing) ? 'hasCn' : '']"
|
|
:class="[/[\u4E00-\u9FA5\uF900-\uFA2D]/.test(sItem.cixing) ? 'hasCn' : '']"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size
|
|
|
|
|
+ ? data.unified_attrib.font_size
|
|
|
|
|
+ : '',
|
|
|
|
|
+ }"
|
|
|
v-html="convertText(sanitizeHTML(sItem.cixing))"
|
|
v-html="convertText(sanitizeHTML(sItem.cixing))"
|
|
|
v-if="showObj.cixing"
|
|
v-if="showObj.cixing"
|
|
|
></p>
|
|
></p>
|
|
@@ -534,6 +540,12 @@
|
|
|
class="NPC-word-tab-common NPC-word-tab-cixing"
|
|
class="NPC-word-tab-common NPC-word-tab-cixing"
|
|
|
:class="[/[\u4E00-\u9FA5\uF900-\uFA2D]/.test(sItem.cixing) ? 'hasCn' : '']"
|
|
:class="[/[\u4E00-\u9FA5\uF900-\uFA2D]/.test(sItem.cixing) ? 'hasCn' : '']"
|
|
|
v-html="convertText(sanitizeHTML(sItem.cixing))"
|
|
v-html="convertText(sanitizeHTML(sItem.cixing))"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size
|
|
|
|
|
+ ? data.unified_attrib.font_size
|
|
|
|
|
+ : '',
|
|
|
|
|
+ }"
|
|
|
></p>
|
|
></p>
|
|
|
|
|
|
|
|
<span
|
|
<span
|
|
@@ -555,6 +567,12 @@
|
|
|
<p
|
|
<p
|
|
|
class="NPC-word-tab-common NPC-word-tab-def"
|
|
class="NPC-word-tab-common NPC-word-tab-def"
|
|
|
v-html="convertText(sanitizeHTML(sItem.def_str))"
|
|
v-html="convertText(sanitizeHTML(sItem.def_str))"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size
|
|
|
|
|
+ ? data.unified_attrib.font_size
|
|
|
|
|
+ : '',
|
|
|
|
|
+ }"
|
|
|
></p>
|
|
></p>
|
|
|
<span
|
|
<span
|
|
|
v-if="
|
|
v-if="
|
|
@@ -571,7 +589,15 @@
|
|
|
<div v-if="sItem.collocation && showObj.collocation">
|
|
<div v-if="sItem.collocation && showObj.collocation">
|
|
|
<span class="collocation"
|
|
<span class="collocation"
|
|
|
><span>{{ convertText('搭配:') }}</span
|
|
><span>{{ convertText('搭配:') }}</span
|
|
|
- ><b v-html="convertText(sanitizeHTML(sItem.collocation))"></b
|
|
|
|
|
|
|
+ ><b
|
|
|
|
|
+ v-html="convertText(sanitizeHTML(sItem.collocation))"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size
|
|
|
|
|
+ ? data.unified_attrib.font_size
|
|
|
|
|
+ : '',
|
|
|
|
|
+ }"
|
|
|
|
|
+ ></b
|
|
|
></span>
|
|
></span>
|
|
|
<span v-if="showLang" class="">
|
|
<span v-if="showLang" class="">
|
|
|
{{
|
|
{{
|
|
@@ -587,7 +613,15 @@
|
|
|
<span class="collocation"
|
|
<span class="collocation"
|
|
|
><span>{{ convertText('例句:') }}</span>
|
|
><span>{{ convertText('例句:') }}</span>
|
|
|
<div>
|
|
<div>
|
|
|
- <b v-html="convertText(sanitizeHTML(sItem.liju_list))"></b>
|
|
|
|
|
|
|
+ <b
|
|
|
|
|
+ v-html="convertText(sanitizeHTML(sItem.liju_list))"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size
|
|
|
|
|
+ ? data.unified_attrib.font_size
|
|
|
|
|
+ : '',
|
|
|
|
|
+ }"
|
|
|
|
|
+ ></b>
|
|
|
</div>
|
|
</div>
|
|
|
</span>
|
|
</span>
|
|
|
<span v-if="showLang" class="">
|
|
<span v-if="showLang" class="">
|
|
@@ -773,6 +807,12 @@
|
|
|
<p
|
|
<p
|
|
|
class="NPC-word-tab-common NPC-word-tab-cixing"
|
|
class="NPC-word-tab-common NPC-word-tab-cixing"
|
|
|
:class="[/[\u4E00-\u9FA5\uF900-\uFA2D]/.test(sItem.cixing) ? 'hasCn' : '']"
|
|
:class="[/[\u4E00-\u9FA5\uF900-\uFA2D]/.test(sItem.cixing) ? 'hasCn' : '']"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size
|
|
|
|
|
+ ? data.unified_attrib.font_size
|
|
|
|
|
+ : '',
|
|
|
|
|
+ }"
|
|
|
v-html="convertText(sanitizeHTML(sItem.cixing))"
|
|
v-html="convertText(sanitizeHTML(sItem.cixing))"
|
|
|
></p>
|
|
></p>
|
|
|
<span
|
|
<span
|
|
@@ -791,6 +831,12 @@
|
|
|
<p
|
|
<p
|
|
|
class="NPC-word-tab-common NPC-word-tab-def"
|
|
class="NPC-word-tab-common NPC-word-tab-def"
|
|
|
v-html="convertText(sanitizeHTML(sItem.def_str))"
|
|
v-html="convertText(sanitizeHTML(sItem.def_str))"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size
|
|
|
|
|
+ ? data.unified_attrib.font_size
|
|
|
|
|
+ : '',
|
|
|
|
|
+ }"
|
|
|
></p>
|
|
></p>
|
|
|
<span
|
|
<span
|
|
|
v-if="
|
|
v-if="
|
|
@@ -876,6 +922,12 @@
|
|
|
<p
|
|
<p
|
|
|
class="NPC-word-tab-common NPC-word-tab-cixing"
|
|
class="NPC-word-tab-common NPC-word-tab-cixing"
|
|
|
:class="[/[\u4E00-\u9FA5\uF900-\uFA2D]/.test(sItem.cixing) ? 'hasCn' : '']"
|
|
:class="[/[\u4E00-\u9FA5\uF900-\uFA2D]/.test(sItem.cixing) ? 'hasCn' : '']"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size
|
|
|
|
|
+ ? data.unified_attrib.font_size
|
|
|
|
|
+ : '',
|
|
|
|
|
+ }"
|
|
|
v-html="convertText(sanitizeHTML(sItem.cixing))"
|
|
v-html="convertText(sanitizeHTML(sItem.cixing))"
|
|
|
></p>
|
|
></p>
|
|
|
|
|
|
|
@@ -895,6 +947,12 @@
|
|
|
<p
|
|
<p
|
|
|
class="NPC-word-tab-common NPC-word-tab-def"
|
|
class="NPC-word-tab-common NPC-word-tab-def"
|
|
|
v-html="convertText(sanitizeHTML(sItem.def_str))"
|
|
v-html="convertText(sanitizeHTML(sItem.def_str))"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size
|
|
|
|
|
+ ? data.unified_attrib.font_size
|
|
|
|
|
+ : '',
|
|
|
|
|
+ }"
|
|
|
></p>
|
|
></p>
|
|
|
<span
|
|
<span
|
|
|
v-if="
|
|
v-if="
|
|
@@ -935,7 +993,15 @@
|
|
|
>
|
|
>
|
|
|
<span class="collocation"
|
|
<span class="collocation"
|
|
|
><span>{{ convertText('搭配:') }}</span
|
|
><span>{{ convertText('搭配:') }}</span
|
|
|
- ><b v-html="convertText(sanitizeHTML(sItem.collocation))"></b
|
|
|
|
|
|
|
+ ><b
|
|
|
|
|
+ v-html="convertText(sanitizeHTML(sItem.collocation))"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size
|
|
|
|
|
+ ? data.unified_attrib.font_size
|
|
|
|
|
+ : '',
|
|
|
|
|
+ }"
|
|
|
|
|
+ ></b
|
|
|
></span>
|
|
></span>
|
|
|
<span v-if="showLang" class="">
|
|
<span v-if="showLang" class="">
|
|
|
{{
|
|
{{
|
|
@@ -951,7 +1017,15 @@
|
|
|
<span class="collocation"
|
|
<span class="collocation"
|
|
|
><span>{{ convertText('例句:') }}</span>
|
|
><span>{{ convertText('例句:') }}</span>
|
|
|
<div>
|
|
<div>
|
|
|
- <b v-html="convertText(sanitizeHTML(sItem.liju_list))"></b>
|
|
|
|
|
|
|
+ <b
|
|
|
|
|
+ v-html="convertText(sanitizeHTML(sItem.liju_list))"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size
|
|
|
|
|
+ ? data.unified_attrib.font_size
|
|
|
|
|
+ : '',
|
|
|
|
|
+ }"
|
|
|
|
|
+ ></b>
|
|
|
</div>
|
|
</div>
|
|
|
</span>
|
|
</span>
|
|
|
<span v-if="showLang" class="">
|
|
<span v-if="showLang" class="">
|