소스 검색

拼音间隙

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>
                   </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"