From 716afca941d1a063e5905c5f690a6fa28260be62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Fri, 30 Oct 2026 11:58:32 +0800 Subject: [PATCH] feat: About page 7-block layout + CMS-matched CSS polish (stats bar, dark mission, CTA gradient) --- themes/trade-pro/blocks.css | 129 ++++++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) diff --git a/themes/trade-pro/blocks.css b/themes/trade-pro/blocks.css index f828b9d..03c7f8a 100644 --- a/themes/trade-pro/blocks.css +++ b/themes/trade-pro/blocks.css @@ -594,3 +594,132 @@ .sf-theme-trade-pro .sf-form-card{padding:20px 16px;border-radius:12px} .sf-theme-trade-pro .sf-map-embed iframe{height:280px} } + +/* ════════════════════════════════════════════════════ + About 页面美化 + ════════════════════════════════════════════════════ */ + +/* image_text 区块:双栏更协调 */ +.sf-theme-trade-pro .sf-section.sf-image_text .sf-image-text{ + gap:64px !important;align-items:center !important; +} +.sf-theme-trade-pro .sf-section.sf-image_text h2{ + font-size:clamp(24px,2.5vw,34px);font-weight:750;color:#0f2544;letter-spacing:-.5px; +} +.sf-theme-trade-pro .sf-section.sf-image_text .sf-image-side{ + border-radius:14px;box-shadow:0 12px 40px rgba(15,37,68,.08);overflow:hidden; + min-height:320px; +} +.sf-theme-trade-pro .sf-section.sf-image_text .sf-image-side img{ + width:100%;height:100%;object-fit:cover; +} + +/* stats 区块:更大气 */ +.sf-theme-trade-pro .sf-section.sf-stats{ + background:linear-gradient(135deg,#0874df,#0a5bb5) !important; + padding:0 !important;color:#fff; +} +.sf-theme-trade-pro .sf-section.sf-stats .sf-container{ + max-width:100% !important;padding:0 !important; +} +.sf-theme-trade-pro .sf-section.sf-stats .sf-stats{ + display:grid;grid-template-columns:repeat(4,1fr);gap:0;max-width:1200px;margin:0 auto; + padding:48px 32px;border:none; +} +.sf-theme-trade-pro .sf-section.sf-stats .sf-stats > div{ + text-align:center;padding:0 16px;border-right:1px solid rgba(255,255,255,.2); +} +.sf-theme-trade-pro .sf-section.sf-stats .sf-stats > div:last-child{border-right:none} +.sf-theme-trade-pro .sf-section.sf-stats .sf-stats strong{ + font-size:clamp(28px,3.5vw,44px);font-weight:750;color:#fff;letter-spacing:-1px; + display:block;margin-bottom:4px; +} +.sf-theme-trade-pro .sf-section.sf-stats .sf-stats span{ + color:rgba(255,255,255,.75);font-size:13px;letter-spacing:.05em;text-transform:uppercase;font-weight:600; +} + +/* richtext 正文排版 */ +.sf-theme-trade-pro .sf-section.sf-richtext .sf-prose{ + font-size:15px;line-height:1.8;color:#3d5067;max-width:860px;margin:0 auto; +} +.sf-theme-trade-pro .sf-section.sf-richtext h2{ + font-size:clamp(22px,2.5vw,30px);font-weight:750;color:#0f2544; + margin-bottom:20px;padding-bottom:12px;border-bottom:3px solid #0874df;display:inline-block; +} + +/* features 区块卡片化 */ +.sf-theme-trade-pro .sf-section.sf-features{ + background:linear-gradient(180deg,#f8faff,#fff); +} +.sf-theme-trade-pro .sf-section.sf-features .sf-feature{ + border-radius:14px;border:1px solid #e2e8f2; + box-shadow:0 4px 20px rgba(15,37,68,.04); + padding:28px 24px; + transition:transform .15s,box-shadow .15s; +} +.sf-theme-trade-pro .sf-section.sf-features .sf-feature:hover{ + transform:translateY(-2px);box-shadow:0 8px 32px rgba(15,37,68,.08); +} +.sf-theme-trade-pro .sf-section.sf-features .sf-feature > span{ + font-size:12px;font-weight:750;color:#0874df; + background:#edf7ff;padding:4px 12px;border-radius:99px;display:inline-block;margin-bottom:16px; +} +.sf-theme-trade-pro .sf-section.sf-features .sf-feature h3{ + font-size:18px;font-weight:700;color:#0f2544;margin:0 0 6px; +} +.sf-theme-trade-pro .sf-section.sf-features .sf-feature p{ + color:#5a6a7e;font-size:14px;line-height:1.6; +} + +/* applications_band 深色使命带 */ +.sf-theme-trade-pro .sf-section.sf-applications_band{ + background:linear-gradient(135deg,#0f2544,#0a3a7a) !important; + padding:64px 0 !important; +} +.sf-theme-trade-pro .sf-section.sf-applications_band h2{ + color:#fff;font-size:clamp(24px,3vw,36px);font-weight:750;letter-spacing:-.5px; +} +.sf-theme-trade-pro .sf-section.sf-applications_band .sf-kicker{ + color:#a8c8e8; +} +.sf-theme-trade-pro .sf-app-tile{ + background:rgba(255,255,255,.08) !important;border:1px solid rgba(255,255,255,.12) !important; + border-radius:14px;padding:24px 20px; + transition:background .15s; +} +.sf-theme-trade-pro .sf-app-tile:hover{background:rgba(255,255,255,.12) !important} +.sf-theme-trade-pro .sf-app-tile .sf-app-icon{ + color:#4dabff;font-size:24px;margin-bottom:12px; +} +.sf-theme-trade-pro .sf-app-tile h3{ + color:#fff;font-size:16px;font-weight:700;margin:0 0 4px; +} +.sf-theme-trade-pro .sf-app-tile p{ + color:rgba(255,255,255,.65);font-size:13px;line-height:1.5; +} + +/* CTA 按钮 */ +.sf-theme-trade-pro .sf-section.sf-cta{ + background:linear-gradient(135deg,#0874df,#0a5bb5) !important; + padding:56px 0 !important; +} +.sf-theme-trade-pro .sf-section.sf-cta h2{ + color:#fff;font-size:clamp(24px,3vw,34px);font-weight:750;letter-spacing:-.5px; +} +.sf-theme-trade-pro .sf-section.sf-cta p{ + color:rgba(255,255,255,.75); +} +.sf-theme-trade-pro .sf-cta-wrap .sf-button{ + background:#fff;color:#0874df !important;padding:16px 32px;border-radius:12px; + font-weight:700;box-shadow:0 6px 20px rgba(0,0,0,.15); + transition:transform .15s; +} +.sf-theme-trade-pro .sf-cta-wrap .sf-button:hover{ + transform:translateY(-1px); +} + +@media(max-width:900px){ + .sf-theme-trade-pro .sf-section.sf-stats .sf-stats{grid-template-columns:repeat(2,1fr);gap:24px} + .sf-theme-trade-pro .sf-section.sf-stats .sf-stats > div{border-right:none} + .sf-theme-trade-pro .sf-section.sf-image_text .sf-image-text{gap:28px !important} +}