offect = 0;
length = 25;
total = 0;
isFinlsh = false;
//上拉加载
onReachBottom() {
if ((this.offect + this.length) < this.total) {
app.toast('正在加载----')
this.offect = this.offect + this.length;
this.isFinlsh = false;
//调用接口
this.getDate();
} else {
app.toast('没有更多数据了咯')
this.isFinlsh = true;
}
}