This commit is contained in:
@@ -343,7 +343,7 @@
|
|||||||
box-shadow:
|
box-shadow:
|
||||||
0 8px 32px rgba(15, 23, 42, 0.5),
|
0 8px 32px rgba(15, 23, 42, 0.5),
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
||||||
border-radius: 20px;
|
border-radius: 0; /* 移除圆角 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.banner .banner-s .banner-list {
|
.banner .banner-s .banner-list {
|
||||||
@@ -374,9 +374,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.banner-s .banner-list .banner-item:hover {
|
.banner-s .banner-list .banner-item:hover {
|
||||||
background: rgba(56, 189, 248, 0.08);
|
background: transparent; /* 移除毛玻璃背景 */
|
||||||
transform: translateY(-8px);
|
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 {
|
.banner-s .banner-list .banner-item:hover h5 {
|
||||||
|
|||||||
@@ -20,7 +20,11 @@ $(function () {
|
|||||||
});
|
});
|
||||||
const mySwiper = new Swiper(".swiper", {
|
const mySwiper = new Swiper(".swiper", {
|
||||||
loop: true, // 循环模式选项
|
loop: true, // 循环模式选项
|
||||||
autoplay: true,
|
autoplay: {
|
||||||
|
delay: 5000, // 5秒自动切换
|
||||||
|
disableOnInteraction: false, // 用户操作后继续自动播放
|
||||||
|
},
|
||||||
|
speed: 800, // 切换速度
|
||||||
// 如果需要分页器
|
// 如果需要分页器
|
||||||
pagination: {
|
pagination: {
|
||||||
el: ".swiper-pagination",
|
el: ".swiper-pagination",
|
||||||
|
|||||||
Reference in New Issue
Block a user