From 0ace7845930cbeb5b57193d9f3a1378ca6391f22 Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Thu, 23 Jan 2025 02:13:16 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3116=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=85=A8=E5=9B=BD=E7=89=B9?= =?UTF-8?q?=E4=BA=A7=EF=BC=8C=E6=90=9C=E7=B4=A2=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E5=8F=B3=E4=B8=8A=E8=A7=92=E9=9C=80=E8=A6=81=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E6=8C=89=E9=92=AE=EF=BC=8C=E5=8F=B3?= =?UTF-8?q?=E4=B8=8A=E8=A7=92=E7=BA=A2=E7=82=B9=E6=98=BE=E7=A4=BA=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E8=B4=AD=E7=89=A9=E8=BD=A6=E5=95=86=E5=93=81=E6=95=B0?= =?UTF-8?q?=EF=BC=8C=E7=82=B9=E5=87=BB=E8=BF=9B=E5=85=A5=E8=B4=AD=E7=89=A9?= =?UTF-8?q?=E8=BD=A6=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/product.less | 5 ++-- pages/shop/GoodSearch/index.vue | 48 +++++++++++++++++++++++++++++-- pkg_product/views/nativeList.vue | 49 ++++++++++++++++++++++++++++++-- 3 files changed, 94 insertions(+), 8 deletions(-) diff --git a/assets/css/product.less b/assets/css/product.less index 94111c4..6bc2c93 100644 --- a/assets/css/product.less +++ b/assets/css/product.less @@ -17,16 +17,15 @@ } .search-box { - width: 686rpx; + width: 90%; height: 60rpx; - margin: 0 auto; padding: 0 24rpx 0 32rpx; box-sizing: border-box; background: #F7F7F7; border-radius: 30rpx; input { - width: 560rpx; + width: 540rpx; font-size: 24rpx; } diff --git a/pages/shop/GoodSearch/index.vue b/pages/shop/GoodSearch/index.vue index 8bd7a4f..138a669 100644 --- a/pages/shop/GoodSearch/index.vue +++ b/pages/shop/GoodSearch/index.vue @@ -20,7 +20,11 @@ - + + + {{ CartCount > 99 ? '99+' : CartCount }} + + { + this.CartCount = res.data.count + }) + } + }, + goShoppingCart() { + this.$yrouter.switchTab('/pages/cart') + }, showHistory() { if(this.search) { this.showkey = false @@ -225,6 +250,22 @@ export default {