|
@@ -104,6 +104,27 @@ onMounted(() => {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}, 600)
|
|
}, 600)
|
|
|
|
+ // 多排列几次,看看能不能修复偶发的排列成一列的bug
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ const isotopeInst = $('.grid').isotope({
|
|
|
|
+ layoutMode: 'packery',
|
|
|
|
+ itemSelector: '.grid-item',
|
|
|
|
+ packery: {
|
|
|
|
+ horizontal: true,
|
|
|
|
+ // gutter: 10,
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }, 1200)
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ const isotopeInst = $('.grid').isotope({
|
|
|
|
+ layoutMode: 'packery',
|
|
|
|
+ itemSelector: '.grid-item',
|
|
|
|
+ packery: {
|
|
|
|
+ horizontal: true,
|
|
|
|
+ // gutter: 10,
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }, 1800)
|
|
})
|
|
})
|
|
|
|
|
|
/**
|
|
/**
|