From 7191ff367c33526180d3308183e2a425bb3a0775 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 13 十一月 2025 13:50:29 +0800
Subject: [PATCH] 修改保存逻辑
---
components/mold.vue | 21 +++++++++++++--------
1 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/components/mold.vue b/components/mold.vue
index 234f1d7..208756d 100644
--- a/components/mold.vue
+++ b/components/mold.vue
@@ -9,8 +9,8 @@
<input class="input small-font" v-model="selectedToolNo" placeholder="璇烽�氳繃鍒�鍏风洰褰曢�夋嫨" disabled />
</view>
<view class="form-cell">
- <label class="form-label">璁剧疆浣跨敤涓婇檺锛�</label>
- <input class="input small-font input-use-limit" type="number" v-model="useLimitInput" placeholder="姣忔鎹㈠垁鍚庢墜濉�" :disabled="!selectedToolNo || loadingForm" />
+ <label class="form-label highlight-label">浣跨敤涓婇檺锛�</label>
+ <input class="input small-font input-use-limit" type="number" v-model="useLimitInput" placeholder="姣忔涓嬪垁鍚庢墜濉笂闄�" :disabled="!selectedToolNo || loadingForm" />
</view>
<view class="form-cell">
<label class="form-label">瀵垮懡姣旈璀﹀�硷細</label>
@@ -35,6 +35,10 @@
<view class="form-cell">
<label class="form-label">瑙勬牸鍨嬪彿锛�</label>
<input class="input small-font input-tool-model" v-model="toolModel" placeholder="鍒�鍏峰甫鍑�" disabled />
+ </view>
+ <!-- 鏂板鐨勫垁鍏风洰褰曟寜閽� -->
+ <view class="form-cell">
+ <button class="btn-blue large-btn" @click="openToolDialog" :disabled="loadingTools">鍒�鍏风洰褰�</button>
</view>
</view>
</view> <!-- 杩欓噷闂悎 top-section-grid -->
@@ -1044,12 +1048,6 @@
}
/* 鏂板锛氳鈥滆缃娇鐢ㄤ笂闄愨�濃�滃鍛芥瘮棰勮鍊尖�濊緭鍏ユ鍙樼獎 */
- .input-use-limit {
- width: 80px !important;
- min-width: 0 !important;
- margin-right: 10px;
- }
-
.input-life-warn {
width: 80px !important;
min-width: 0 !important;
@@ -1060,6 +1058,9 @@
width: 60px !important;
min-width: 0 !important;
margin-right: 10px;
+ color: #1890ff !important;
+ border-color: #1890ff !important; /* 鏂板锛氳摑鑹茶竟妗� */
+ /* background-color: #e6f7ff !important; 鑻ラ渶鑳屾櫙鑹插彲鍙栨秷娉ㄩ噴 */
}
.input-tool-model {
@@ -1080,4 +1081,8 @@
margin-right: 10px;
}
+ .highlight-label {
+ color: #1890ff !important; /* 浣犳兂瑕佺殑棰滆壊 */
+ }
+
</style>
\ No newline at end of file
--
Gitblit v1.9.3