lll
liukangdong
2024-08-02 d0fa02f84591a3a7b88af725b1670bcded36b84d
wechat_jiaxuan/pages/consult/detail.js
@@ -31,6 +31,13 @@
      url: '/pages/design/design',
    })
  },
  onShareAppMessage() {
    let { info } = this.data
    console.log('点击了分享')
    return {
      path: '/pages/consult/detail?id=' + info.id + '&userId=' + info.users.id
    }
  },
  getDetail(id, userId) {
    getProductNewsInfo({ id, salesId: userId || null }).then(res => {
      this.setData({ info: res.data })
@@ -78,13 +85,6 @@
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {
  },
  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {
  }
})