|
@@ -34,7 +34,7 @@
|
|
|
<div class="exam-question-describe">
|
|
|
{{
|
|
|
examQuestionList[answerIndex].questionContent ||
|
|
|
- examQuestionList[answerIndex].content
|
|
|
+ examQuestionList[answerIndex].content
|
|
|
}}
|
|
|
</div>
|
|
|
<!-- 答题列表 -->
|
|
@@ -42,8 +42,9 @@
|
|
|
<div
|
|
|
v-if="
|
|
|
examQuestionList[answerIndex].type === questionType.TrueOrFalse ||
|
|
|
- examQuestionList[answerIndex].type === questionType.singleChoice ||
|
|
|
- examQuestionList[answerIndex].type === questionType.multipleChoice
|
|
|
+ examQuestionList[answerIndex].type ===
|
|
|
+ questionType.singleChoice ||
|
|
|
+ examQuestionList[answerIndex].type === questionType.multipleChoice
|
|
|
"
|
|
|
class="exam-question-options"
|
|
|
>
|
|
@@ -54,7 +55,7 @@
|
|
|
'exam-question-options-item': true,
|
|
|
'exam-question-options-item-checked': answerValue.includes(item),
|
|
|
'exam-question-options-false':
|
|
|
- answerValue.includes(item) && answerStatus[answerIndex] === 2,
|
|
|
+ answerValue.includes(item) && answerStatus[answerIndex] === 2
|
|
|
}"
|
|
|
@click="handleExamQuestionOptionsItemFun(item)"
|
|
|
>
|
|
@@ -65,7 +66,9 @@
|
|
|
<div
|
|
|
v-if="examQuestionList[answerIndex].type === questionType.gapFilling"
|
|
|
class="exam-question-gapFilling"
|
|
|
- :class="{ 'exam-question-gapFilling-false': answerStatus[answerIndex] === 2 }"
|
|
|
+ :class="{
|
|
|
+ 'exam-question-gapFilling-false': answerStatus[answerIndex] === 2
|
|
|
+ }"
|
|
|
>
|
|
|
<textarea
|
|
|
v-for="(item, index) in examQuestionList[answerIndex]
|
|
@@ -79,10 +82,8 @@
|
|
|
@change="handleExamQuestionOptionsItemFun(inputValue, index)"
|
|
|
/>
|
|
|
</div>
|
|
|
- <div
|
|
|
- v-if="answerRecruitId === 'daily-questions'"
|
|
|
- class="exam-question-button-box"
|
|
|
- >
|
|
|
+ <!-- v-if="answerRecruitId === 'daily-questions'" -->
|
|
|
+ <div class="exam-question-button-box">
|
|
|
<div class="exam-question-single-button-box">
|
|
|
<van-button
|
|
|
v-if="this.answerIndex !== 0"
|
|
@@ -118,7 +119,7 @@
|
|
|
>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-else class="exam-question-button-box">
|
|
|
+ <!-- <div v-else class="exam-question-button-box">
|
|
|
<div class="exam-question-single-button-box"></div>
|
|
|
<div class="exam-question-single-button-box">
|
|
|
<van-button
|
|
@@ -145,7 +146,7 @@
|
|
|
}}</van-button
|
|
|
>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
<div v-else class="exam-question-card">
|
|
|
<div v-if="isInited" class="exam-question-card-nodata">暂无数据</div>
|
|
@@ -422,7 +423,7 @@ export default {
|
|
|
},
|
|
|
// 操作:确定
|
|
|
handleSureFun() {
|
|
|
- if (!this.examQuestionList.length) {
|
|
|
+ if (!(this.examQuestionList.length > 0)) {
|
|
|
return;
|
|
|
}
|
|
|
this.examQuestionList[this.answerIndex].userAnswer = this.answerValue;
|