作者 李芳银

修改商品跳转链接

... ... @@ -68,12 +68,13 @@ Page({
})
console.log(that.data.fx_user, that.data.id);
}
if (token) {
that.getDetailsContent()
that.getPingList()
} else {
that.getToken()
}
that.getDetailsContent()
that.getPingList()
// if (token) {
// } else {
// that.getToken()
// }
},
onShow: function () {
... ...
... ... @@ -46,11 +46,12 @@ Page({
})
console.log(options);
}
if (token) {
that.getDetailsContent()
} else {
that.getToken()
}
// if (token) {
// } else {
// that.getToken()
// }
that.getDetailsContent()
},
previewImage: function (e) {
var current = e.target.dataset.src;
... ... @@ -79,10 +80,11 @@ Page({
},
onShow: function () {
let token = wx.getStorageSync("token")
if (token) {
this.getPingList()
}
// let token = wx.getStorageSync("token")
// if (token) {
// }
this.getPingList()
},
GOcanvas() {
let id = this.data.id
... ...
... ... @@ -413,6 +413,10 @@ Page({
wx.navigateTo({
url: '/pages/detail/detail?id=' + goods_id
})
} else {
wx.navigateTo({
url: '/pages/productdetailsImg/productdetailsImg?id=' + goods_id
})
}
},
goPuDeails(e) {
... ...