| | |
| | | }, |
| | | product: { |
| | | value: '*', |
| | | |
| | | options: [ |
| | | { |
| | | value: '*', |
| | |
| | | navBarHeight: '', |
| | | barHeight: '', |
| | | windowHeight: '', |
| | | |
| | | }, |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | |
| | | console.log(this.data.bookExhibitionList.length, 'this.data.bookExhibitionList.length'); |
| | | // 更新数据 |
| | | this.setData({ |
| | | 'multipleSelect.options': singleSelectOptions, |
| | | }); |
| | | |
| | | |
| | | // |
| | | }, |
| | | |
| | | /** |
| | |
| | | */ |
| | | onShow() { |
| | | this.bookExhibitionGet() |
| | | |
| | | this.keyProjectsGet() |
| | | |
| | | }, |
| | | |
| | | /** |
| | |
| | | console.log(res, 'item'); |
| | | this.data.total = res.total |
| | | |
| | | // list.push(res.datas) |
| | | // list.push(res.datas) |
| | | console.log(res.datas.length); |
| | | |
| | | |
| | | if (res.datas.length == 0) { |
| | | this.setData({ |
| | | keynoteDisabled: true |
| | | }) |
| | | } |
| | | |
| | | const list = [...res.datas] |
| | | |
| | | this.setData({ |
| | | bookExhibitionList: list |
| | | }) |
| | | // 判断数据长度 |
| | | console.log(list.length, 'list.length'); |
| | | |
| | | |
| | | //取消 |
| | | wx.hideLoading() |
| | |
| | | if (this.data.keynoteValue) { |
| | | //如果有数据就清空并刷新页面 |
| | | this.data.keynoteValue = [] |
| | | |
| | | this.bookExhibitionGet(newValue) |
| | | this.onLoad() |
| | | console.log('true'); |
| | | } |
| | | |
| | | |
| | | |
| | | }, |
| | | |
| | | // 重点项目 |