修复bug
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s
This commit is contained in:
@@ -284,4 +284,7 @@
|
|||||||
$('#top-country').hide();
|
$('#top-country').hide();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
</script>
|
||||||
|
<script>
|
||||||
|
console.log('触发触发触发!!!!!!!!!!')
|
||||||
</script>
|
</script>
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -5,6 +5,12 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
aspect-ratio: 16/9; /* 2560/1440=16/9,核心比例约束 */
|
aspect-ratio: 16/9; /* 2560/1440=16/9,核心比例约束 */
|
||||||
position: relative;
|
position: relative;
|
||||||
|
will-change: contents; /* 告诉浏览器该元素即将变化,提前优化 */
|
||||||
|
contain: layout paint; /* 限制重排重绘范围 */
|
||||||
|
}
|
||||||
|
.fs-img, .fs-video {
|
||||||
|
backface-visibility: hidden; /* 开启硬件加速 */
|
||||||
|
transform: translateZ(0); /* 硬件加速 */
|
||||||
}
|
}
|
||||||
.fs-box img {
|
.fs-box img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ body {
|
|||||||
height: 100vh; */
|
height: 100vh; */
|
||||||
background: #000;
|
background: #000;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
scroll-behavior: smooth !important;
|
||||||
|
-webkit-overflow-scrolling: touch !important;
|
||||||
/* padding: 0 !important;
|
/* padding: 0 !important;
|
||||||
margin:0 !important; */
|
margin:0 !important; */
|
||||||
/* width: 100vw !important; */
|
/* width: 100vw !important; */
|
||||||
@@ -24,3 +26,7 @@ body {
|
|||||||
transition: opacity 0.8s ease-out, transform 0.8s ease-out,
|
transition: opacity 0.8s ease-out, transform 0.8s ease-out,
|
||||||
visibility 0.8s ease-out;
|
visibility 0.8s ease-out;
|
||||||
}
|
}
|
||||||
|
/* 18-19号防卡顿:延迟19号动画 */
|
||||||
|
/* [data-order="19"] {
|
||||||
|
transition: all 0.3s ease-out 0.2s !important;
|
||||||
|
} */
|
||||||
|
|||||||
@@ -77,10 +77,10 @@
|
|||||||
|
|
||||||
/* 移除定位相关的箭头位置控制(Flex布局无需) */
|
/* 移除定位相关的箭头位置控制(Flex布局无需) */
|
||||||
.arrow-left {
|
.arrow-left {
|
||||||
margin-right: 2.32rem;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
.arrow-right {
|
.arrow-right {
|
||||||
margin-left: 2.32rem;
|
margin-left: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 轮播下方文字区域(保留原有) */
|
/* 轮播下方文字区域(保留原有) */
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
// 初始化图片放大功能
|
// 初始化图片放大功能
|
||||||
initImageEnlarger();
|
initImageEnlarger();
|
||||||
|
console.log('触发')
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -294,4 +295,4 @@ function initImageEnlarger() {
|
|||||||
$enlargeImg.hide();
|
$enlargeImg.hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user