驭鑫网站重写 new yxsilicon

This commit is contained in:
2025-05-22 11:22:59 +08:00
parent 503b5f14b1
commit b4428e08df
2 changed files with 87 additions and 64 deletions

View File

@@ -230,7 +230,7 @@ body{
box-shadow: 0 4px 24px rgba(54,198,240,0.10);
display: flex;
align-items: center;
padding: 0 0;
padding: 0;
overflow: hidden;
background: linear-gradient(
90deg,
@@ -246,9 +246,11 @@ body{
overflow-x: hidden;
white-space: nowrap;
flex: 1;
padding: 1vw 3vw; /* 左右各加3vw保证两侧有足够空间 */
scrollbar-width: none;
-ms-overflow-style: none;
/* 稍微增加边距,确保不被按钮遮挡 */
padding-left: 2vw;
padding-right: 2vw;
}
.brand-carousel-container::-webkit-scrollbar {
display: none;
@@ -291,8 +293,9 @@ body{
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 2;
z-index: 5;
width: 2vw;
min-width: 32px;
height: 100%;
border: none;
background: #fff;
@@ -307,6 +310,7 @@ body{
margin-left: 0;
color: #00A0D2;
text-align: center;
background: rgba(255,255,255,0.9); /* 半透明背景 */
}
.brand-btn.left { left: 0px; }
.brand-btn.right { right: 0px; }