pifa
fanfan 1 month ago
parent d9d1caf3d4
commit 009436f340
  1. 8
      pages/goods/detail.vue
  2. 8
      pages/goods/seckillDetail.vue

@ -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("打开成功")
} }
}) })
}, },

@ -735,12 +735,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("打开成功")
} }
}) })
}, },

Loading…
Cancel
Save