|
@@ -112,6 +112,7 @@
|
|
|
:answer-record-list="data.audio_answer_list"
|
|
:answer-record-list="data.audio_answer_list"
|
|
|
:task-model="isJudgingRightWrong ? 'ANSWER' : ''"
|
|
:task-model="isJudgingRightWrong ? 'ANSWER' : ''"
|
|
|
@handleWav="handleMiniWav($event, item)"
|
|
@handleWav="handleMiniWav($event, item)"
|
|
|
|
|
+ :attrib="data.unified_attrib"
|
|
|
/>
|
|
/>
|
|
|
</template>
|
|
</template>
|
|
|
<span v-if="data.property.pinyin_position === 'bottom'" class="pinyin"> </span>
|
|
<span v-if="data.property.pinyin_position === 'bottom'" class="pinyin"> </span>
|
|
@@ -131,7 +132,16 @@
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else>
|
|
<template v-else>
|
|
|
<p v-for="(item, index) in col.model_essay" :key="index" :style="[tdStyle]">
|
|
<p v-for="(item, index) in col.model_essay" :key="index" :style="[tdStyle]">
|
|
|
- <span v-if="item.type === 'text'" :key="index" v-html="sanitizeHTML(item.value)"></span>
|
|
|
|
|
|
|
+ <span
|
|
|
|
|
+ v-if="item.type === 'text'"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ v-html="sanitizeHTML(item.value)"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ fontSize:
|
|
|
|
|
+ data.unified_attrib && data.unified_attrib.font_size ? data.unified_attrib.font_size : '',
|
|
|
|
|
+ fontFamily: data.unified_attrib && data.unified_attrib.font ? data.unified_attrib.font : '',
|
|
|
|
|
+ }"
|
|
|
|
|
+ ></span>
|
|
|
<template v-if="item.type === 'input'">
|
|
<template v-if="item.type === 'input'">
|
|
|
<template v-if="data.property.fill_type === fillTypeList[0].value">
|
|
<template v-if="data.property.fill_type === fillTypeList[0].value">
|
|
|
<el-input
|
|
<el-input
|
|
@@ -186,6 +196,7 @@
|
|
|
:answer-record-list="data.audio_answer_list"
|
|
:answer-record-list="data.audio_answer_list"
|
|
|
:task-model="isJudgingRightWrong ? 'ANSWER' : ''"
|
|
:task-model="isJudgingRightWrong ? 'ANSWER' : ''"
|
|
|
@handleWav="handleMiniWav($event, item)"
|
|
@handleWav="handleMiniWav($event, item)"
|
|
|
|
|
+ :attrib="data.unified_attrib"
|
|
|
/>
|
|
/>
|
|
|
</template>
|
|
</template>
|
|
|
<span
|
|
<span
|