| | |
| | | }, |
| | | 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'); |
| | | } else { |
| | | // this.bookExhibitionGet(newValue); |
| | | // this.keyProjectsGet(newPrice); |
| | | console.log('fals'); |
| | | } |
| | | |
| | | |
| | | |
| | | }, |
| | | |
| | |
| | | this.setData({ |
| | | 'multipleSelect.value': e.detail.value, |
| | | }); |
| | | |
| | | }, |
| | | handleConfirm(event) { |
| | | |
| | |
| | | this.bookExhibitionGet() |
| | | }, |
| | | handleReset() { |
| | | |
| | | // 重置操作的处理逻辑 |
| | | this.data.keynoteValue = [] |
| | | console.log('重置操作'); |