wechat_jiaxuan/pages/consult/detail.js
@@ -7,6 +7,7 @@ data: { bottomLift: 0, info: {}, detail: {}, showShare: false }, @@ -21,9 +22,17 @@ }) this.getDetail(options.id) }, handleDesign() { wx.navigateTo({ url: '/pages/design/design', }) }, getDetail(id) { getProductNewsInfo({ id }).then(res => { this.setData({ detail: res.data }) this.setData({ info: res.data }) wx.setNavigationBarTitle({ title: res.data.title }) }) }, openShare() {