| | |
| | | const obj = { |
| | | storeInfo: "app.config.goodsStore", |
| | | path: item.pathList + '\\' + item.id, |
| | | coverSize: { |
| | | width: 260 |
| | | }, |
| | | // coverSize: { |
| | | // height: 205 |
| | | // }, |
| | | paging: { |
| | | start: 0, |
| | | size: 4 |
| | |
| | | }); |
| | | }, |
| | | goSubjectDetail(e) { |
| | | // return wx.showToast({ |
| | | // title: "建设中", |
| | | // icon: 'none', |
| | | // duration: 1000 |
| | | // }) |
| | | const item = e.currentTarget.dataset.book |
| | | console.log(item); |
| | | wx.navigateTo({ |
| | |
| | | }); |
| | | }, |
| | | goCourseDetail(e) { |
| | | // return wx.showToast({ |
| | | // title: "建设中", |
| | | // icon: 'none', |
| | | // duration: 1000 |
| | | // }) |
| | | const { |
| | | book |
| | | } = e.currentTarget.dataset; |
| | | wx.navigateTo({ |
| | | url: '/pages/digitalCourses/digitalCoursesDetails/index?id=' + book.id, |
| | | url: '/pages/digitalCourses/digitalCoursesDetails/index?id=' + book.id + '&path=' + book.idPath, |
| | | }); |
| | | }, |
| | | goReadBookDetail(e) { |
| | |
| | | url: '/pages/home/digitalRead/index' |
| | | }) |
| | | } else if (type == "zhuantitaolun") { |
| | | // return wx.showToast({ |
| | | // title: "建设中", |
| | | // icon: 'none', |
| | | // duration: 1000 |
| | | // }) |
| | | wx.navigateTo({ |
| | | url: '/pages/specialDiscussion/index' |
| | | }) |
| | | |
| | | } else if (type == "jingxuankecheng") { |
| | | // return wx.showToast({ |
| | | // title: "建设中", |
| | | // icon: 'none', |
| | | // duration: 1000 |
| | | // }) |
| | | wx.navigateTo({ |
| | | url: '/pages/digitalCourses/index?courseTypeActive=' + this.data.courseTypeActive |
| | | }) |