natasha 3 years ago
parent
commit
0439582208

+ 1 - 0
src/components/Adult/preview/ArticleViewChs/index.vue

@@ -267,6 +267,7 @@ export default {
     border-radius: 8px;
     background: #fff;
     box-sizing: border-box;
+    overflow: hidden;
     .aduioLine-box {
       border-bottom: 1px solid rgba(0, 0, 0, 0.1);
       width: 100%;

+ 1 - 0
src/components/Adult/preview/DialogueArticleViewChs/index.vue

@@ -302,6 +302,7 @@ export default {
     border-radius: 8px;
     background: #fff;
     box-sizing: border-box;
+    overflow: hidden;
     .aduioLine-box {
       border-bottom: 1px solid rgba(0, 0, 0, 0.1);
       width: 100%;

+ 5 - 2
src/components/Adult/preview/InputHasRecord.vue

@@ -145,7 +145,7 @@
               <el-input
                 :class="['textarea', items.record ? '' : 'textareaNoRecord']"
                 type="textarea"
-                v-model="items.answer"
+                v-model="answerArr[indexs]"
                 placeholder="输入"
               ></el-input>
               <div v-if="items.record" class="luyin-inner">
@@ -268,7 +268,7 @@
           <el-input
             :class="['textarea', items.record ? '' : 'textareaNoRecord']"
             type="textarea"
-            v-model="items.answer"
+            v-model="answerArr[indexs]"
             placeholder="输入"
           ></el-input>
           <div v-if="items.record" class="luyin-inner">
@@ -295,6 +295,7 @@ export default {
       textareaCon: "", // 输入框
       chsFhList: [",", "。", "“", ":", "》", "《", "?", "!", ";"],
       noFont: ["~", "!", "@", "#", "$", "%", "^", "&", "*", "(", ")"], // 对应不要拼音字体
+      answerArr:[]
     };
   },
   computed: {},
@@ -305,8 +306,10 @@ export default {
     // 处理数据
     handleData() {
       let _this = this;
+      this.answerArr = []
       let curQue = JSON.parse(JSON.stringify(this.curQue));
       curQue.option.forEach((dItem, dIndex) => {
+        this.answerArr.push('')
         let paraArr = [];
         dItem.detail.wordsList.forEach((sItem, sIndex) => {
           this.mergeWordSymbol(dItem.detail.wordsList, sItem, sIndex);