From bcd14c6a9e9a21272cf4a79472277de0694daa33 Mon Sep 17 00:00:00 2001 From: fanfan Date: Mon, 26 Aug 2024 21:24:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/news1/MerchantSupplier.vue | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/pages/news1/MerchantSupplier.vue b/pages/news1/MerchantSupplier.vue index 03d83a1..8bf9098 100644 --- a/pages/news1/MerchantSupplier.vue +++ b/pages/news1/MerchantSupplier.vue @@ -27,7 +27,8 @@ - + @@ -40,7 +41,8 @@ - + @@ -53,7 +55,8 @@ - + @@ -68,7 +71,8 @@ - + @@ -214,7 +218,7 @@ card_hold_imgage_ids: [], prove_imgage_ids: [], isCheckout: false, - storeInfo:'' + storeInfo: '' } }, onLoad(options) { @@ -232,6 +236,17 @@ 'platform': "MP-WEIXIN", } }, + /** + * 分享当前页面 + */ + onShareAppMessage() { + // 构建页面参数 + const params = this.$getShareUrlParams() + return { + title: '整点秒杀会场', + path: `/pages/news1/MerchantSupplier` + } + }, methods: { toTextPage() { uni.navigateTo({ @@ -275,12 +290,13 @@ }) return } - let cardId = [that.card_just_imgage_ids, that.card_back_imgage_ids,that + let cardId = [that.card_just_imgage_ids, that.card_back_imgage_ids, that .card_hold_imgage_ids ] console.log(cardId) uni.navigateTo({ - url: '/pages/news1/MerchantSettlement?cardId=' + encodeURIComponent(cardId) + '&business=' + encodeURIComponent(that.prove_imgage_ids) + url: '/pages/news1/MerchantSettlement?cardId=' + encodeURIComponent(cardId) + '&business=' + + encodeURIComponent(that.prove_imgage_ids) }) }, // 正面