From f1e20feafa89c8d50af5e69c0333a9efc239ee49 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 01 四月 2024 14:09:11 +0800 Subject: [PATCH] 图书详情页bug修改,我的错题、收藏模式下答题卡添加题目类型,非单选题添加查看解析按钮 --- packageBookService/pages/bookServices/list/index.js | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/packageBookService/pages/bookServices/list/index.js b/packageBookService/pages/bookServices/list/index.js index f8279a2..9409fb6 100644 --- a/packageBookService/pages/bookServices/list/index.js +++ b/packageBookService/pages/bookServices/list/index.js @@ -38,6 +38,29 @@ value: [], options: [], }, + sortList: { + value: '', + options: [{ + value: '', + label: '缁煎悎鎺掑簭', + }, { + value: '1', + label: '鍚嶇О姝e簭' + }, + { + value: '2', + label: '鍚嶇О鍊掑彊' + }, + { + value: '3', + label: '鍑虹増鏃堕棿姝e簭' + }, + { + value: '3', + label: '鍑虹増鏃堕棿鍊掑彊' + } + ], + }, newTextBook: { value: [], options: [], @@ -469,6 +492,12 @@ }); this.getBookList(this.data.path); }, + // 鎺掑簭鍒囨崲 + onSortChange(e) { + this.setData({ + 'sortList.value': e.detail.value + }) + }, changeNewText(e) { this.setData({ 'newTextBook.value': e.detail.value, -- Gitblit v1.9.1