<scroll-view class="all_list_scroll" scroll-y lower-threshold="40" @scrolltolower="onScrollToLower">
<uni-load-more :status="status" :content-text="contentText" />
</scroll-view>
contentText: {
contentdown: '查看更多',
contentrefresh: '加载中',
contentnomore: '没有更多'
},
status: 'more',
total: 0,
pageNum: 1,
pageSize: 3,
onScrollToLower() {
if (this.status == 'noMore') {
return;
}
this.pageNum++;
console.log(this.pageNum)
this.getUnpublished();
},
if (this.corporateApproveStatus == 'wfb') {
this.total = res.total
this.tabList[1].count = res.total
if (this.unpublishedList.length == this.total) {
this.status = 'noMore'
return false;
} else {
this.status = 'more'
this.unpublishedList = this.unpublishedList.concat(res.records)
}