| | |
| | | list: [], |
| | | //分页 |
| | | page: 1, |
| | | limit: 12, |
| | | limit: 18, |
| | | pageTotalCount: 0, |
| | | bottomLoading: false, |
| | | isMoreData: false, |
| | |
| | | */ |
| | | onLoad(options) { |
| | | console.log(options); |
| | | this.getDataList(); |
| | | this.getDataList(false); |
| | | }, |
| | | |
| | | /** |
| | |
| | | } |
| | | }) |
| | | }, |
| | | goBookDetails(itemData) { |
| | | let info = itemData.currentTarget.dataset.info; |
| | | // wx.navigateTo({ |
| | | // url: "/pages/personalCenter/myMassage/massageDetail/index?id=" + info.id, |
| | | // }); |
| | | goBookDetails(e) { |
| | | const { book } = e.currentTarget.dataset; |
| | | wx.navigateTo({ |
| | | url: `/pages/bookServices/detail/index?id=${book.id}&name=${book.name}`, |
| | | }); |
| | | }, |
| | | |
| | | |