From d7f1e8a0ce4b213cb6a95b35f6b3cf92b36e1d64 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 13 十一月 2025 09:53:58 +0800
Subject: [PATCH] 调试

---
 components/mold.vue |   68 ++++++++++++++++++++++++++-------
 1 files changed, 53 insertions(+), 15 deletions(-)

diff --git a/components/mold.vue b/components/mold.vue
index eeec49c..22dbf8b 100644
--- a/components/mold.vue
+++ b/components/mold.vue
@@ -10,12 +10,12 @@
                 </view>
                 <view class="form-cell">
                     <label class="form-label">璁剧疆浣跨敤涓婇檺锛�</label>
-                    <input class="input small-font" type="number" v-model="useLimitInput" placeholder="姣忔鎹㈠垁鍚庢墜濉�" :disabled="!selectedToolNo || loadingForm" />
+                    <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" />
@@ -25,20 +25,21 @@
             </view>
 
             <!-- 绗簩琛岋細鍦ㄦ渶鍚庢坊鍔犲垁鍏风洰褰曟寜閽� -->
-            <view class="form-row">
-                <view class="form-cell">
-                    <label class="form-label">鍒�鍏峰悕绉帮細</label>
-                    <input class="input small-font" 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 />
-                </view>
-                <!-- 鏂板鐨勫垁鍏风洰褰曟寜閽� -->
-                <view class="form-cell">
-                    <button class="btn-blue large-btn" @click="openToolDialog" :disabled="loadingTools">鍒�鍏风洰褰�</button>
-                </view>
+            <!-- 鍒�鍏峰悕绉� -->
+            <view class="form-cell">
+                <label class="form-label">鍒�鍏峰悕绉帮細</label>
+                <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 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 -->
         <!-- 鎿嶄綔鎸夐挳 - 绉诲嚭 top-section-grid -->
         <view class="button-row">
@@ -1045,4 +1046,41 @@
         min-width: 120px;
     }
 
+    /* 鏂板锛氳鈥滆缃娇鐢ㄤ笂闄愨�濃�滃鍛芥瘮棰勮鍊尖�濊緭鍏ユ鍙樼獎 */
+    .input-use-limit {
+        width: 80px !important;
+        min-width: 0 !important;
+        margin-right: 10px;
+    }
+
+    .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;
+    }
+
+    .input-tool-model {
+        width: 60px !important;
+        min-width: 0 !important;
+        margin-right: 10px;
+    }
+
+    .input-tool-name {
+        width: 120px !important;
+        min-width: 0 !important;
+        margin-right: 10px;
+    }
+
+    .input-tool-model {
+        width: 120px !important;
+        min-width: 0 !important;
+        margin-right: 10px;
+    }
+
 </style>
\ No newline at end of file

--
Gitblit v1.9.3