''
liukangdong
2024-07-30 716097ebdc72ac8ec028df7a5a3a676f5fc3ad82
wechat_jiaxuan/pages/detailDis/product.js
@@ -11,15 +11,24 @@
    current: 0,
    id: '',
    origin: '',
    isFold: false,
    info: {},
    member: {},
    showShare: false
  },
  changeFold() {
    this.setData({ isFold: !this.data.isFold })
  },
  onLoadLogin(options) {
    this.getDetail(options.id, options.userId || '')
    actionDo({
      actionType: 'view',
      id: options.id
    })
    getMemberInfo().then(res => {
      this.setData({
        member: res.data
      })
    })
  },
  onLoad(options) {
@@ -30,10 +39,8 @@
    if (options.origin && options.origin == 'b') {
      this.setData({ origin: 'b' })
    }
    const member = wx.getStorageSync('member')
    this.setData({
      id: options.id,
      member
      id: options.id
    })
  },
  bindchange(e) {
@@ -62,9 +69,8 @@
  handleAction(e) {
    const actionType = e.currentTarget.dataset.code
    const {
      info
      info, member
    } = this.data
    const member = wx.getStorageSync('member')
    if (member.authStatus == '0') {
      return wx.navigateTo({
        url: '/pages/auth/auth',