详情页下拉
This commit is contained in:
parent
bb4e5c0bf9
commit
f672a7fc6e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user