| | |
| | | item.checked = false |
| | | }) |
| | | wx.setStorageSync('enjoyList', enjoyList) |
| | | console.log(this.data.enjoyList) |
| | | this.initData() |
| | | }, |
| | | |
| | |
| | | } |
| | | }) |
| | | wx.setStorageSync('enjoyList', enjoyList) |
| | | |
| | | this.initData() |
| | | }, |
| | | itemClick(e) { |
| | |
| | | let that = this |
| | | getContentShareImg({ |
| | | articleId: obj.id + '&' + obj.joinType, |
| | | type: '1', |
| | | type: '0', |
| | | // pageUrl: path, |
| | | imgurl: obj.coverImage, |
| | | }).then(res => { |
| | |
| | | } |
| | | }) |
| | | wx.setStorageSync('enjoyList', enjoyListTemp) |
| | | |
| | | that.initData() |
| | | } |
| | | } |
| | |
| | | item.checked = !item.checked |
| | | }) |
| | | wx.setStorageSync('enjoyList', enjoyList) |
| | | |
| | | this.initData() |
| | | }, |
| | | openShare() { |