|
@@ -13,7 +13,7 @@
|
|
|
<ul
|
|
|
:ref="'ui' + i"
|
|
|
class="replace-ul"
|
|
|
- :style="{ overflow: isJudgingRightWrong ? 'hidden' : 'scroll' }"
|
|
|
+ :style="{ overflow: disabled ? 'hidden' : 'scroll' }"
|
|
|
@scroll="handleScroll($event, i)"
|
|
|
>
|
|
|
<li
|
|
@@ -28,11 +28,7 @@
|
|
|
</template>
|
|
|
<span v-else class="select-item replace-ul">{{ item[0].content }}</span>
|
|
|
</div>
|
|
|
- <SoundRecordPreview
|
|
|
- :wav-blob.sync="answer.answer_list[0].audio_file_id"
|
|
|
- :disabled="isJudgingRightWrong"
|
|
|
- position="center"
|
|
|
- />
|
|
|
+ <SoundRecordPreview :wav-blob.sync="answer.answer_list[0].audio_file_id" :disabled="disabled" position="center" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -128,7 +124,7 @@ export default {
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
handleClickItem(i, indexs) {
|
|
|
- if (this.isJudgingRightWrong) return;
|
|
|
+ if (this.disabled) return;
|
|
|
this.$refs[`ui${i}`][0].scrollTop = indexs * 48;
|
|
|
this.active_content[i] = this.option_list[i][indexs].content;
|
|
|
this.answer.answer_list[0].mark_list[i] = this.option_list[i][indexs].mark;
|