From 16fe115c97d3df29b2c1637b4c413f1ca7672c39 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期五, 14 十一月 2025 09:47:51 +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