| | |
| | | showId: lastItem.id |
| | | }); |
| | | }, |
| | | |
| | | // 我的错题,收藏查看解析按钮 |
| | | viewParsing() { |
| | | if ( |
| | |
| | | radioChange(citem) |
| | | } |
| | | } |
| | | const listLength = this.data.questionDataList.length - 1 |
| | | if (this.data.currentIndex < listLength) { |
| | | this.setData({ |
| | | currentIndex: this.data.currentIndex + 1 |
| | | }) |
| | | } |
| | | }, |
| | | // 输入框触发 |
| | | onChangeInput(e) { |
| | |
| | | }); |
| | | this.setData({ |
| | | loading: false, |
| | | showDialog: false, |
| | | }); |
| | | this.setData({ |
| | | isShowDialog: true, |
| | | submitStatus: true, |
| | | }); |
| | |
| | | // 初始化函数 |
| | | async init(isReset) { |
| | | this.setData({ |
| | | isShowDialog: false, |
| | | loading: true, |
| | | }); |
| | | const questuionName = this.data.questuionName |
| | |
| | | }, |
| | | async restart() { |
| | | this.setData({ |
| | | isShowDialog: false, |
| | | currentIndex: 0, |
| | | submitStatus: false, |
| | | }); |