wechat_jiaxuan/pages/consult/detail.js
@@ -20,11 +20,19 @@ this.setData({ bottomLift: app.bottomLift }) this.getDetail(options.id) this.getDetail(options.id, options.userId || '') }, getDetail(id) { getProductNewsInfo({ id }).then(res => { handleDesign() { wx.navigateTo({ url: '/pages/design/design', }) }, getDetail(id, userId) { getProductNewsInfo({ id, salesId: userId || null }).then(res => { this.setData({ info: res.data }) wx.setNavigationBarTitle({ title: res.data.title }) }) }, openShare() {