| | |
| | | type: Object, |
| | | value: {}, |
| | | }, |
| | | storeInfo: { |
| | | type: String, |
| | | value: "", |
| | | }, |
| | | }, |
| | | |
| | | /** |
| | |
| | | }) |
| | | }, |
| | | async goTest(e) { |
| | | console.log(e, 666) |
| | | console.log(e.detail.value.item, 666) |
| | | const value = e.detail.value.item; |
| | | const token = wx.getStorageSync("jsek-token"); |
| | | if (!token) { |
| | |
| | | }); |
| | | // 获取章节下是否有题目 |
| | | let idPathList = []; |
| | | if (this.properties.storeInfo) { |
| | | idPathList.push({ |
| | | id: this.properties.bookInfo.id, |
| | | name: this.properties.bookInfo.name, |
| | | productLinkPath: value.productLinkPath, |
| | | type: value.type, |
| | | }) |
| | | } else { |
| | | let query = { |
| | | path: "*", |
| | | queryType: "*", |
| | |
| | | }); |
| | | }); |
| | | } |
| | | } |
| | | wx.hideLoading(); |
| | | wx.navigateTo({ |
| | | url: `/packageBookService/pages/bookServices/examination/examination?bookId=${ |
| | |
| | | this.properties.bookInfo.rootCmsItemId |
| | | }&idPathList=${JSON.stringify(idPathList)}&answerTitle=${ |
| | | value.name |
| | | }&answerType=${"option"}`, |
| | | }&answerType=${"option"}&storeInfo=${this.properties.storeInfo}`, |
| | | }); |
| | | }, |
| | | goMycollect(e) { |