From 4746ad5110684d132f7b7f39511af4eae87a0b15 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 30 四月 2025 15:25:25 +0800 Subject: [PATCH] 答题器样式及答案解析功能优化 --- src/views/examination/components/list.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/examination/components/list.vue b/src/views/examination/components/list.vue index ab6ba44..d4ef5d7 100644 --- a/src/views/examination/components/list.vue +++ b/src/views/examination/components/list.vue @@ -237,18 +237,18 @@ <!-- 鎻愪氦鍚庤В鏋� --> <div class="analysis" v-if="value.isComplete"> <ul class="analysis-box"> - <li class="headerConent" style="width: 60%"> + <li class="headerConent" > <!-- 姝g‘閿欒鏍囪瘑 --> <ul class="mark"> <li v-if="value.isRight" class="mark-correct">姝g‘</li> <li v-if="value.isRight == false" class="mark-error">閿欒</li> </ul> - <p :title="arrayToString(value.answer)"> + <p :title="arrayToString(value.answer)" class="mark-txt " > <span>銆愭纭瓟妗堛�戯細</span> <span v-html="arrayToString(value.answer)" class="correctBox"></span> </p> <p - :class="value.isRight ? 'correct textOverFlow' : 'error textOverFlow'" + :class="value.isRight ? 'correct textOverFlow mark-txt' : 'error textOverFlow mark-txt'" :title="arrayToString(value.userAnswer)" style="margin-left: 20px" > @@ -275,7 +275,7 @@ v-model="value.isUnfold" @change="handleChange(value)" accordion - v-if="value.questionType != 'shortAnswer'" + v-if="value.questionType != 'shortAnswer' && value.questionType != 'formula'" > <el-collapse-item :name="value.id" class="objective"> <template #title> @@ -636,7 +636,9 @@ .headerConent { height: 100%; display: flex; - align-items: center; + .mark-txt { + max-width: 385px; + } .el-image { width: 9px; height: 9px; -- Gitblit v1.9.1