| | |
| | | info |
| | | } = this.data |
| | | console.log('点击了分享') |
| | | return { |
| | | path: '/pages/detailDis/case?id=' + info.id + '&userId=' + info.users.id |
| | | if(info.users && info.users.id){ |
| | | return { |
| | | path: '/pages/detailDis/case?id=' + info.id + '&userId=' + info.users.id |
| | | } |
| | | }else{ |
| | | return { |
| | | path: '/pages/detailDis/case?id=' + info.id |
| | | } |
| | | } |
| | | }, |
| | | handleAction(e) { |
| | |
| | | }) |
| | | }, |
| | | 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, |
| | | }) |
| | | }, |
| | | playVideo() { |