From 191c63a90b4254dc85e76799e0f05fd5d35dc547 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Sun, 23 Nov 2025 00:46:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8F=91=E5=8F=91=E8=BE=BE=20?= =?UTF-8?q?=E5=A4=A7=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/index.css | 6 +++--- js/tools.js | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/css/index.css b/css/index.css index 0fc2d20..6ca3016 100644 --- a/css/index.css +++ b/css/index.css @@ -343,7 +343,7 @@ box-shadow: 0 8px 32px rgba(15, 23, 42, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05); - border-radius: 20px; + border-radius: 0; /* 移除圆角 */ } .banner .banner-s .banner-list { @@ -374,9 +374,9 @@ } .banner-s .banner-list .banner-item:hover { - background: rgba(56, 189, 248, 0.08); + background: transparent; /* 移除毛玻璃背景 */ transform: translateY(-8px); - box-shadow: 0 12px 28px rgba(56, 189, 248, 0.15); + box-shadow: none; /* 移除阴影 */ } .banner-s .banner-list .banner-item:hover h5 { diff --git a/js/tools.js b/js/tools.js index 0a63546..72a2a12 100644 --- a/js/tools.js +++ b/js/tools.js @@ -20,7 +20,11 @@ $(function () { }); const mySwiper = new Swiper(".swiper", { loop: true, // 循环模式选项 - autoplay: true, + autoplay: { + delay: 5000, // 5秒自动切换 + disableOnInteraction: false, // 用户操作后继续自动播放 + }, + speed: 800, // 切换速度 // 如果需要分页器 pagination: { el: ".swiper-pagination",