| | |
| | | this.getStaticsSum(); |
| | | this.getDataList(false); |
| | | this.getListCount() |
| | | } else { |
| | | wx.switchTab({ |
| | | url: '/pages/home/home', |
| | | }) |
| | | } |
| | | }) |
| | | } else { |
| | |
| | | const { |
| | | book |
| | | } = e.currentTarget.dataset; |
| | | console.log(book); |
| | | if (this.data.active == 0) { |
| | | wx.navigateTo({ |
| | | url: `/packageBookService/pages/bookServices/detail/index?id=${book.product.id}&name=${book.product.name}`, |
| | | }); |
| | | } |
| | | // if (this.data.active == 1) { |
| | | // wx.navigateTo({ |
| | | // url: `/pages/digitalCourses/digitalCoursesDetails/index?id=${book.product.id}`, |
| | | // }); |
| | | // } |
| | | if (this.data.active == 1) { |
| | | wx.navigateTo({ |
| | | url: `/pages/digitalCourses/digitalCoursesDetails/index?id=${book.product.id}&path=${book.product.linkPathList[1] + '\\' + book.product.id}`, |
| | | }); |
| | | } |
| | | if (this.data.active == 2) { |
| | | wx.navigateTo({ |
| | | url: `/pages/digitalTextbooks/digitalTextbooksDetails/index?id=${book.product.id}`, |