From 57fe1fc07816e5a0a6fed922c3f17da8fff933c1 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期五, 31 十月 2025 17:16:00 +0800
Subject: [PATCH] 界面优化
---
components/mold.vue | 75 ++++++++++++++++---------------------
1 files changed, 33 insertions(+), 42 deletions(-)
diff --git a/components/mold.vue b/components/mold.vue
index 7992abd..fd763a7 100644
--- a/components/mold.vue
+++ b/components/mold.vue
@@ -119,9 +119,9 @@
<!-- 璇存槑 -->
<!--<view class="tool-desc">
- <p style="color:red;">'浣跨敤涓婇檺'浠ヤ笅鍒�鏃剁殑'浣跨敤涓婇檺'涓鸿绠楁爣鍑�</p>
- <p style="color:red;">瀵垮懡姣旈璀﹀�奸粯璁や负90%</p>
- </view>-->
+ <p style="color:red;">'浣跨敤涓婇檺'浠ヤ笅鍒�鏃剁殑'浣跨敤涓婇檺'涓鸿绠楁爣鍑�</p>
+ <p style="color:red;">瀵垮懡姣旈璀﹀�奸粯璁や负90%</p>
+ </view>-->
</view>
</template>
@@ -684,7 +684,7 @@
.form-label {
width: 100px;
font-weight: bold;
- font-size: 14px;
+ font-size: 18px;
color: #333;
white-space: nowrap;
margin-right: 8px;
@@ -692,7 +692,7 @@
.input {
padding: 8px 12px;
- font-size: 14px;
+ font-size: 16px;
border: 1px solid #dcdfe6;
flex: 1;
margin-right: 8px;
@@ -704,7 +704,7 @@
}
.input.small-font {
- font-size: 13px;
+ font-size: 15px;
}
.input:disabled {
@@ -720,7 +720,7 @@
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
- font-size: 14px;
+ font-size: 16px;
font-weight: 500;
white-space: nowrap;
height: 36px;
@@ -745,50 +745,41 @@
.button-row {
display: flex;
justify-content: center;
- gap: 16px;
- margin: 20px 0;
- padding: 0 20px;
+ gap: 32px;
+ margin: 2vh 0;
}
.save-btn, .cancel-btn {
- width: 120px;
- padding: 10px 20px;
- background-color: #1890ff;
+ width: 28%;
+ padding: 1.5vh;
+ background-color: #00A2E9;
color: white;
- font-size: 14px;
+ font-size: 1.2vw;
border: none;
text-align: center;
- border-radius: 4px;
- cursor: pointer;
- transition: all 0.3s;
+ border-radius: 6px;
+ transition: background 0.2s;
}
-
- .save-btn:hover {
- background-color: #40a9ff;
- }
-
- .save-btn:active {
- background-color: #096dd9;
- }
.cancel-btn {
- background-color: #f5f5f5;
- color: #666;
- border: 1px solid #d9d9d9;
+ background-color: #eee;
+ color: #333;
}
- .cancel-btn:hover {
- background-color: #fff;
- border-color: #1890ff;
- color: #1890ff;
- }
+ .save-btn:hover {
+ background-color: #40a9ff;
+ }
- .save-btn:disabled, .cancel-btn:disabled {
- opacity: 0.6;
- cursor: not-allowed;
- }
+ .save-btn:active {
+ background-color: #096dd9;
+ }
- /* 寮圭獥鏍峰紡淇濇寔鍘熸牱 */
+ .save-btn:disabled, .cancel-btn:disabled {
+ opacity: 0.6;
+ cursor: not-allowed;
+ }
+
+ /* 寮圭獥鏍峰紡 */
.dialog-overlay {
position: fixed;
top: 0;
@@ -885,7 +876,7 @@
box-shadow: none;
}
- /* 琛ㄦ牸鏍峰紡淇濇寔鍘熸牱 */
+ /* 琛ㄦ牸鏍峰紡 */
.table-section {
display: flex;
justify-content: center;
@@ -996,17 +987,17 @@
.form-label {
width: 90px;
- font-size: 13px;
+ font-size: 16px;
}
.input {
- font-size: 13px;
+ font-size: 14px;
padding: 6px 10px;
}
.btn-blue {
padding: 6px 12px;
- font-size: 13px;
+ font-size: 14px;
}
}
</style>
\ No newline at end of file
--
Gitblit v1.9.3