From 6a7e1f5b8a08728860140652d442209f810d58e1 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期一, 01 四月 2024 16:12:21 +0800 Subject: [PATCH] 问题修改 --- 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