master
fanfan 1 month ago
parent 1d4f799be7
commit e6c8811113
  1. 54
      pages/goods/seckillDetail.vue

@ -213,7 +213,8 @@
</view>
</view>
<view class="footerCus firstBtn" v-else>
<view class="" v-if="setting.provider=='wxqykf' || setting.provider == 'ewmkf'" @click="handleContact">
<view class="" v-if="setting.provider=='wxqykf' || setting.provider == 'ewmkf'"
@click="handleContact">
<view class="cusIcon">
<image :src="$picUrl+'/static/user/customer.png'"></image>
</view>
@ -737,24 +738,39 @@
},
//
toJDdetal() {
// #ifdef MP-WEIXIN
wx.navigateToMiniProgram({
appId: 'wx91d27dbf599dff74', //app.json
path: 'pages/union/proxy/proxy?spreadUrl=' + encodeURIComponent(this.goods.jd_short_url),
extraData: {
foo: 'bar'
},
envVersion: 'release',
success(res) {
//
console.log(res);
console.log("打开成功")
}
})
// #endif
// #ifndef MP-WEIXIN
window.location.href = this.goods.link;
// #endif
if (this.goods.jd_short_url) {
wx.navigateToMiniProgram({
appId: 'wx91d27dbf599dff74', //app.json
path: 'pages/union/proxy/proxy?spreadUrl=' + encodeURIComponent(this.goods.jd_short_url),
extraData: {
foo: 'bar'
},
envVersion: 'release',
success(res) {
//
console.log(res);
console.log("打开成功")
}
})
// #ifndef MP-WEIXIN
window.location.href = this.goods.link;
// #endif
} else {
// #ifdef MP-WEIXIN
wx.navigateToMiniProgram({
appId: 'wx91d27dbf599dff74',
path: '/pages/item/detail/detail?sku=' + this.goods_sku_no,
envVersion: 'release',
success(res) {
//
console.log(res);
}
})
// #endif
// #ifndef MP-WEIXIN
window.location.href = this.goods.link;
// #endif
}
},
//
openPirce(type) {

Loading…
Cancel
Save