|
|
@@ -299,7 +299,7 @@
|
|
|
:class="[index === 0 ? 'pinyin-text-left' : '']"
|
|
|
>
|
|
|
<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
|
|
|
:key="index"
|
|
|
v-model="item.value"
|
|
|
@@ -354,7 +354,7 @@
|
|
|
:attrib="data.unified_attrib"
|
|
|
@handleWav="handleMiniWav($event, item)"
|
|
|
/>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<span v-if="data.property.pinyin_position === 'bottom'" class="pinyin"> </span>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
@@ -369,9 +369,9 @@
|
|
|
}}</span>
|
|
|
</template>
|
|
|
<span
|
|
|
- v-show="computedAnswerText(item, i, j).length > 0"
|
|
|
:key="`answer-${j}`"
|
|
|
class="right-answer"
|
|
|
+ v-show="computedAnswerText(item, i, j).length > 0"
|
|
|
>
|
|
|
{{ convertText(computedAnswerText(item, i, j)) }}
|
|
|
</span>
|
|
|
@@ -390,7 +390,7 @@
|
|
|
v-html="convertText(sanitizeHTML(item.value))"
|
|
|
></span>
|
|
|
<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
|
|
|
:key="index"
|
|
|
v-model="item.value"
|
|
|
@@ -445,12 +445,12 @@
|
|
|
:attrib="data.unified_attrib"
|
|
|
@handleWav="handleMiniWav($event, item)"
|
|
|
/>
|
|
|
- </template>
|
|
|
- {{ computedAnswerText(item, i, j) }}
|
|
|
+ </template> -->
|
|
|
+
|
|
|
<span
|
|
|
- v-show="computedAnswerText(item, i, j).length > 0"
|
|
|
:key="`answer-${j}`"
|
|
|
class="right-answer"
|
|
|
+ v-show="computedAnswerText(item, i, j).length > 0"
|
|
|
>
|
|
|
{{ convertText(computedAnswerText(item, i, j)) }}
|
|
|
</span>
|
|
|
@@ -598,7 +598,7 @@ export default {
|
|
|
let answerValue = answerOptionList[item.inputIndex] ? answerOptionList[item.inputIndex].split('/') : '';
|
|
|
let isRight = answerValue && answerValue.includes(selectValue);
|
|
|
if (isRight || !answerValue) return '';
|
|
|
- return `(${answerValue.join('/')})`;
|
|
|
+ return `${answerValue.join('/')}`;
|
|
|
},
|
|
|
/**
|
|
|
* 计算答题对错选项字体颜色
|
|
|
@@ -790,16 +790,6 @@ $border-color: #e6e6e6;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- & + .right-answer {
|
|
|
- position: relative;
|
|
|
- left: -4px;
|
|
|
- display: inline-block;
|
|
|
- height: 32px;
|
|
|
- line-height: 28px;
|
|
|
- vertical-align: bottom;
|
|
|
- border-bottom: 1px solid $font-color;
|
|
|
- }
|
|
|
-
|
|
|
:deep input.el-input__inner {
|
|
|
padding: 0;
|
|
|
|
|
|
@@ -820,6 +810,16 @@ $border-color: #e6e6e6;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .right-answer {
|
|
|
+ position: relative;
|
|
|
+ left: -4px;
|
|
|
+ display: inline-block;
|
|
|
+ height: 24px;
|
|
|
+ line-height: 24px;
|
|
|
+ vertical-align: bottom;
|
|
|
+ border-bottom: 1px solid $font-color;
|
|
|
+ }
|
|
|
+
|
|
|
.multilingual {
|
|
|
display: block;
|
|
|
word-break: break-word;
|