From c275cc3b5e5ee6de96e6d49c9773ba45a4379167 Mon Sep 17 00:00:00 2001 From: QihuAI Design Date: Mon, 13 Jul 2026 18:19:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E5=B9=BF=E5=91=8A=E4=BD=8D?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E5=8F=B32/3=E5=86=85=E6=94=B6=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E2=80=94=E2=80=94=E5=8E=BBgrid=20gap=E4=BD=BF?= =?UTF-8?q?=E5=B7=A6=E8=BE=B9=E7=95=8C=E7=B4=A7=E8=B4=B4=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E5=8F=B3=E7=BC=98,=E5=8F=B3=E8=BE=B9=E7=95=8C=E8=B7=9D?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8F=B3=E7=BC=98=E5=86=85=E6=94=B632px,?= =?UTF-8?q?=E5=8A=A01px=E8=BE=B9=E6=A1=86=E5=BD=A2=E6=88=90=E7=8B=AC?= =?UTF-8?q?=E7=AB=8B=E7=9B=92=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/front/LandingPage.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/front/LandingPage.css b/frontend/src/pages/front/LandingPage.css index 12b83f6..3afdfc3 100644 --- a/frontend/src/pages/front/LandingPage.css +++ b/frontend/src/pages/front/LandingPage.css @@ -73,7 +73,7 @@ } .lp-hero-grid { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-2xl); - display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-4xl); align-items: center; + display: grid; grid-template-columns: 1fr 2fr; gap: 0; align-items: center; } .lp-eyebrow { display: inline-block; font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); @@ -89,7 +89,7 @@ .lp-stat-num { font-size: var(--text-xl); font-weight: 800; color: var(--color-text-primary); } .lp-stat-label { font-size: var(--text-sm); color: var(--color-text-tertiary); margin-top: 2px; } -.lp-hero-ad { display: flex; flex-direction: column; } +.lp-hero-ad { display: flex; flex-direction: column; padding-right: var(--space-3xl); } .lp-ad-head { display: flex; align-items: baseline; gap: var(--space-md); margin-bottom: var(--space-lg); flex-wrap: wrap; } .lp-ad-title { font-size: var(--text-lg); font-weight: 700; color: var(--color-text-primary); } .lp-ad-sub { font-size: var(--text-sm); color: var(--color-text-tertiary); } @@ -98,9 +98,9 @@ /* ===== 轮播广告位 ===== */ .lp-band { padding: var(--space-4xl) 0; } -.lp-carousel { position: relative; overflow: hidden; border-radius: var(--radius-xl); } +.lp-carousel { position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--color-border); } .lp-track { display: flex; transition: transform var(--transition-slow); } -.lp-slide { min-width: 100%; padding: var(--space-lg); } +.lp-slide { min-width: 100%; } .lp-carousel-card { border-radius: var(--radius-xl); padding: var(--space-4xl); color: #fff; position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; min-height: 280px;