修复下滚动图片闪烁
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s

This commit is contained in:
2025-12-16 11:08:06 +08:00
parent ae51682afe
commit e4f509a9e5
4 changed files with 36 additions and 22 deletions

View File

@@ -1,20 +1,20 @@
@font-face {
font-family: "HarmonyOS";
src: url("../fonts/HarmonyOS-Regular.otf") format("opentype");
src: url("//ow.static.f2b211.com/static/fonts/HarmonyOS-Regular.otf") format("opentype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "HarmonyOS-Bold";
src: url("../fonts/HarmonyOS-Bold.otf") format("opentype");
src: url("//ow.static.f2b211.com/static/fonts/HarmonyOS-Bold.otf") format("opentype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "HarmonyOS-Medium";
src: url("../fonts/HarmonyOS-Medium.otf") format("opentype");
src: url("//ow.static.f2b211.com/static/fonts/HarmonyOS-Medium.otf") format("opentype");
font-weight: normal;
font-style: normal;
}

View File

@@ -60,7 +60,7 @@
flex: 1;
width: 50%;
/* 固定宽高比710/210 ≈ 3.38反向则210/710≈29.58% */
aspect-ratio: 710/210;
aspect-ratio: 711/260;
overflow: hidden; /* 裁剪超出部分(可选) */
}

View File

@@ -15,11 +15,21 @@
position: absolute;
bottom: -60px; */
display: flex;
justify-content: center;
gap: 0.2rem;
flex-wrap: wrap;
/* justify-content: center;
gap: 0.2rem; */
min-width: 1280px;
}
.fs-box-img img {
.fs-h-img {
width: 100%;
display: flex;
justify-content: center;
gap: 0.2rem;
/* margin-top: 0.2rem; */
min-width: 1280px;
}
.fs-h-img img {
max-width: 7.1rem;
}
.fs-b-img {