Forráskód Böngészése

教材样式设置样式调整

dsy 6 napja
szülő
commit
643869ee08

+ 1 - 1
.env

@@ -11,4 +11,4 @@ VUE_APP_BookWebSI = '/GCLSBookWebSI/ServiceInterface'
 VUE_APP_EepServer = '/EEPServer/SI'
 
 #version
-VUE_APP_VERSION = '2026.04.27'
+VUE_APP_VERSION = '2026.04.28'

+ 9 - 4
src/views/personal_workbench/project/components/BookUnifiedAttr.vue

@@ -2,7 +2,7 @@
   <el-dialog
     title="教材样式设置"
     :visible="visible"
-    width="480px"
+    width="500px"
     :close-on-click-modal="false"
     class="book-unified-attr"
     @close="dialogClose"
@@ -16,8 +16,9 @@
               <span>辅助色</span>
               <el-color-picker v-model="unified_attrib.assist_color" />
               <span class="link" @click="generateAssistColor">自动生成辅助色</span>
-              <span>|</span>
-              <span class="link" @click="applyBookUnifiedAttr('COLOR')">应用于整本教材</span>
+              <el-button type="primary" class="row-button" @click="applyBookUnifiedAttr('COLOR')">
+                应用于整本教材
+              </el-button>
             </div>
           </el-form-item>
           <el-form-item label="字体">
@@ -211,7 +212,11 @@ export default {
       .el-form {
         .el-select,
         .el-input-number {
-          width: 100%;
+          width: 235px;
+        }
+
+        .row-button {
+          margin-left: 12px;
         }
       }
     }