Browse Source

拼音间隙

natasha 1 năm trước cách đây
mục cha
commit
e21d8ddd86
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/Textanalysis/index.vue

+ 1 - 1
src/views/Textanalysis/index.vue

@@ -316,7 +316,7 @@
                     </span>
                   </template>
                   <template v-else>
-                    <span v-for="(word, indexsss) in itemss.text" :key="indexsss + 'word'" class="word">
+                    <span v-for="(word, indexsss) in itemss.text" :key="indexsss + 'word'" class="word" :style="{padding: `0 ${wordsMargin<3?'1':wordsMargin>5?'2':wordsMargin-2}px`}">
                       <template v-if="word.isShow">
                         <span
                           v-if="pinyinShow"