2
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-11-21 22:44:27 +08:00
parent f44e19284d
commit bb960dc101

View File

@@ -3,8 +3,8 @@
position: relative; position: relative;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
/* 确保 3D 地球在竖直方向不会被裁剪 */ /* 确保 3D 地球在竖直方向不会被裁剪,预留更大展示区域 */
min-height: 420px; min-height: 480px;
} }
.banner-cont .swiper-slide { .banner-cont .swiper-slide {
@@ -74,10 +74,10 @@
.banner-globe { .banner-globe {
position: absolute; position: absolute;
top: 50%; top: 50%;
right: 8%; /* 根据视觉调节,让地球更靠中间一点 */ right: 6%; /* 略向中间移动一点,留出更大的展示区域 */
transform: translateY(-50%); transform: translateY(-50%);
width: 360px; width: 420px;
height: 360px; height: 420px;
z-index: 20; /* 高于轮播图与文案层 */ z-index: 20; /* 高于轮播图与文案层 */
pointer-events: none; /* 不影响轮播图滑动与点击 */ pointer-events: none; /* 不影响轮播图滑动与点击 */
} }
@@ -86,8 +86,8 @@
@media (max-width: 1400px) { @media (max-width: 1400px) {
.banner-globe { .banner-globe {
right: 4%; right: 4%;
width: 320px; width: 360px;
height: 320px; height: 360px;
} }
} }