增加租户官网模块

This commit is contained in:
hero920103 committed 2026-08-19 23:34:28 +08:00
1 parent ec5cf96d0b
commit 14f2e8b5c1
28 files changed
+3812 -7

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
// default 模板脚本:Banner 简单轮播
(function () {
var items = document.querySelectorAll('.yz-banner-item');
if (items.length === 0) return;
var idx = 0;
items[0].classList.add('active');
if (items.length === 1) return;
setInterval(function () {
items[idx].classList.remove('active');
idx = (idx + 1) % items.length;
items[idx].classList.add('active');
}, 4000);
})();