From 972be9fe7d4e44a236925508716b141230769a94 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 13 十一月 2025 09:47:18 +0800
Subject: [PATCH] 调整样式
---
components/mold.vue | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/components/mold.vue b/components/mold.vue
index 38747f0..045d87a 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" />
@@ -682,7 +682,6 @@
flex: 1;
margin: 0 8px;
min-height: 44px;
- min-width: 120px; /* 鏂板锛氶槻姝㈠唴瀹瑰お鎸� */
}
.form-label {
@@ -706,7 +705,6 @@
min-width: 0;
height: 36px;
box-sizing: border-box;
- max-width: 180px; /* 鏂板锛氶檺鍒舵渶澶у搴︼紝璁╄緭鍏ユ鍙樼獎 */
}
.input.small-font {
@@ -1024,7 +1022,6 @@
.input {
font-size: 17px; /* 鍘�14px锛岃皟澶� */
padding: 6px 10px;
- max-width: 140px; /* 鍝嶅簲寮忎笅鏇寸獎 */
}
.btn-blue {
@@ -1048,4 +1045,17 @@
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;
+ }
+
</style>
\ No newline at end of file
--
Gitblit v1.9.3