KaTeX parse error: Expected '}', got 'EOF' at end of input: … var viewH =(window).height();//可见高度812
// console.log(viewH)
var contentH =
(window).scrollTop();//滚动高度177
// console.log(scrollTop)
var nr =$("#xl").height();//文本内容489
// console.log(nr)
if(contentH - viewH - scrollTop <= 0){
if(record.length != 0){
if(record.length == 10){
p = p + 1;
obtain();
}
}
}
});
2020-3-27原生JS/ZL5:上拉加载对scroll的实际运用
猜你喜欢
转载自blog.csdn.net/qq_25787687/article/details/105143970
今日推荐
周排行