packageBookService/pages/bookServices/list/index.js
@@ -38,6 +38,29 @@ value: [], options: [], }, sortList: { value: '', options: [{ value: '', label: '综合排序', }, { value: '1', label: '名称正序' }, { value: '2', label: '名称倒叙' }, { value: '3', label: '出版时间正序' }, { 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,