| | |
| | | }, |
| | | }); |
| | | } |
| | | // if (!this.data.isBuyBank) return wx.showToast({ |
| | | // icon: 'error', |
| | | // title: '请先购买题库', |
| | | // }) |
| | | if (!this.data.isBuyBank) return wx.showToast({ |
| | | icon: 'error', |
| | | title: '请先购买题库', |
| | | }) |
| | | wx.showLoading({ |
| | | title: "加载中", |
| | | }); |
| | |
| | | wx.hideLoading(); |
| | | if (value.refCode == "psychology") { |
| | | const listName = value.name |
| | | const listId = value.id |
| | | wx.navigateTo({ |
| | | url: `/packageBookService/pages/psychologyAnswer/psychologyAnswer?listName=${ |
| | | listName |
| | | }&listId=${listId}` |
| | | listName}` |
| | | }) |
| | | } else { |
| | | wx.navigateTo({ |
| | |
| | | this.properties.bookInfo.rootCmsItemId |
| | | }&idPathList=${JSON.stringify(idPathList)}&answerTitle=${ |
| | | value.name |
| | | }&answerType=option&storeInfo=${this.properties.storeInfo}&jslx=${this.properties.jslx}`, |
| | | }&answerType=${value.refCode || 'option'}&storeInfo=${this.properties.storeInfo}&jslx=${this.properties.jslx}`, |
| | | }); |
| | | } |
| | | }, |