From cf4bbfabdd5da60ac78cc43a4febbb7e7d559f92 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期五, 22 十一月 2024 11:11:40 +0800
Subject: [PATCH] 公式输入框样式

---
 src/views/examination/components/list.vue |    8 ++++++--
 src/views/components/formula.vue          |    2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/components/formula.vue b/src/views/components/formula.vue
index fabe76d..d8ee24b 100644
--- a/src/views/components/formula.vue
+++ b/src/views/components/formula.vue
@@ -48,7 +48,7 @@
 
 <style lang="less">
   .mathField {
-    width: 500px;
+    // width: 500px;
     margin-top: 10px;
   }
 
diff --git a/src/views/examination/components/list.vue b/src/views/examination/components/list.vue
index fa5947c..ab6ba44 100644
--- a/src/views/examination/components/list.vue
+++ b/src/views/examination/components/list.vue
@@ -65,7 +65,7 @@
               <!-- 濉┖棰橀骞� -->
               <p class="titleText" v-if="value.questionType == 'completion'">
                 <span v-for="(itemText, indexText) in value.stem" :key="indexText">
-                  <span v-if="typeof itemText == 'string'" v-html="itemText"></span>
+                  <span style="display: flex;align-items: center;" v-if="typeof itemText == 'string'" v-html="itemText"></span>
                   <!-- &nbsp; -->
                   <!-- <input
                     v-else
@@ -482,6 +482,9 @@
       font-weight: bold;
     }
     .titleText {
+      display: flex;
+      flex-wrap: wrap;
+      align-items: center;
       padding: 0 10px 10px 10px;
       min-width: 90%;
       font-size: 14px;
@@ -672,7 +675,8 @@
   color: #3b93fe;
 }
 .mathField {
-  width: 500px;
+  min-width: 200px;
+  max-width: 518px;
   margin-top: 10px;
 }
 </style>

--
Gitblit v1.9.1