| | |
| | | type: Boolean, |
| | | value: false, |
| | | }, |
| | | showId: { |
| | | type: String |
| | | } |
| | | }, |
| | | |
| | | /** |
| | |
| | | 2 * 60 * 60 * 1000 - this.properties.countdownTime |
| | | ), |
| | | }); |
| | | } else if (this.properties.answerType == "option") { |
| | | } else if (this.properties.answerType == "mock") { |
| | | this.setData({ |
| | | useTime: this.formatTime( |
| | | this.properties.mockSumTime - this.properties.countdownTime |
| | |
| | | radioItem: e.detail.value, |
| | | }); |
| | | const value = e.detail.value == "night" ? true : false; |
| | | wx.setNavigationBarColor({ |
| | | backgroundColor: "#222", |
| | | frontColor: "#222", |
| | | }); |
| | | |
| | | this.triggerEvent("changeBGColor", { |
| | | value |
| | | }); |