| | |
| | | type: String, |
| | | value: "", |
| | | }, |
| | | jslx: { |
| | | type: Boolean, |
| | | }, |
| | | }, |
| | | |
| | | /** |
| | |
| | | }) |
| | | }, |
| | | async goTest(e) { |
| | | 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) { |
| | | |
| | | if (this.properties.storeInfo || this.properties.jslx) { |
| | | idPathList.push({ |
| | | id: this.properties.bookInfo.id, |
| | | name: this.properties.bookInfo.name, |
| | |
| | | this.properties.bookInfo.rootCmsItemId |
| | | }&idPathList=${JSON.stringify(idPathList)}&answerTitle=${ |
| | | value.name |
| | | }&answerType=${"option"}&storeInfo=${this.properties.storeInfo}`, |
| | | }&answerType=${"option"}&storeInfo=${this.properties.storeInfo}&jslx=${this.properties.jslx}`, |
| | | }); |
| | | }, |
| | | goMycollect(e) { |