<div
ref="allBox"
style="height: 430px; overflow-y: auto"
@scroll="scrollEvent"
>
// 滚动条滚动事件
scrollEvent() {
let boxHeight = this.$refs.allBox.scrollHeight;
let scrollHeight =
this.$refs.allBox.scrollTop + this.$refs.allBox.clientHeight;
if (boxHeight - scrollHeight < 50) {
this.page++;
if (this.pageTotal > this.page) this.handleGetFeedbackList();
}
},