fixed 图片懒加载bug

This commit is contained in:
Vaica committed 2026-02-02 20:38:58 +08:00
1 parent 819b6d6e85
commit f8730d09e6
6 files changed
+216 -85

No files matched your search

+4 -3
View File
@@ -8,9 +8,10 @@ document.addEventListener('DOMContentLoaded', function() {
// 文章图片懒加载 (优先初始化,防止其他模块调用时出错)
if (typeof lazyLoadInit === 'function') {
lazyLoadInit({
offsetBottom: 800,
offsetTopm: 800,
showTime: 1100
offsetBottom: 50,
offsetTopm: 50,
showTime: 1100,
queueInterval: 100
});
} else {
console.warn('lazyLoadInit is not defined');