From e9f07e8ededd97647988d47df481238b1303bd71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E6=98=9F=E6=98=9F?= <605893810@qq.com> Date: Mon, 31 Aug 2026 16:14:31 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=88=86=E4=BA=AB=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/common/home-popup.vue | 18 ++++ pages/home/home.vue | 2 +- .../other_package/components/share-popup.vue | 91 ++++++++++++++++--- .../other_package/productInfo/productInfo.vue | 13 ++- pages/shopping_cart/shopping_cart.vue | 25 ++++- 5 files changed, 132 insertions(+), 17 deletions(-) diff --git a/components/common/home-popup.vue b/components/common/home-popup.vue index 751693a..c2eec9b 100644 --- a/components/common/home-popup.vue +++ b/components/common/home-popup.vue @@ -4,8 +4,12 @@ :round="24" :closeOnClickOverlay="false" mode="center" + @close="onClose" > + + + 信任桥 @@ -46,6 +50,9 @@ methods: { onOk(){ this.$emit('jumpShop'); + }, + onClose(){ + this.$emit('close'); } } } @@ -63,6 +70,17 @@ position: relative; padding: 32rpx; box-sizing: border-box; + .close-box { + position: absolute; + top: 24rpx; + right: 24rpx; + width: 48rpx; + height: 48rpx; + display: flex; + align-items: center; + justify-content: center; + z-index: 10; + } .home-popup-mid{ width:100%; height:540rpx; diff --git a/pages/home/home.vue b/pages/home/home.vue index e06aecf..be4726b 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -215,7 +215,7 @@ - + diff --git a/pages/other_package/components/share-popup.vue b/pages/other_package/components/share-popup.vue index ad4b520..b5d9e0c 100644 --- a/pages/other_package/components/share-popup.vue +++ b/pages/other_package/components/share-popup.vue @@ -7,14 +7,16 @@ - @@ -22,8 +24,10 @@ - @@ -31,6 +35,9 @@ + + + @@ -38,12 +45,11 @@ 取消 - - - + {{ text }} @@ -57,15 +63,19 @@