natasha hai 1 ano
pai
achega
49df25bdc9

+ 1 - 0
src/components/Adult/inputModules/ConfigurableTable/components/CellEdit.vue

@@ -268,6 +268,7 @@ export default {
                 fontColor: "#000",
                 fontFamily: "FZJCGFKTK",
                 wordPadding: [],
+                conAlign: 'center'
               },
             },
           ],

+ 5 - 5
src/components/Adult/preview/DialogueArticleViewChs/AnswerModel.vue

@@ -88,7 +88,7 @@
                           chsFhList.indexOf(item.wordsList[pIndex + 1].chs) > -1
                         "
                       >
-                        <span class="NNPE-words-box" :style="boxStyle(pItem.config)">
+                        <span class="NNPE-words-box" :style="boxStyle(pItem.config,item.isHasPY)">
                           <span
                             v-if="item.isHasPY > 0 && pyPosition == 'top'"
                             class="NNPE-pinyin"
@@ -209,7 +209,7 @@
                         <span
                           class="NNPE-words-box"
                           v-if="item.wordsList[pIndex + 1]"
-                          :style="boxStyle(item.wordsList[pIndex + 1].config)"
+                          :style="boxStyle(item.wordsList[pIndex + 1].config,item.isHasPY)"
                         >
                           <span
                             v-if="item.isHasPY > 0 && pyPosition == 'top'"
@@ -274,7 +274,7 @@
                             chsFhList.indexOf(item.wordsList[pIndex + 2].chs) >
                               -1
                           "
-                          :style="boxStyle(item.wordsList[pIndex + 2].config)"
+                          :style="boxStyle(item.wordsList[pIndex + 2].config,item.isHasPY)"
                         >
                           <span
                             v-if="
@@ -832,10 +832,10 @@ export default {
       };
     },
     boxStyle(){
-        return function (config) {
+        return function (config,isHasPY) {
         let sizeVal = config && config.fontSize ? config.fontSize.replace("px", "") : 20;
         return {
-          minHeight: Number(sizeVal) + 9 + 22 + "px",
+          minHeight: (Number(sizeVal) + 9) + (isHasPY?22:0) + "px",
         };
       };
     }

+ 0 - 1
src/components/Adult/preview/SentenceModule.vue

@@ -1245,7 +1245,6 @@ export default {
                 itemI &&
                 itemI !=
                   this.curQue.Bookanswer[index][indexs].completeInput[indexI]
-                    .answer
               ) {
                 flag = true;
               }