|
|
@ -829,12 +829,16 @@ |
|
|
|
//跳转京东小程序详情 |
|
|
|
//跳转京东小程序详情 |
|
|
|
toJDdetal() { |
|
|
|
toJDdetal() { |
|
|
|
wx.navigateToMiniProgram({ |
|
|
|
wx.navigateToMiniProgram({ |
|
|
|
appId: 'wx91d27dbf599dff74', |
|
|
|
appId: 'wx91d27dbf599dff74', //app.json内容 |
|
|
|
path: '/pages/item/detail/detail?sku=' + this.goods_sku_no, |
|
|
|
path: 'pages/union/proxy/proxy?spreadUrl=' + encodeURIComponent(this.goods.jd_short_url), |
|
|
|
|
|
|
|
extraData: { |
|
|
|
|
|
|
|
foo: 'bar' |
|
|
|
|
|
|
|
}, |
|
|
|
envVersion: 'release', |
|
|
|
envVersion: 'release', |
|
|
|
success(res) { |
|
|
|
success(res) { |
|
|
|
// 打开成功 |
|
|
|
// 打开成功 |
|
|
|
console.log(res); |
|
|
|
console.log(res); |
|
|
|
|
|
|
|
console.log("打开成功") |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|