瀏覽代碼

拼音间隙

natasha 1 年之前
父節點
當前提交
e21d8ddd86
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/Textanalysis/index.vue

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

@@ -316,7 +316,7 @@
                     </span>
                     </span>
                   </template>
                   </template>
                   <template v-else>
                   <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">
                       <template v-if="word.isShow">
                         <span
                         <span
                           v-if="pinyinShow"
                           v-if="pinyinShow"