From 00ebffb9fd6b3f2abd09454738b3046602e16624 Mon Sep 17 00:00:00 2001 From: dxc Date: Sat, 28 Feb 2026 12:05:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=98=E5=BA=93=E6=97=B6?= =?UTF-8?q?=E5=80=99=E6=95=B0=E9=87=8F=E5=A2=9E=E5=8A=A0=E5=87=8F=E5=B0=91?= =?UTF-8?q?=E7=9A=84=E6=8C=89=E9=92=AE=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inventory-web/src/App.vue | 2 +- .../src/views/stock/stocktake/index.vue | 25 ++++++++++++++++++- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/inventory-web/src/App.vue b/inventory-web/src/App.vue index 98df118..c0161e7 100644 --- a/inventory-web/src/App.vue +++ b/inventory-web/src/App.vue @@ -89,7 +89,7 @@ const handleLogout = () => { diff --git a/inventory-web/src/views/stock/stocktake/index.vue b/inventory-web/src/views/stock/stocktake/index.vue index 6204fbe..87626cd 100644 --- a/inventory-web/src/views/stock/stocktake/index.vue +++ b/inventory-web/src/views/stock/stocktake/index.vue @@ -132,6 +132,7 @@ style="width: 100%" ref="qtyInputRef" placeholder="请输入实际点数" + class="large-control-input" />

单位: {{ currentItem.unit || '个' }}

@@ -738,4 +739,26 @@ const finishStocktake = async () => { .missing-list-header { font-weight: bold; margin-bottom: 8px; font-size: 13px; border-left: 3px solid #f56c6c; padding-left: 8px; } .dialog-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; } .footer-right { display: flex; gap: 10px; } - + +/* ★★★ 新增:专为平板优化的超大数字输入框样式 ★★★ */ +.large-control-input { + height: 60px; /* 增加整体输入框高度 */ +} +/* 放大左右两边的加减按钮,并增加点击区域 */ +:deep(.large-control-input .el-input-number__decrease), +:deep(.large-control-input .el-input-number__increase) { + width: 70px !important; /* 显著加大按钮宽度 */ + font-size: 28px !important; /* 放大加号和减号图标 */ + background-color: #f0f2f5; /* 稍微加深背景色,让触控区更明显 */ +} +/* 给中间的数字输入区留出左右按钮的空间 */ +:deep(.large-control-input .el-input__wrapper) { + padding-left: 80px !important; + padding-right: 80px !important; +} +/* 放大中间数字部分的字体和高度,保持协调 */ +:deep(.large-control-input .el-input__inner) { + font-size: 24px !important; + height: 58px !important; +} + \ No newline at end of file