From 1fa2461678d7f93b88f5666c4898e5b6c72080f3 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 16 十二月 2024 10:21:06 +0800 Subject: [PATCH] 个人中心,班级、课程模块 --- packageBookService/pages/bookServices/examination/questionOptions/index.js | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionOptions/index.js b/packageBookService/pages/bookServices/examination/questionOptions/index.js index 085c692..47cb7cf 100644 --- a/packageBookService/pages/bookServices/examination/questionOptions/index.js +++ b/packageBookService/pages/bookServices/examination/questionOptions/index.js @@ -52,6 +52,12 @@ type: Boolean, value: false, }, + showId: { + type: String + }, + isShowDialog: { + type: Boolean + } }, /** @@ -75,7 +81,7 @@ 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 @@ -90,6 +96,12 @@ this.timeout(); } }, + isShowDialog: function (newValue, oldValue) { + if (newValue) + this.setData({ + testReportState: newValue, + }); + } }, created() {}, @@ -188,11 +200,6 @@ radioItem: e.detail.value, }); const value = e.detail.value == "night" ? true : false; - wx.setNavigationBarColor({ - backgroundColor: "#222", - frontColor: "#222", - }); - this.triggerEvent("changeBGColor", { value }); @@ -251,7 +258,8 @@ // wx.navigateBack(); } else if ( this.properties.answerType == "option" || - this.properties.answerType == "mock" + this.properties.answerType == "mock" || + this.properties.answerType == "interaction" ) { if (this.properties.submitStatus) return wx.navigateBack(); this.properties.questionDataList.forEach((item) => { -- Gitblit v1.9.1