From 78068d49c20a8b90db902d955f558af507eb8b96 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 11 四月 2024 16:06:12 +0800 Subject: [PATCH] 各页面添加骨架屏 --- packageBookService/pages/bookServices/examination/questionOptions/index.js | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionOptions/index.js b/packageBookService/pages/bookServices/examination/questionOptions/index.js index 40919c9..57fd7d0 100644 --- a/packageBookService/pages/bookServices/examination/questionOptions/index.js +++ b/packageBookService/pages/bookServices/examination/questionOptions/index.js @@ -75,7 +75,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 @@ -85,8 +85,9 @@ if ( newValue == 0 && (this.properties.answerType == "option" || - this.properties.answerType == "mock") + this.properties.answerType == "mock") && !this.properties.submitStatus ) { + debugger this.timeout(); } }, @@ -172,7 +173,9 @@ onChangeSlider(e) { const value = e.detail.value; console.log(value); - this.triggerEvent("onChangeSlider", { value }); + this.triggerEvent("onChangeSlider", { + value + }); }, // 璁剧疆閬僵灞傜偣鍑� onSetUpChange(e) { @@ -191,7 +194,9 @@ frontColor: "#222", }); - this.triggerEvent("changeBGColor", { value }); + this.triggerEvent("changeBGColor", { + value + }); }, // 閲嶅仛鎸夐挳 resterBtn() { @@ -244,7 +249,7 @@ this.properties.answerType == "errorQuestion" ) { this.submitPaper(); - return wx.navigateBack(); + // wx.navigateBack(); } else if ( this.properties.answerType == "option" || this.properties.answerType == "mock" @@ -305,4 +310,4 @@ this.submitPaper(); }, }, -}); +}); \ No newline at end of file -- Gitblit v1.9.1