From d61a31af1b8a220af669c818f11b6a13c1fb8dba Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 26 三月 2024 16:15:36 +0800 Subject: [PATCH] 图书详情页布局调整 --- packageBookService/pages/bookServices/examination/questionOptions/index.js | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionOptions/index.js b/packageBookService/pages/bookServices/examination/questionOptions/index.js index 88d1ec6..15acec1 100644 --- a/packageBookService/pages/bookServices/examination/questionOptions/index.js +++ b/packageBookService/pages/bookServices/examination/questionOptions/index.js @@ -64,7 +64,7 @@ questionCardState: false, setUpPopup: false, testReportState: false, - sliderValue: 10, + sliderValue: 36, useTime: '', radioItem: 'daytime' }, @@ -166,10 +166,8 @@ }, // 婊戝潡鍙樺寲 onChangeSlider(e) { - console.log(e); - this.setData({ - sliderValue: e.detail.value - }) + const value = e.detail.value + this.triggerEvent('onChangeSlider', { value }) }, // 璁剧疆閬僵灞傜偣鍑� onSetUpChange(e) { @@ -224,6 +222,9 @@ }, // 搴曢儴鎻愪氦鎸夐挳 submitBtn() { + this.setData({ + noReady: 0 + }) // 鎴戠殑閿欓鍜屾敹钘� 鐩存帴璧版彁浜ら�昏緫 if (this.properties.answerType == 'collectQuestion' || this.properties.answerType == 'errorQuestion') { this.submitPaper() -- Gitblit v1.9.1