From 2d807404d1ddd01f46a227ef763b3c6f7da434fd Mon Sep 17 00:00:00 2001 From: wangdong <1551135706@qq.com> Date: Tue, 5 Nov 2024 14:17:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9C=8B=E5=90=8C=E6=AC=BEh5=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ext.json | 2 +- pages/goods/detail.vue | 2 ++ pages/goods/seckillDetail.vue | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ext.json b/ext.json index d1f4139..f2b22b7 100644 --- a/ext.json +++ b/ext.json @@ -1,6 +1,6 @@ { "extEnable": true, - "extAppid": "wxa3127ed5c3542a28", + "extAppid": "wx9f7e94fe11dc0c23", "ext": { "store_id": 10048 } diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index 34da214..0b445f8 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -828,6 +828,7 @@ //跳转京东小程序详情 toJDdetal() { if (this.goods.jd_short_url) { + // #ifdef MP-WEIXIN wx.navigateToMiniProgram({ appId: 'wx91d27dbf599dff74', //app.json内容 path: 'pages/union/proxy/proxy?spreadUrl=' + encodeURIComponent(this.goods.jd_short_url), @@ -841,6 +842,7 @@ console.log("打开成功") } }) + // #endif // #ifndef MP-WEIXIN window.location.href = this.goods.link; // #endif diff --git a/pages/goods/seckillDetail.vue b/pages/goods/seckillDetail.vue index 25a6021..39052fb 100644 --- a/pages/goods/seckillDetail.vue +++ b/pages/goods/seckillDetail.vue @@ -739,6 +739,7 @@ //跳转京东小程序详情 toJDdetal() { if (this.goods.jd_short_url) { + // #ifdef MP-WEIXIN wx.navigateToMiniProgram({ appId: 'wx91d27dbf599dff74', //app.json内容 path: 'pages/union/proxy/proxy?spreadUrl=' + encodeURIComponent(this.goods.jd_short_url), @@ -752,6 +753,7 @@ console.log("打开成功") } }) + // #endif // #ifndef MP-WEIXIN window.location.href = this.goods.link; // #endif