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