From 4b9515b21a110fd87c6c01413d523ff97aa8bf76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Wed, 1 Jun 2022 17:28:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BA=97=E9=93=BA=E8=81=94?= =?UTF-8?q?=E7=B3=BB=E5=AE=A2=E6=9C=8D=E8=B7=B3=E8=BD=AC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/product/shopPage.vue | 50 ++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/pages/product/shopPage.vue b/pages/product/shopPage.vue index 161bcf6..6a0041d 100644 --- a/pages/product/shopPage.vue +++ b/pages/product/shopPage.vue @@ -179,30 +179,34 @@ export default { * 联系客服 */ linkKefuDetail() { - // 客服 - // #ifdef MP-WEIXIN + // // 客服 + // // #ifdef MP-WEIXIN - const params = { - // originalPrice: this.goodsDetail.original || this.goodsDetail.price, - uuid: storage.getUuid(), - token: storage.getAccessToken(), - sign: this.storeInfo.yzfSign, - mpSign: this.storeInfo.yzfMpSign, - }; - uni.navigateTo({ - url: - "/pages/product/customerservice/index?params=" + - encodeURIComponent(JSON.stringify(params)), - }); - // #endif - // #ifndef MP-WEIXIN - const sign = this.storeInfo.yzfSign; - uni.navigateTo({ - url: - "/pages/tabbar/home/web-view?src=https://yzf.qq.com/xv/web/static/chat/index.html?sign=" + - sign, - }); - // #endif + // const params = { + // // originalPrice: this.goodsDetail.original || this.goodsDetail.price, + // uuid: storage.getUuid(), + // token: storage.getAccessToken(), + // sign: this.storeInfo.yzfSign, + // mpSign: this.storeInfo.yzfMpSign, + // }; + // uni.navigateTo({ + // url: + // "/pages/product/customerservice/index?params=" + + // encodeURIComponent(JSON.stringify(params)), + // }); + // // #endif + // // #ifndef MP-WEIXIN + // const sign = this.storeInfo.yzfSign; + // uni.navigateTo({ + // url: + // "/pages/tabbar/home/web-view?src=https://yzf.qq.com/xv/web/static/chat/index.html?sign=" + + // sign, + // }); + // // #endif + + uni.navigateTo({ + url: `/pages/tabbar/home/web-view?IM=${this.storeId}`, + }); }, /** 获取店铺分类 */