This commit is contained in:
make
2025-05-05 17:28:28 +08:00
parent 74ccb5380b
commit bcf6ea9971
7 changed files with 74 additions and 27 deletions

View File

@@ -59,9 +59,6 @@ function isMobile() {
// 懒加载
document.addEventListener("DOMContentLoaded", function () {
$(".stui-header__user li,.stui-header__menu li").click(function () { $(this).find(".dropdown").toggle(); });
// 通用懒加载函数
function lazyLoad(elements, callback) {
const observer = new IntersectionObserver((entries, observer) => {