@@ -130,19 +130,9 @@
this.listdata = []
this.total = 0
}
- this.status = "loadmore"
+ this.status = "nomore"
})
},
- // scroll-view到底部加载更多
- onreachBottom() {
- if(this.listdata.length < this.total){
- this.pageNo += 1
- this.searchHandle()
- }else{
- uni.showToast({ title: '已经到底了', icon: 'none' })
- this.status = "nomore"
- }
</script>