From 6aac0dd9c6d6bd3de148f3d6e123f9c91b1aab4b Mon Sep 17 00:00:00 2001 From: user1 <10901603+no-distractions1@user.noreply.gitee.com> Date: 星期二, 02 七月 2024 09:31:04 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/components/examinations/index.vue | 31 ++++++++++++++++++++----------- 1 files changed, 20 insertions(+), 11 deletions(-) diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue index 5192350..d6d99a8 100644 --- a/src/components/examinations/index.vue +++ b/src/components/examinations/index.vue @@ -371,14 +371,14 @@ </template> <div class="referBox"> <span>鍙傝�冪瓟妗堬細</span> - <p - v-html="arrayToString(value.answer)" + <span + v-html="value.answer" class="ti-2" :class="[ 'subjectiveBox', value.isUnfold ? 'showText' : 'hideText', ]" - ></p> + ></span> </div> <!-- 瑙f瀽 --> <div class="referBox" v-if="value.analysisCon"> @@ -464,20 +464,24 @@ >淇濆瓨</el-button > <el-button - @click="(e) =>{ - handleQuestion() - saveAnswer(e) - }" + @click=" + (e) => { + handleQuestion(); + saveAnswer(e); + } + " class="examinations-btn-box" :style="{ borderColor: primaryColor }" >鎻愪氦</el-button > <el-button @click="redo" class="examinations-btn-box">閲嶅仛</el-button> <el-button - @click="(e) => { - openAnswers() - saveAnswer(e) - }" + @click=" + (e) => { + openAnswers(); + saveAnswer(e); + } + " class="examinations-btn-box" :style="{ borderColor: primaryColor }" >鏌ョ湅绛旀</el-button @@ -1373,4 +1377,9 @@ width: 18px; object-fit: contain; } +/deep/ .examination-math { + display: flex; + align-items: center; + flex-wrap: wrap; +} </style> -- Gitblit v1.9.1