From 260badfb06dd27573d1002dfad7cd0d5c48c6d0c Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 09 十月 2025 15:28:54 +0800
Subject: [PATCH] 界面优化
---
components/mold.vue | 18 +++---------------
1 files changed, 3 insertions(+), 15 deletions(-)
diff --git a/components/mold.vue b/components/mold.vue
index f855518..c75f939 100644
--- a/components/mold.vue
+++ b/components/mold.vue
@@ -12,16 +12,6 @@
<view class="form-cell">
<label class="form-label">璁剧疆浣跨敤涓婇檺锛�</label>
<input class="input" type="number" v-model="useLimitInput" placeholder="姣忔鎹㈠垁鍚庢墜濉�" :disabled="!selectedToolNo" />
- <!-- 婊戞潯鎺т欢 -->
- <input type="range"
- min="0"
- max="10000"
- step="1"
- v-model="useLimitInput"
- :disabled="!selectedToolNo"
- class="slider"
- style="width: 160px; margin: 0 8px;" />
- <span style="min-width: 50px; display: inline-block;">{{ useLimitInput }}</span>
<button class="btn-blue" @click="setUseLimit" :disabled="!selectedToolNo || !useLimitInput">淇濆瓨涓婇檺</button>
</view>
<view class="form-cell">
@@ -115,7 +105,7 @@
data() {
return {
pageIndex: 1,
- pageSize: 20,
+ pageSize: 18,
total: 0,
toolList: [],
selectedToolNo: '',
@@ -299,6 +289,8 @@
display: flex;
flex-wrap: wrap;
margin: 1vh 0;
+ max-height: 40vh;
+ overflow-y: auto;
}
.tool-btn {
@@ -346,9 +338,5 @@
.tool-desc {
margin-top: 2vh;
- }
-
- .slider {
- vertical-align: middle;
}
</style>
\ No newline at end of file
--
Gitblit v1.9.3