Compare commits
4 Commits
5a83214a76
...
759a50c95a
| Author | SHA1 | Date | |
|---|---|---|---|
| 759a50c95a | |||
| 7ad0a9fa1d | |||
| 6c9941110f | |||
| 56d45d6d35 |
@@ -295,7 +295,6 @@ const onPageSrcoll = (e) => {
|
|||||||
let scrollTop = body.scrollTop
|
let scrollTop = body.scrollTop
|
||||||
let clientHeight = body.clientHeight
|
let clientHeight = body.clientHeight
|
||||||
let offsetHeight = body.offsetHeight
|
let offsetHeight = body.offsetHeight
|
||||||
|
|
||||||
if (scrollTop + clientHeight > offsetHeight - 100) {
|
if (scrollTop + clientHeight > offsetHeight - 100) {
|
||||||
if (loadMore.value) {
|
if (loadMore.value) {
|
||||||
loadMore.value = false
|
loadMore.value = false
|
||||||
|
|||||||
@@ -128,8 +128,7 @@ let list = ref(null)
|
|||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
listMasonryInstance = new Masonry(list.value, {
|
listMasonryInstance = new Masonry(list.value, {
|
||||||
itemSelector: '.item',
|
itemSelector: '.item',
|
||||||
gutter: 20,
|
gutter: 20
|
||||||
percentPosition: true
|
|
||||||
});
|
});
|
||||||
// let { type, data } = router.currentRoute.value.query
|
// let { type, data } = router.currentRoute.value.query
|
||||||
// let typeData = null
|
// let typeData = null
|
||||||
|
|||||||
Reference in New Issue
Block a user