From 9e5a84a4e41d7ab2cb820c7f77122f69a9d036dd Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 26 三月 2024 20:15:09 +0800 Subject: [PATCH] 图书列表、详情代码修改 --- packageBookService/pages/bookServices/examination/questionList/index.js | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionList/index.js b/packageBookService/pages/bookServices/examination/questionList/index.js index b489b78..ec3a161 100644 --- a/packageBookService/pages/bookServices/examination/questionList/index.js +++ b/packageBookService/pages/bookServices/examination/questionList/index.js @@ -16,13 +16,21 @@ type: Number, value: 1 }, - isNight:{ - type:Boolean, - value:false + isNight: { + type: Boolean, + value: false }, - answerType:{ - type:Boolean, - value:'' + answerType: { + type: String, + value: '' + }, + sliderValue: { + type: Number, + } + }, + observers: { + 'questionList': function (newValue) { + console.log(newValue); } }, created() { @@ -33,6 +41,7 @@ */ data: { inputstyle: 'border: 2rpx solid rgba(220,220,220,1);border-radius: 12rpx;', + shortAnswer: 'font-size: 28rpx', placeholderstyle: "font-size:28rpx", current: 2, autoplay: true, -- Gitblit v1.9.1