1
0

优化样式表,更新字体引用,调整背景色,增强响应式设计;更新首页轮播图,添加新图片;重构JavaScript功能,增加客服小部件;修复HTML结构,确保页面加载顺畅。

This commit is contained in:
2026-04-20 16:54:17 +08:00
parent 2356843b77
commit 12de99c55e
10 changed files with 199 additions and 80 deletions

View File

@@ -161,11 +161,6 @@ img {
max-width: 100%;
}
@font-face {
ß
src: url("/fonts/Flaticon.woff2") format("woff2"),
url("/fonts/themify.woff") format("woff");
}
/*--------------------------------------------------------------
#0.2 Global Elements
--------------------------------------------------------------*/
@@ -2832,6 +2827,7 @@ color:#ffffff;
display: flex;
position: relative;
z-index: 0;
background: #0d1f38;
}
@media (max-width: 991px) {
@@ -2848,7 +2844,10 @@ color:#ffffff;
.hero-slider .swiper-slide {
overflow: hidden;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-color: #0d1f38;
color: #fff;
}
@@ -2861,15 +2860,16 @@ color:#ffffff;
}
.hero-slider .slide-inner {
width: 100%;
width: 132%;
height: 100%;
position: absolute;
background-size: cover;
left: 0;
left: -16%;
top: 0;
z-index: 1;
background-position: center;
background-repeat: no-repeat;
background-color: #0d1f38;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
@@ -2880,6 +2880,25 @@ color:#ffffff;
-ms-flex-align: center;
align-items: center;
text-align: left;
will-change: transform;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
@media (max-width: 991px) {
.hero-slider .slide-inner {
width: 120%;
left: -10%;
}
}
@media (max-width: 767px) {
.hero-slider .slide-inner {
width: 112%;
left: -6%;
}
}
.hero-slider .swiper-button-prev,
@@ -3485,7 +3504,7 @@ color:#ffffff;
--------------------------------------------------------------*/
@media screen and (min-width: 992px) {
.features-section {
margin-top: -101px;
margin-top: -96px;
}
}