| @@ -59,7 +59,7 @@ | |||
| <view @click="clickcopy()" | |||
| style="width: 60rpx;font-size: 24rpx;text-align: center;margin-left: 24rpx;">复制 | |||
| </view> | |||
| <view @click="Oftenthewrongword()" | |||
| <view @click="Oftenthewrongword(item)" | |||
| style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">常错词 | |||
| </view> | |||
| <view @click="openwajue(item)" | |||
| @@ -155,7 +155,8 @@ | |||
| <view class="tian-view" style="margin-left: 20rpx;"> | |||
| <view class="tian-view-t2"> | |||
| 话术内容:<view class="word1"> | |||
| <u-input :auto-height="true" type="textarea" v-model="thewrongword" :border="false" placeholder="请输入" /> | |||
| <u-input v-if="wajueshow" :auto-height="true" type="textarea" v-model="thewrongword" :border="false" | |||
| :custom-style="customStyle" placeholder="请输入" /> | |||
| </view> | |||
| </view> | |||
| </view> | |||
| @@ -167,14 +168,16 @@ | |||
| <view class="tian-view"> | |||
| <view class="tian-view-t2" style="margin-left: 20rpx;"> | |||
| 常错词:<view class="word1"> | |||
| <u-input :auto-height="true" type="textarea" v-model="thewrongword" :border="false" placeholder="请输入" /> | |||
| <u-input v-if="isshow2" :auto-height="true" type="textarea" v-model="thewrongword" :border="false" | |||
| :custom-style="customStyle" placeholder="请输入" /> | |||
| </view> | |||
| </view> | |||
| </view> | |||
| <view class="tian-view"> | |||
| <view class="tian-view-t2" style="margin-left: 20rpx;"> | |||
| 正确词:<view class="word1"> | |||
| <u-input :auto-height="true" type="textarea" v-model="reswrongword" :border="false" placeholder="请输入" /> | |||
| <u-input v-if="isshow2" :auto-height="true" type="textarea" v-model="reswrongword" :border="false" | |||
| :custom-style="customStyle" placeholder="请输入" /> | |||
| </view> | |||
| </view> | |||
| </view> | |||
| @@ -1677,9 +1680,12 @@ | |||
| this.cancelBeast() | |||
| }, | |||
| //加入长错词 | |||
| Oftenthewrongword() { | |||
| Oftenthewrongword(item) { | |||
| this.reswrongword = ""; | |||
| this.isshow2 = true; | |||
| this.$nextTick(() => { | |||
| this.thewrongword = item.onebest.replace(/<.*?>/ig, ""); | |||
| }) | |||
| }, | |||
| //加入挖掘话术 | |||
| openwajue(item) { | |||
| @@ -1779,8 +1785,8 @@ | |||
| this.duihuawenjianid = this.luyinList[this.csdFileindex].id; | |||
| this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow; | |||
| this.textItself = item.onebest; | |||
| let onebest = item.onebest; | |||
| this.thewrongword = onebest.replace(/<.*?>/ig, ""); | |||
| // let onebest = item.onebest; | |||
| // this.thewrongword = onebest.replace(/<.*?>/ig, ""); | |||
| this.messagelisy = this.dialogList[i].message | |||
| this.argtextindex1 = i; | |||
| this.argtextindex2 = index; | |||
| @@ -2052,7 +2058,7 @@ | |||
| </script> | |||
| <style lang="scss" scoped> | |||
| <style lang="scss" > | |||
| .box { | |||
| width: 100%; | |||
| height: 100vh; | |||
| @@ -2808,12 +2814,8 @@ | |||
| } | |||
| .word1 { | |||
| height: 80rpx; | |||
| min-height: 80rpx; | |||
| flex: 1; | |||
| /deep/ textarea { | |||
| max-height: 80rpx !important; | |||
| } | |||
| } | |||
| } | |||
| } | |||
| @@ -2993,6 +2995,7 @@ | |||
| } | |||
| } | |||
| } | |||
| .jiantobox { | |||
| width: 30rpx; | |||
| @@ -3042,4 +3045,6 @@ | |||
| background: #2BC805 !important; | |||
| color: #FFFFFF; | |||
| } | |||
| </style> | |||