| | |
| | | // 获取图书列表 |
| | | getBookList(isReachBottom) { |
| | | let that = this; |
| | | this.setData({ |
| | | skeletonLoding: true |
| | | }) |
| | | let sort; |
| | | let pathObj = {}; |
| | | if (that.data.pathList.length) { |
| | |
| | | //高级分类选择 |
| | | onChangeIcon(e) { |
| | | this.setData({ |
| | | skeletonLoding: true, |
| | | bookList: [], |
| | | 'assortCheck.code': e.detail.value, |
| | | stairCode: '', |
| | | secondCode: '', |
| | | path: `${e.detail.value}`, |
| | | 'iconList.value': e.detail.value, |
| | | |
| | | }); |
| | | this.getBookList(false); |
| | | this.getStairList(this.data.assortCheck.code); |
| | |
| | | `${this.data.assortCheck.code}\\${e.detail.value}` : |
| | | this.data.assortCheck.code; |
| | | this.setData({ |
| | | skeletonLoding: true, |
| | | bookList: [], |
| | | pathList: [], |
| | | stairCode: e.detail.value, |
| | |
| | | }); |
| | | } |
| | | this.setData({ |
| | | skeletonLoding: true, |
| | | pathList: pathList, |
| | | 'secondList.value': e.detail.value, |
| | | }); |