|
@@ -91,7 +91,8 @@
|
|
|
>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <Vedit
|
|
|
+ <EditDiv
|
|
|
+ class="answer-input"
|
|
|
v-model="Bookanswer.input[pItem.hengIndex - 1]"
|
|
|
:canEdit="TaskModel == 'ANSWER' ? false : true"
|
|
|
/>
|
|
@@ -191,24 +192,11 @@
|
|
|
>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <Vedit
|
|
|
+ <EditDiv
|
|
|
+ class="answer-input"
|
|
|
v-model="Bookanswer.input[pItem.hengIndex - 1]"
|
|
|
:canEdit="TaskModel == 'ANSWER' ? false : true"
|
|
|
/>
|
|
|
- <!-- <Mcontenteditable
|
|
|
- :child="{
|
|
|
- txt: Bookanswer.input[pItem.hengIndex - 1],
|
|
|
- isEdit: TaskModel == 'ANSWER' ? false : true,
|
|
|
- }"
|
|
|
- :hengIndex="pItem.hengIndex - 1"
|
|
|
- :listIndex="listIndex"
|
|
|
- @saveAnswer="saveBookanswer"
|
|
|
- /> -->
|
|
|
- <!-- <div
|
|
|
- class="answer-input"
|
|
|
- contenteditable="true"
|
|
|
- v-html="Bookanswer[pItem.hengIndex - 1]"
|
|
|
- ></div> -->
|
|
|
</template>
|
|
|
<span
|
|
|
v-if="pyPosition == 'bottom'"
|
|
@@ -324,24 +312,11 @@
|
|
|
}}</span>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <Vedit
|
|
|
+ <EditDiv
|
|
|
+ class="answer-input"
|
|
|
v-model="Bookanswer.input[pItem.hengIndex - 1]"
|
|
|
:canEdit="TaskModel == 'ANSWER' ? false : true"
|
|
|
/>
|
|
|
- <!-- <Mcontenteditable
|
|
|
- :child="{
|
|
|
- txt: Bookanswer.input[pItem.hengIndex - 1],
|
|
|
- isEdit: TaskModel == 'ANSWER' ? false : true,
|
|
|
- }"
|
|
|
- :hengIndex="pItem.hengIndex - 1"
|
|
|
- :listIndex="listIndex"
|
|
|
- @saveAnswer="saveBookanswer"
|
|
|
- /> -->
|
|
|
- <!-- <div
|
|
|
- class="answer-input"
|
|
|
- contenteditable="true"
|
|
|
- v-html="Bookanswer[pItem.hengIndex - 1]"
|
|
|
- ></div> -->
|
|
|
</template>
|
|
|
</div>
|
|
|
<div v-if="item.enwords" class="enwords">
|
|
@@ -408,8 +383,7 @@ import AudioLine from "../AudioLine.vue";
|
|
|
import RoleChs from "./RoleChs.vue";
|
|
|
import RemarkChs from "./RemarkChs.vue";
|
|
|
import Soundrecord from "../Soundrecord.vue";
|
|
|
-// import Mcontenteditable from "../components/Mcontenteditable.vue";
|
|
|
-import Vedit from "../components/Vedit.vue";
|
|
|
+import EditDiv from "../EditDiv.vue";
|
|
|
export default {
|
|
|
name: "DialogueNormalModelChs",
|
|
|
props: [
|
|
@@ -426,8 +400,7 @@ export default {
|
|
|
RoleChs,
|
|
|
RemarkChs,
|
|
|
Soundrecord,
|
|
|
- Vedit,
|
|
|
- // Mcontenteditable,
|
|
|
+ EditDiv,
|
|
|
},
|
|
|
filters: {
|
|
|
handlePinyin(wordsList) {
|