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 @@