增加租户官网模块

This commit is contained in:
2026-08-19 23:34:28 +08:00
parent ec5cf96d0b
commit 14f2e8b5c1
28 changed files with 3812 additions and 7 deletions
+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);
})();