| | |
| | | actionType: 'view', |
| | | id: options.id |
| | | }) |
| | | getMemberInfo().then(res => { |
| | | this.setData({ |
| | | member: res.data |
| | | }) |
| | | }) |
| | | }, |
| | | onLoad(options) { |
| | | var app = getApp().globalData |
| | |
| | | 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) { |
| | |
| | | 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', |