From 7191ff367c33526180d3308183e2a425bb3a0775 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 13 十一月 2025 13:50:29 +0800
Subject: [PATCH] 修改保存逻辑

---
 components/mold.vue |   50 +++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 45 insertions(+), 5 deletions(-)

diff --git a/components/mold.vue b/components/mold.vue
index eeec49c..208756d 100644
--- a/components/mold.vue
+++ b/components/mold.vue
@@ -9,13 +9,13 @@
                     <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" 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>
                     <view class="input-with-unit">
-                        <input class="input small-font"
+                        <input class="input small-font input-life-warn"
                                v-model="lifeWarnInput"
                                placeholder="濡�0.9鎴�90"
                                :disabled="!selectedToolNo || loadingForm" />
@@ -26,13 +26,15 @@
 
             <!-- 绗簩琛岋細鍦ㄦ渶鍚庢坊鍔犲垁鍏风洰褰曟寜閽� -->
             <view class="form-row">
+                <!-- 鍒�鍏峰悕绉� -->
                 <view class="form-cell">
                     <label class="form-label">鍒�鍏峰悕绉帮細</label>
-                    <input class="input small-font" v-model="toolName" placeholder="鍒�鍏峰甫鍑�" disabled />
+                    <input class="input small-font input-tool-name" v-model="toolName" placeholder="鍒�鍏峰甫鍑�" disabled />
                 </view>
+                <!-- 瑙勬牸鍨嬪彿 -->
                 <view class="form-cell">
                     <label class="form-label">瑙勬牸鍨嬪彿锛�</label>
-                    <input class="input small-font" v-model="toolModel" placeholder="鍒�鍏峰甫鍑�" disabled />
+                    <input class="input small-font input-tool-model" v-model="toolModel" placeholder="鍒�鍏峰甫鍑�" disabled />
                 </view>
                 <!-- 鏂板鐨勫垁鍏风洰褰曟寜閽� -->
                 <view class="form-cell">
@@ -1045,4 +1047,42 @@
         min-width: 120px;
     }
 
+    /* 鏂板锛氳鈥滆缃娇鐢ㄤ笂闄愨�濃�滃鍛芥瘮棰勮鍊尖�濊緭鍏ユ鍙樼獎 */
+    .input-life-warn {
+        width: 80px !important;
+        min-width: 0 !important;
+        margin-right: 4px;
+    }
+
+    .input-use-limit {
+        width: 60px !important;
+        min-width: 0 !important;
+        margin-right: 10px;
+        color: #1890ff !important;
+        border-color: #1890ff !important; /* 鏂板锛氳摑鑹茶竟妗� */
+        /* background-color: #e6f7ff !important;  鑻ラ渶鑳屾櫙鑹插彲鍙栨秷娉ㄩ噴 */
+    }
+
+    .input-tool-model {
+        width: 60px !important;
+        min-width: 0 !important;
+        margin-right: 10px;
+    }
+
+    .input-tool-name {
+        width: 80px !important;
+        min-width: 0 !important;
+        margin-right: 10px;
+    }
+
+    .input-tool-model {
+        width: 80px !important;
+        min-width: 0 !important;
+        margin-right: 10px;
+    }
+
+    .highlight-label {
+        color: #1890ff !important; /* 浣犳兂瑕佺殑棰滆壊 */
+    }
+
 </style>
\ No newline at end of file

--
Gitblit v1.9.3