This commit is contained in:
花有清香月有阴
2021-12-23 18:32:42 +08:00
parent a71d703836
commit 6f0ac11d5b

View File

@@ -114,11 +114,23 @@ export default {
uni.navigateTo({ url: `./DetailCard?id=${item.id}` }) uni.navigateTo({ url: `./DetailCard?id=${item.id}` })
}, },
seachObj(e) { seachObjs(e) {
this.areaId = e.id this.areaId = e.id
this.current = 1 this.current = 1
this.getList() this.getList()
}, },
handerSearch(e) {
this.keyword = e
this.current = 1
this.getList()
},
handerClear() {
this.keyword = ''
this.current = 1
this.getList()
},
}, },
onReachBottom() { onReachBottom() {
this.current = this.current + 1 this.current = this.current + 1