From 092b8c442d686354a738b8ef423dac9516442d92 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 01 七月 2024 10:42:25 +0800 Subject: [PATCH] 数学json题目请求修改 --- src/components/examinations/index.vue | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue index eddf0e0..3eb2645 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,14 +464,20 @@ >淇濆瓨</el-button > <el-button - @click="handleQuestion" + @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="openAnswers" + @click="(e) => { + openAnswers() + saveAnswer(e) + }" class="examinations-btn-box" :style="{ borderColor: primaryColor }" >鏌ョ湅绛旀</el-button @@ -1198,6 +1204,9 @@ .referBox { display: flex; margin-bottom: 10px; + /deep/ math { + display: flex; + } span { width: 80px; color: #999; -- Gitblit v1.9.1