官网改版上线:关于我们与联系我们页重构、首页AI主视觉v4、品牌标识与导航交互;同步测试与设计文档

这个提交包含在:
wikiboss
2026-11-05 16:04:20 +08:00
父节点 96a3f8b672
当前提交 e924c8d872
共有 39 个文件被更改,包括 2742 次插入 和 2591 次删除

查看文件

@@ -0,0 +1,22 @@
/* Keep the public navigation readable while content passes beneath it. */
(function () {
'use strict';
var root = document.documentElement;
var pending = false;
function update() {
root.classList.toggle('nhc-nav-scrolled', window.scrollY > 40);
pending = false;
}
function onScroll() {
if (!pending) {
pending = true;
window.requestAnimationFrame(update);
}
}
update();
window.addEventListener('scroll', onScroll, { passive: true });
window.addEventListener('pageshow', update);
}());