| | |
| | | }, |
| | | }); |
| | | } |
| | | // if (!this.data.isBuyBank) return wx.showToast({ |
| | | // icon: 'error', |
| | | // title: '请先购买题库', |
| | | // }) |
| | | if (!this.data.isBuyBank) return wx.showToast({ |
| | | icon: 'error', |
| | | title: '请先购买题库', |
| | | }) |
| | | wx.showLoading({ |
| | | title: "加载中", |
| | | }); |
| | |
| | | if (value.refCode == "psychology") { |
| | | const listName = value.name |
| | | const listId = value.id |
| | | const bookId = this.data.bookInfo.id |
| | | const bookName = this.data.bookInfo.name |
| | | const formPath = this.data.tab |
| | | wx.navigateTo({ |
| | | url: `/packageBookService/pages/psychologyAnswer/psychologyAnswer?listName=${ |
| | | listName |
| | | }&listId=${listId}` |
| | | listName}&listId=${listId}&bookId=${bookId}&bookName=${bookName}&formPath=${formPath}` |
| | | }) |
| | | } else { |
| | | wx.navigateTo({ |