From 91cc846ad7f1d9c417260837b54fcd4bb0a0d94f Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 17 六月 2024 14:51:27 +0800
Subject: [PATCH] 图书优化

---
 src/components/examinations/index.vue |   23 ++++++++++-------------
 1 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue
index 5986ef3..f2bdffd 100644
--- a/src/components/examinations/index.vue
+++ b/src/components/examinations/index.vue
@@ -73,12 +73,13 @@
                     v-html="itemText"
                   ></span>
                   <!-- &nbsp; -->
-                  <el-input
+                  <input
                     v-else
                     type="text"
                     class="input"
                     v-model.trim="value.userAnswer[itemText.num]"
                     :disabled="value.isComplete"
+                    :style="{backgroundColor:inputBc}"
                   />
                   <!-- &nbsp; -->
                 </span>
@@ -495,6 +496,10 @@
       type: Boolean,
       default: true,
     },
+    inputBc: {
+      type: String,
+      default: "#fff",
+    },
   },
   data() {
     return {
@@ -824,23 +829,15 @@
         font-weight: 400;
         margin-top: 6px;
       }
-      .el-input {
+      input {
         width: 140px;
         height: 24px;
-        border-top: 0;
+        border: 0;
+        outline: none; 
+        border-bottom: 1px solid #15c0f2;
       }
       /deep/ .el-textarea.is-disabled .el-textarea__inner {
         background-color: #fff;
-      }
-      /deep/.el-input__wrapper {
-        border-top: 0 !important;
-      }
-      /deep/ .el-input__inner {
-        border-top: 0 !important;
-        border-left: 0 !important ;
-        border-right: 0 !important ;
-        border-bottom: 1px solid #15c0f2 !important;
-        border-radius: 0 !important;
       }
       /deep/ .el-input.is-disabled .el-input__inner {
         background-color: #fff;

--
Gitblit v1.9.1