From b66dc32f331b455ed1135235bbce14fc84a2f6fe Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 26 六月 2024 16:56:20 +0800 Subject: [PATCH] 阅卷前端样式 --- src/views/answer/components/QuestionAnswerShow.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/views/answer/components/QuestionAnswerShow.vue b/src/views/answer/components/QuestionAnswerShow.vue index 7a0b0af..f94f3ad 100644 --- a/src/views/answer/components/QuestionAnswerShow.vue +++ b/src/views/answer/components/QuestionAnswerShow.vue @@ -1,6 +1,7 @@ <template> <div v-loading="qLoading" style="line-height:1.8"> <div v-if="qType == 1 || qType == 2 || qType == 3 || qType == 4 || qType == 5 || qType == 6 || qType == 7 || qType == 8"> + <!-- 閫夋嫨鎴栬闊� --> <div v-if="qType == 1 || qType == 6"> <div class="q-title" v-html="question.title" /> <div class="q-content"> @@ -12,6 +13,7 @@ </el-radio-group> </div> </div> + <!-- 澶氶�� --> <div v-else-if="qType == 2"> <div class="q-title" v-html="question.title" /> <div class="q-content"> @@ -23,6 +25,7 @@ </el-checkbox-group> </div> </div> + <!-- 鍒ゆ柇 --> <div v-else-if="qType == 3"> <div class="q-title" v-html="question.title" style="display: inline;margin-right: 10px" /> <span style="padding-right: 10px;">(</span> @@ -33,6 +36,7 @@ </el-radio-group> <span style="padding-left: 10px;">)</span> </div> + <!-- 濉┖ --> <div v-else-if="qType == 4"> <div class="q-title" v-html="question.title" /> <div v-if="answer.contentArray !== null"> @@ -42,6 +46,7 @@ </el-form-item> </div> </div> + <!-- 绠�绛斻�佽绠椼�佸垎鏋� --> <div v-else-if="qType == 5 || qType == 7 || qType == 8"> <div class="q-title" v-html="question.title" /> <div> @@ -69,13 +74,16 @@ </div> <div class="question-answer-show-item"> <span class="question-show-item">姝g‘绛旀锛�</span> + <!-- 閫夋嫨銆佸閫夈�佺畝绛斻�佽闊炽�佽绠椼�佸垎鏋� --> <span v-if="qType == 1 || qType == 2 || qType == 5 || qType == 6 || qType == 7 || qType == 8" v-html="question.correct" class="q-item-span-content" /> + <!-- 鍒ゆ柇 --> <span v-if="qType == 3" v-html="trueFalseFormatter(question)" class="q-item-span-content" /> + <!-- 濉┖ --> <span v-if="qType == 4">{{ question.correctArray }}</span> </div> <div v-if = "answer.doRight == null"> <span style="color:#ECAB3C;">{{'鎵规敼锛�'}}</span> - <el-input-number size="mini" v-model="question.markScore" :precision="1" :min="0" :max="parseInt(question.score)" ></el-input-number> + <el-input-number size="mini" v-model="answer.score" :precision="1" :min="0" :max="parseInt(question.score)" ></el-input-number> </div> </div> <div v-else> -- Gitblit v1.8.0