Browse Source

Merge branch 'NPC-lhd'

natasha 3 năm trước cách đây
mục cha
commit
0f254a24bc
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      src/components/Adult/preview/WordPhrase.vue

+ 4 - 1
src/components/Adult/preview/WordPhrase.vue

@@ -79,12 +79,15 @@
                 style="width: 16px; height: 16px; margin-left: 8px"
               ></div>
 
-              <span class="NPC-word-tab-common NPC-word-tab-pinyin">
+              <span class="NPC-word-tab-common NPC-word-tab-pinyin" v-if="item.pyPosition=='first'">
                 {{ sItem.pinyin }}
               </span>
               <span class="NPC-word-tab-common NPC-word-tab-word">
                 {{ sItem.new_word }}
               </span>
+              <span class="NPC-word-tab-common NPC-word-tab-pinyin" v-if="item.pyPosition=='last'">
+                {{ sItem.pinyin }}
+              </span>
               <span
                 class="NPC-word-tab-common NPC-word-tab-cixing"
                 v-html="sItem.cixing"