From 550114187975840ec0c8162acc08c4cd9141d9c5 Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 12 Oct 2026 15:05:38 +0800 Subject: [PATCH] =?UTF-8?q?style(=E7=A7=BB=E5=8A=A8=E7=AB=AF):=20=E8=B4=AD?= =?UTF-8?q?=E7=89=A9=E8=BD=A6=E7=AE=A1=E7=90=86=E6=8C=89=E9=92=AE=E4=B8=8E?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E6=AD=A5=E8=BF=9B=E5=99=A8=E6=94=B9=E8=83=B6?= =?UTF-8?q?=E5=9B=8A=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/order_addcart/order_addcart.vue | 58 +++++++++---------- 1 file changed, 27 insertions(+), 31 deletions(-) diff --git a/frontend/uni-app/src/pages/order_addcart/order_addcart.vue b/frontend/uni-app/src/pages/order_addcart/order_addcart.vue index caf389688..6226827e6 100644 --- a/frontend/uni-app/src/pages/order_addcart/order_addcart.vue +++ b/frontend/uni-app/src/pages/order_addcart/order_addcart.vue @@ -22,6 +22,7 @@ {{ footerswitch ? $t(`管理`) : $t(`取消`) }} @@ -982,11 +983,16 @@ function unsetCart() { } .nav-right { font-size: 26rpx; - padding: 0 20rpx; - height: 46rpx; - line-height: 46rpx; - border: 1rpx solid #a4a4a4; - border-radius: 6rpx; + padding: 0 26rpx; + height: 52rpx; + line-height: 52rpx; + border-radius: 26rpx; + background: #f5f5f7; + color: #666; + &.managing { + background: var(--view-op-ten, rgba(233, 51, 35, 0.1)); + color: var(--view-theme, #e93323); + } } } .goods-wrapper { @@ -1070,44 +1076,34 @@ function unsetCart() { right: 0; display: flex; align-items: center; - height: 47rpx; + background: #f5f5f7; + border-radius: 24rpx; + overflow: hidden; + .qty-btn { - width: 66rpx; - height: 47rpx; - line-height: 47rpx; + width: 56rpx; + height: 48rpx; + line-height: 48rpx; text-align: center; - border: 1rpx solid #a4a4a4; - font-size: 28rpx; - color: #a4a4a4; - &.reduce { - border-right: 0; - border-radius: 3rpx 0 0 3rpx; - &.off { - border-color: #e3e3e3; - color: #dedede; - } - } - &.plus { - border-left: 0; - border-radius: 0 3rpx 3rpx 0; - &.off { - border-color: #e3e3e3; - color: #dedede; - } + font-size: 32rpx; + color: #282828; + &.off { + color: #d0d0d0; } } + .qty-num { - width: 66rpx; - height: 47rpx; - line-height: 47rpx; + width: 64rpx; + height: 48rpx; + line-height: 48rpx; text-align: center; - border: 1rpx solid #a4a4a4; color: #282828; font-size: 28rpx; input { width: 100%; height: 100%; text-align: center; + font-size: 28rpx; } } }