| | |
| | | // this.getDetail(options.id, options.userId || '') |
| | | }, |
| | | handleDesign() { |
| | | const { member } = this.data |
| | | const { member, origin, info } = this.data |
| | | let path = '/pages/design/design' |
| | | if(origin != 'b' && info.users && info.users.id){ |
| | | path = `/pages/design/design?name=${info.users.iamUsername}` |
| | | } |
| | | if (!member.phone) { |
| | | wx.setStorageSync('tempPath', '/pages/design/design') |
| | | wx.setStorageSync('tempPath', path) |
| | | return wx.navigateTo({ |
| | | url: '/pages/auth/auth', |
| | | }) |
| | | } |
| | | wx.navigateTo({ |
| | | url: '/pages/design/design', |
| | | url: path, |
| | | }) |
| | | }, |
| | | onShareAppMessage() { |