wechat_staff/pages/detailDis/product.js
@@ -11,6 +11,7 @@ */ data: { bottomLift: 0, current: 0, id: '', info: {}, member: {}, @@ -85,6 +86,29 @@ }) } }, priviewBanner(e) { const url = e.currentTarget.dataset.url const { info } = this.data wx.previewImage({ urls: info.imageurlList, current: url }) }, bindchange(e) { this.setData({ current: e.detail.current }) }, priviewSpace(e) { const url = e.currentTarget.dataset.url const { info } = this.data wx.previewImage({ urls: info.imageurlList, current: url }) }, onShareAppMessage() { console.log('用户点击了分享'); },