|
@@ -111,15 +111,14 @@
|
|
<span
|
|
<span
|
|
class="NPC-word-tab-common"
|
|
class="NPC-word-tab-common"
|
|
:style="{ width: data.col_width[0].value + 'px' }"
|
|
:style="{ width: data.col_width[0].value + 'px' }"
|
|
- v-if="showLang"
|
|
|
|
- >
|
|
|
|
- {{
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ showLang &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index][0]
|
|
multilingualTextList[getLang()][index][0]
|
|
- ? multilingualTextList[getLang()][index][0]
|
|
|
|
- : ''
|
|
|
|
- }}
|
|
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ {{ multilingualTextList[getLang()][index][0] }}
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<span :style="{ width: data.col_width[2].value + 'px' }">
|
|
<span :style="{ width: data.col_width[2].value + 'px' }">
|
|
@@ -128,26 +127,30 @@
|
|
:class="[/[\u4E00-\u9FA5\uF900-\uFA2D]/.test(sItem.cixing) ? 'hasCn' : '']"
|
|
:class="[/[\u4E00-\u9FA5\uF900-\uFA2D]/.test(sItem.cixing) ? 'hasCn' : '']"
|
|
v-html="sItem.cixing"
|
|
v-html="sItem.cixing"
|
|
></p>
|
|
></p>
|
|
- <span class="NPC-word-tab-common" v-if="showLang">
|
|
|
|
- {{
|
|
|
|
|
|
+ <span
|
|
|
|
+ class="NPC-word-tab-common"
|
|
|
|
+ v-if="
|
|
|
|
+ showLang &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index][1]
|
|
multilingualTextList[getLang()][index][1]
|
|
- ? multilingualTextList[getLang()][index][1]
|
|
|
|
- : ''
|
|
|
|
- }}
|
|
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ {{ multilingualTextList[getLang()][index][1] }}
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
<span :style="{ width: data.col_width[3].value + 'px' }">
|
|
<span :style="{ width: data.col_width[3].value + 'px' }">
|
|
<p class="NPC-word-tab-common NPC-word-tab-def" v-html="sItem.def_str"></p>
|
|
<p class="NPC-word-tab-common NPC-word-tab-def" v-html="sItem.def_str"></p>
|
|
- <span class="NPC-word-tab-common" v-if="showLang">
|
|
|
|
- {{
|
|
|
|
|
|
+ <span
|
|
|
|
+ class="NPC-word-tab-common"
|
|
|
|
+ v-if="
|
|
|
|
+ showLang &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index][2]
|
|
multilingualTextList[getLang()][index][2]
|
|
- ? multilingualTextList[getLang()][index][2]
|
|
|
|
- : ''
|
|
|
|
- }}
|
|
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ {{ multilingualTextList[getLang()][index][2] }}
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
@@ -164,15 +167,14 @@
|
|
<span
|
|
<span
|
|
class="NPC-word-tab-common"
|
|
class="NPC-word-tab-common"
|
|
:style="{ width: data.col_width[0].value + 'px' }"
|
|
:style="{ width: data.col_width[0].value + 'px' }"
|
|
- v-if="showLang"
|
|
|
|
- >
|
|
|
|
- {{
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ showLang &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index][0]
|
|
multilingualTextList[getLang()][index][0]
|
|
- ? multilingualTextList[getLang()][index][0]
|
|
|
|
- : ''
|
|
|
|
- }}
|
|
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ {{ multilingualTextList[getLang()][index][0] }}
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
<span
|
|
<span
|
|
@@ -189,26 +191,30 @@
|
|
v-html="sItem.cixing"
|
|
v-html="sItem.cixing"
|
|
></p>
|
|
></p>
|
|
|
|
|
|
- <span class="NPC-word-tab-common" v-if="showLang">
|
|
|
|
- {{
|
|
|
|
|
|
+ <span
|
|
|
|
+ class="NPC-word-tab-common"
|
|
|
|
+ v-if="
|
|
|
|
+ showLang &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index][1]
|
|
multilingualTextList[getLang()][index][1]
|
|
- ? multilingualTextList[getLang()][index][1]
|
|
|
|
- : ''
|
|
|
|
- }}
|
|
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ {{ multilingualTextList[getLang()][index][1] }}
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
<span :style="{ width: data.col_width[3].value + 'px' }">
|
|
<span :style="{ width: data.col_width[3].value + 'px' }">
|
|
<p class="NPC-word-tab-common NPC-word-tab-def" v-html="sItem.def_str"></p>
|
|
<p class="NPC-word-tab-common NPC-word-tab-def" v-html="sItem.def_str"></p>
|
|
- <span class="NPC-word-tab-common" v-if="showLang">
|
|
|
|
- {{
|
|
|
|
|
|
+ <span
|
|
|
|
+ class="NPC-word-tab-common"
|
|
|
|
+ v-if="
|
|
|
|
+ showLang &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index] &&
|
|
multilingualTextList[getLang()][index][2]
|
|
multilingualTextList[getLang()][index][2]
|
|
- ? multilingualTextList[getLang()][index][2]
|
|
|
|
- : ''
|
|
|
|
- }}
|
|
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ {{ multilingualTextList[getLang()][index][2] }}
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|