中介 个人 搜索 求房源 新增底部加载提示
This commit is contained in:
@@ -6,7 +6,7 @@ const loadMore = (loadFunction) => {
|
||||
let scrollTop = body.scrollTop
|
||||
let clientHeight = body.clientHeight
|
||||
let offsetHeight = body.offsetHeight
|
||||
if (scrollTop + clientHeight === offsetHeight) {
|
||||
if (scrollTop + clientHeight >= offsetHeight-200) {
|
||||
loadFunction()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user