|
@@ -72,7 +72,10 @@
|
|
|
</template>
|
|
|
</main>
|
|
|
|
|
|
- <footer class="footer" :style="{ justifyContent: isAnnotations || isShow ? 'space-between' : 'center' }">
|
|
|
+ <footer
|
|
|
+ class="footer"
|
|
|
+ :style="{ justifyContent: isAnnotations || isShow || isShowScore ? 'space-between' : 'center' }"
|
|
|
+ >
|
|
|
<el-popover v-model="isPopover" placement="top-start" trigger="click">
|
|
|
<!-- 学生查看批注 -->
|
|
|
<div v-if="isEnable(remark.is_remarked) && !isTeacher" class="remark-container">
|
|
@@ -189,7 +192,7 @@
|
|
|
|
|
|
<div v-if="isShow && !isAnnotations" class="show-score_type">本题 {{ `${showScore} 分` }}</div>
|
|
|
|
|
|
- <div v-if="isAnnotations" class="score_type">
|
|
|
+ <div v-if="isShowScore" class="score_type">
|
|
|
本题分数:{{
|
|
|
question.score_type === scoreTypeList[0].value || currentQuestion.type === 'read'
|
|
|
? `总分${question.score}分`
|
|
@@ -329,6 +332,15 @@ export default {
|
|
|
isTeacherAnnotations() {
|
|
|
return this.question_index >= 0 && this.isTeacher && this.type !== 'show';
|
|
|
},
|
|
|
+ // 是否显示分数
|
|
|
+ isShowScore() {
|
|
|
+ return (
|
|
|
+ this.user_answer_record_info.is_exist_answer_record === 'true' &&
|
|
|
+ this.curQuestionIndex >= 0 &&
|
|
|
+ !this.isSubmit &&
|
|
|
+ !this.isShow
|
|
|
+ );
|
|
|
+ },
|
|
|
// 是否显示批注
|
|
|
isAnnotations() {
|
|
|
return (
|