From 63d40b2f7f34302b736f390aee1ade4f99c35746 Mon Sep 17 00:00:00 2001 From: zm2000 <18386612143@163.com> Date: Sat, 25 Jul 2026 18:18:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A2=E5=8D=95=E6=8B=A3?= =?UTF-8?q?=E8=B4=A7=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/work/order/picking.vue | 49 +++++++++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/pages/work/order/picking.vue b/pages/work/order/picking.vue index cbd378d..eca7c8a 100644 --- a/pages/work/order/picking.vue +++ b/pages/work/order/picking.vue @@ -105,6 +105,7 @@ @click="selectPickItem(index)" > {{ index + 1 }} + {{ item.totalQty }} @@ -2291,14 +2292,30 @@ import voice from '@/core/utils/voice'; border-radius: 12rpx; background: #f5f7fa; border: 1rpx solid #e4e7ed; - display: flex; - align-items: center; - justify-content: center; + position: relative; + overflow: hidden; + } + + .index-cell::after { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient(to top left, transparent calc(60% - 0.5px), #dcdfe6 calc(60% - 0.5px), #dcdfe6 calc(60% + 0.5px), #2979ff calc(60% + 0.5px)); + pointer-events: none; } .index-cell--active { - background: #eaf2ff; - border-color: #2979ff; + background: #fff3e0; + border-color: #ff9800; + border-width: 3rpx; + box-shadow: 0 0 12rpx rgba(255, 152, 0, 0.35); + } + + .index-cell--active .index-qty { + color: #ff9800; } .index-cell--picked { @@ -2310,6 +2327,10 @@ import voice from '@/core/utils/voice'; color: #ffffff; } + .index-cell--picked .index-qty { + color: #ffffff; + } + .bind-cart-popup { padding: 20rpx 24rpx 28rpx; box-sizing: border-box; @@ -2452,9 +2473,25 @@ import voice from '@/core/utils/voice'; } .index-text { + position: absolute; + top: 6rpx; + left: 8rpx; + z-index: 1; font-size: 34rpx; font-weight: 600; - color: #2979ff; + color: #ffffff; + line-height: 1.2; + } + + .index-qty { + position: absolute; + bottom: 6rpx; + right: 8rpx; + z-index: 1; + font-size: 36rpx; + font-weight: 500; + color: #303133; + line-height: 1.2; } .safe-bottom {