const fn1 = () => setTimeout(() => [...document.querySelectorAll('img')].forEach(item =>
new Promise((resolve) =>
new IntersectionObserver((entries) =>
entries.forEach((entry) => entry.isIntersecting && resolve({ bottom: entry.target.getBoundingClientRect().bottom, top: entry.target.getBoundingClientRect().top }))).observe(item)).then((rect) => (rect.bottom >= 0 && rect.top < document.documentElement.clientHeight && item.getAttribute('src') == 'https://img.quanminyanxuan.com/service/0e1e6b472d5f46d68c8e4318927d63f7.gif') && (item.src = item.getAttribute('data-src')))), 100)
document.addEventListener('scroll', fn1)