|
@@ -89,23 +89,23 @@
|
|
|
:key="conIndex + 'con'"
|
|
|
>
|
|
|
<template v-if="items.detail.pyPosition == 'top'">
|
|
|
- <!-- <div
|
|
|
+ <div
|
|
|
v-if="conent.pinyin == '__'"
|
|
|
contenteditable="true"
|
|
|
class="input pinyin"
|
|
|
v-html="answerList[indexs].pinyin"
|
|
|
@change="changeAnswerList($event, indexs, 'pinyin')"
|
|
|
- ></div> -->
|
|
|
+ ></div>
|
|
|
<!--
|
|
|
v-model="answerList[indexs].pinyin"
|
|
|
-->
|
|
|
- <p class="pinyin" v-if="conent.pinyin&&conent.pinyin.indexOf('__')==-1">
|
|
|
+ <p class="pinyin" :class="[conent.pinyin.indexOf('__')>-1?'pinyin-opacity':'']" v-if="conent.pinyin">
|
|
|
{{ conent.pinyin }}
|
|
|
</p>
|
|
|
</template>
|
|
|
<template v-if="conent.chs.indexOf('__')>-1">
|
|
|
- {{items.detail.resArr[conIndex].inputNumber}}
|
|
|
- <!-- <EditDiv class="input chs" v-model='curQue.Bookanswer[indexs].answerList[items.detail.resArr[conIndex].inputNumber].chs' :canEdit="TaskModel=='ANSWER'?false:true"></EditDiv> -->
|
|
|
+ <!-- {{items.detail.resArr[conIndex].inputNumber}} -->
|
|
|
+ <EditDiv class="input chs" v-model='curQue.Bookanswer[indexs].answerList[items.detail.resArr[conIndex].inputNumber].chs' :canEdit="TaskModel=='ANSWER'?false:true"></EditDiv>
|
|
|
<!-- <el-input
|
|
|
class="input chs"
|
|
|
type="textarea"
|
|
@@ -132,7 +132,7 @@
|
|
|
v-html="answerList[indexs].pinyin"
|
|
|
@change="changeAnswerList($event, indexs, 'pinyin')"
|
|
|
></div> -->
|
|
|
- <p class="pinyin" v-if="conent.pinyin.indexOf('__')==-1">
|
|
|
+ <p class="pinyin" :class="[conent.pinyin.indexOf('__')>-1?'pinyin-opacity':'']" v-if="conent.pinyin">
|
|
|
{{ conent.pinyin }}
|
|
|
</p>
|
|
|
</template>
|
|
@@ -175,6 +175,7 @@
|
|
|
:TaskModel="TaskModel"
|
|
|
type="normal"
|
|
|
v-if="items.IsRecord"
|
|
|
+ :style="{marginLeft:'8px'}"
|
|
|
/>
|
|
|
</template>
|
|
|
<template v-else>
|
|
@@ -186,6 +187,7 @@
|
|
|
type="mini"
|
|
|
class="luyin-box"
|
|
|
v-if="items.IsRecord"
|
|
|
+ :style="{marginLeft:'8px'}"
|
|
|
/>
|
|
|
</template>
|
|
|
</template>
|
|
@@ -286,6 +288,7 @@ export default {
|
|
|
});
|
|
|
this.$set(_this.curQue.option[dIndex].detail, "resArr", paraArr);
|
|
|
});
|
|
|
+ console.log(_this.curQue.option)
|
|
|
},
|
|
|
//词和标点合一起
|
|
|
mergeWordSymbol(sItem, wItem, curIndex) {
|
|
@@ -425,6 +428,9 @@ export default {
|
|
|
line-height: 130%;
|
|
|
color: rgba(0, 0, 0, 0.6);
|
|
|
margin-top: 8px;
|
|
|
+ &-opacity{
|
|
|
+ opacity: 0;
|
|
|
+ }
|
|
|
}
|
|
|
.chs {
|
|
|
font-family: "FZJCGFKTK";
|