| | |
| | | if ( |
| | | newValue == 0 && |
| | | (this.properties.answerType == "option" || |
| | | this.properties.answerType == "mock") |
| | | this.properties.answerType == "mock") && !this.properties.submitStatus |
| | | ) { |
| | | this.timeout(); |
| | | } |
| | |
| | | onChangeSlider(e) { |
| | | const value = e.detail.value; |
| | | console.log(value); |
| | | this.triggerEvent("onChangeSlider", { value }); |
| | | this.triggerEvent("onChangeSlider", { |
| | | value |
| | | }); |
| | | }, |
| | | // 设置遮罩层点击 |
| | | onSetUpChange(e) { |
| | |
| | | frontColor: "#222", |
| | | }); |
| | | |
| | | this.triggerEvent("changeBGColor", { value }); |
| | | this.triggerEvent("changeBGColor", { |
| | | value |
| | | }); |
| | | }, |
| | | // 重做按钮 |
| | | resterBtn() { |
| | |
| | | this.properties.answerType == "errorQuestion" |
| | | ) { |
| | | this.submitPaper(); |
| | | return wx.navigateBack(); |
| | | // wx.navigateBack(); |
| | | } else if ( |
| | | this.properties.answerType == "option" || |
| | | this.properties.answerType == "mock" |
| | |
| | | this.submitPaper(); |
| | | }, |
| | | }, |
| | | }); |
| | | }); |