|
@@ -203,7 +203,7 @@
|
|
|
<!-- 换行符 -->
|
|
<!-- 换行符 -->
|
|
|
<br v-else-if="item.type === 'newline'" :key="'newline-' + index" />
|
|
<br v-else-if="item.type === 'newline'" :key="'newline-' + index" />
|
|
|
|
|
|
|
|
- <!--
|
|
|
|
|
|
|
+ <!--
|
|
|
<template v-else>
|
|
<template v-else>
|
|
|
<span v-if="data.property.pinyin_position === 'top'" class="pinyin">
|
|
<span v-if="data.property.pinyin_position === 'top'" class="pinyin">
|
|
|
{{ item.pinyin.replace(/\s+/g, '') }}
|
|
{{ item.pinyin.replace(/\s+/g, '') }}
|
|
@@ -294,14 +294,14 @@
|
|
|
|
|
|
|
|
<i
|
|
<i
|
|
|
v-if="col.cell.isCross"
|
|
v-if="col.cell.isCross"
|
|
|
- @click="toggle(col)"
|
|
|
|
|
:class="[
|
|
:class="[
|
|
|
{ 'el-icon-check': col.crossAnswer === statusList[1] },
|
|
{ 'el-icon-check': col.crossAnswer === statusList[1] },
|
|
|
{ 'el-icon-close': col.crossAnswer === statusList[2] },
|
|
{ 'el-icon-close': col.crossAnswer === statusList[2] },
|
|
|
...computedAnswerCrossClass(col, i, j),
|
|
...computedAnswerCrossClass(col, i, j),
|
|
|
]"
|
|
]"
|
|
|
:style="{ display: 'block', width: '18px', height: '18px', border: '1px solid #000' }"
|
|
:style="{ display: 'block', width: '18px', height: '18px', border: '1px solid #000' }"
|
|
|
- />
|
|
|
|
|
|
|
+ @click="toggle(col)"
|
|
|
|
|
+ ></i>
|
|
|
</div>
|
|
</div>
|
|
|
<span v-if="showLang" class="multilingual" :style="[tdStyle, computedRichStyle(col.content)]">
|
|
<span v-if="showLang" class="multilingual" :style="[tdStyle, computedRichStyle(col.content)]">
|
|
|
{{
|
|
{{
|
|
@@ -318,10 +318,10 @@
|
|
|
</table>
|
|
</table>
|
|
|
</div>
|
|
</div>
|
|
|
<PreviewOperation
|
|
<PreviewOperation
|
|
|
|
|
+ v-if="isHasInput"
|
|
|
@showAnswerAnalysis="showAnswerAnalysis"
|
|
@showAnswerAnalysis="showAnswerAnalysis"
|
|
|
@judgeCorrect="judgeCorrect"
|
|
@judgeCorrect="judgeCorrect"
|
|
|
@retry="retry"
|
|
@retry="retry"
|
|
|
- v-if="isHasInput"
|
|
|
|
|
/>
|
|
/>
|
|
|
<AnswerCorrect
|
|
<AnswerCorrect
|
|
|
:answer-correct="data?.answer_correct"
|
|
:answer-correct="data?.answer_correct"
|
|
@@ -431,9 +431,9 @@
|
|
|
<template v-else-if="word.type === 'input'">
|
|
<template v-else-if="word.type === 'input'">
|
|
|
<span v-if="data.property.pinyin_position === 'top'" class="pinyin"> </span>
|
|
<span v-if="data.property.pinyin_position === 'top'" class="pinyin"> </span>
|
|
|
<span
|
|
<span
|
|
|
|
|
+ v-show="computedAnswerText(word, i, j).length > 0"
|
|
|
:key="`answer-${j}`"
|
|
:key="`answer-${j}`"
|
|
|
class="right-answer"
|
|
class="right-answer"
|
|
|
- v-show="computedAnswerText(word, i, j).length > 0"
|
|
|
|
|
>
|
|
>
|
|
|
{{ convertText(computedAnswerText(word, i, j)) }}
|
|
{{ convertText(computedAnswerText(word, i, j)) }}
|
|
|
</span>
|
|
</span>
|
|
@@ -567,9 +567,9 @@
|
|
|
</template> -->
|
|
</template> -->
|
|
|
|
|
|
|
|
<span
|
|
<span
|
|
|
|
|
+ v-show="computedAnswerText(item, i, j).length > 0"
|
|
|
:key="`answer-${j}`"
|
|
:key="`answer-${j}`"
|
|
|
class="right-answer"
|
|
class="right-answer"
|
|
|
- v-show="computedAnswerText(item, i, j).length > 0"
|
|
|
|
|
>
|
|
>
|
|
|
{{ convertText(computedAnswerText(item, i, j)) }}
|
|
{{ convertText(computedAnswerText(item, i, j)) }}
|
|
|
</span>
|
|
</span>
|
|
@@ -584,7 +584,7 @@
|
|
|
{ 'el-icon-close': data.answer_lists[i][j].crossAnswer === statusList[2] },
|
|
{ 'el-icon-close': data.answer_lists[i][j].crossAnswer === statusList[2] },
|
|
|
]"
|
|
]"
|
|
|
style="display: block; width: 18px; height: 18px; border: 1px solid #30a47d"
|
|
style="display: block; width: 18px; height: 18px; border: 1px solid #30a47d"
|
|
|
- />
|
|
|
|
|
|
|
+ ></i>
|
|
|
</div>
|
|
</div>
|
|
|
<span v-if="showLang" class="multilingual" :style="[tdStyle, computedRichStyle(col.content)]">
|
|
<span v-if="showLang" class="multilingual" :style="[tdStyle, computedRichStyle(col.content)]">
|
|
|
{{
|
|
{{
|
|
@@ -1254,6 +1254,8 @@ export default {
|
|
|
this.$refs.record.handleReset();
|
|
this.$refs.record.handleReset();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ this.isJudgingRightWrong = false;
|
|
|
|
|
+ this.isShowRightAnswer = false;
|
|
|
},
|
|
},
|
|
|
/**
|
|
/**
|
|
|
* 获取无文本内容的数据结构,用于保存为个人模板时的样式模板
|
|
* 获取无文本内容的数据结构,用于保存为个人模板时的样式模板
|