详情页下拉
This commit is contained in:
@@ -1346,7 +1346,7 @@ const onPageSrcoll = (e) => {
|
||||
let scrollTop = body.scrollTop
|
||||
let clientHeight = body.clientHeight
|
||||
let offsetHeight = body.offsetHeight
|
||||
if (scrollTop + clientHeight === offsetHeight) {
|
||||
if (scrollTop + clientHeight >= offsetHeight-200) {
|
||||
if (loadMore.value) {
|
||||
loadMore.value = false
|
||||
pages.value += 1
|
||||
|
||||
Reference in New Issue
Block a user