| | |
| | | // 获取二级分类 |
| | | this.getSecondList(`${options.assortCode}\\${options.stairCode}`); |
| | | this.getBookList(`${options.assortCode}\\${options.stairCode}`); |
| | | // 获取重点项目 |
| | | // 获取获奖情况 |
| | | this.getProjectList("bookClassification"); |
| | | this.getProjectList("newFormsTextbooks"); |
| | | }, |
| | |
| | | * 用户点击右上角分享 |
| | | */ |
| | | onShareAppMessage() {}, |
| | | onShareTimeline() {}, |
| | | goBack() { |
| | | wx.navigateBack(); |
| | | }, |
| | |
| | | "secondList.options": options, |
| | | }); |
| | | const second = [this.data.secondCode]; |
| | | console.log(second); |
| | | this.setData({ |
| | | "secondList.value": second, |
| | | }); |
| | | }); |
| | | }, |
| | | // 获取重点项目 |
| | | // 获取获奖情况 |
| | | getProjectList(type) { |
| | | this.setData({ |
| | | disabledProject: false, |
| | |
| | | this.setData({ |
| | | "newTextBook.options": options, |
| | | }); |
| | | console.log("重点项目", this.data.newTextBook); |
| | | console.log("获奖情况", this.data.newTextBook); |
| | | } |
| | | }); |
| | | }, |
| | |
| | | "||author*": this.data.searchValue, |
| | | "||isbn*": this.data.searchValue, |
| | | "||seriesName*": this.data.searchValue, |
| | | "||projectLeader*": this.data.searchValue |
| | | }; |
| | | } |
| | | const query = { |
| | |
| | | field: "state", |
| | | }, ], |
| | | sort, |
| | | coverSize: { |
| | | width: 180 |
| | | }, |
| | | paging: { |
| | | start: 0, |
| | | size: this.data.pageCount.page * 8, |
| | |
| | | }); |
| | | this.getBookList(this.data.path); |
| | | }, |
| | | // 重点项目改变 |
| | | // 获奖情况改变 |
| | | changeMajorProject(e) { |
| | | this.setData({ |
| | | backTop: "#assort-title", |
| | |
| | | }); |
| | | this.getBookList(this.data.path); |
| | | }, |
| | | // 重点项目重置 |
| | | // 获奖情况重置 |
| | | resetMajorProject() { |
| | | this.setData({ |
| | | "majorProjectList.value": [], |