From 0ab7ff07fd29ac32be045d505ae2d2b9290647a7 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 01 七月 2024 15:32:51 +0800
Subject: [PATCH] 涂色提组件优化

---
 src/components/examinations/index.vue |   28 +++++++++++++++++-----------
 1 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue
index 3eb2645..d6d99a8 100644
--- a/src/components/examinations/index.vue
+++ b/src/components/examinations/index.vue
@@ -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
@@ -1204,9 +1208,6 @@
     .referBox {
       display: flex;
       margin-bottom: 10px;
-      /deep/  math {
-        display: flex;
-      }
       span {
         width: 80px;
         color: #999;
@@ -1376,4 +1377,9 @@
   width: 18px;
   object-fit: contain;
 }
+/deep/ .examination-math {
+  display: flex;
+  align-items: center;
+  flex-wrap: wrap;
+}
 </style>

--
Gitblit v1.9.1