修复bug
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s

This commit is contained in:
2025-12-16 15:43:00 +08:00
parent e4f509a9e5
commit ded748ca87
6 changed files with 301 additions and 285 deletions

View File

@@ -285,3 +285,6 @@
});
});
</script>
<script>
console.log('触发触发触发!!!!!!!!!!')
</script>

File diff suppressed because it is too large Load Diff

View File

@@ -5,6 +5,12 @@
width: 100%;
aspect-ratio: 16/9; /* 2560/1440=16/9核心比例约束 */
position: relative;
will-change: contents; /* 告诉浏览器该元素即将变化,提前优化 */
contain: layout paint; /* 限制重排重绘范围 */
}
.fs-img, .fs-video {
backface-visibility: hidden; /* 开启硬件加速 */
transform: translateZ(0); /* 硬件加速 */
}
.fs-box img {
width: 100%;

View File

@@ -7,6 +7,8 @@ body {
height: 100vh; */
background: #000;
overflow-x: hidden;
scroll-behavior: smooth !important;
-webkit-overflow-scrolling: touch !important;
/* padding: 0 !important;
margin:0 !important; */
/* width: 100vw !important; */
@@ -24,3 +26,7 @@ body {
transition: opacity 0.8s ease-out, transform 0.8s ease-out,
visibility 0.8s ease-out;
}
/* 18-19号防卡顿延迟19号动画 */
/* [data-order="19"] {
transition: all 0.3s ease-out 0.2s !important;
} */

View File

@@ -77,10 +77,10 @@
/* 移除定位相关的箭头位置控制Flex布局无需 */
.arrow-left {
margin-right: 2.32rem;
margin-right: 1rem;
}
.arrow-right {
margin-left: 2.32rem;
margin-left: 1rem;
}
/* 轮播下方文字区域(保留原有) */

View File

@@ -10,6 +10,7 @@ $(document).ready(function () {
// 初始化图片放大功能
initImageEnlarger();
console.log('触发')
});
/**