From 40a5364c17b0bc0ae313cd55dd8f9d1e9e026d37 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Wed, 18 Mar 2026 18:16:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BD=BB=E5=BA=95=E6=B6=88=E9=99=A4?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E9=97=AA=E7=99=BD=20=E2=80=94=20=E5=85=A8?= =?UTF-8?q?=E9=9D=A2=E6=B8=85=E9=99=A4=E6=AE=8B=E7=95=99=E7=99=BD=E8=89=B2?= =?UTF-8?q?=E8=83=8C=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - html 元素加 background-color: #0A0C16(防弹性滚动露白) - common.css: nav-item-box、input-search、select-box 背景改深色 - theme.css: .box-shadow/.box-shadow-light 背景改深色 - 共修复 6 处白色背景残留 --- common/common.css | 17 +++++++++-------- common/reset.css | 1 + common/theme.css | 8 ++++---- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/common/common.css b/common/common.css index 14f14e2..451ad44 100644 --- a/common/common.css +++ b/common/common.css @@ -180,10 +180,10 @@ height: 96px; padding: 24px 20px; border-radius: 3px; - background: #fff; + background: rgba(30, 41, 59, 0.6); display: flex; cursor: pointer; - box-shadow: 0px 0px 8px rgba(52, 52, 52, 0.08); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); } .nav-item-box:hover .title { @@ -602,8 +602,8 @@ margin-bottom: 20px; width: 30%; height: 56px; - background: #FFFFFF; - border: 1px solid #38BDF8; + background: rgba(20, 24, 36, 0.9); + border: 1px solid rgba(56, 189, 248, 0.4); } .trademark-box .input-search input { @@ -634,8 +634,8 @@ height: 56px; margin-top: 30px; margin-bottom: 20px; - background: #fff; - border: 1px solid #38BDF8; + background: rgba(20, 24, 36, 0.9); + border: 1px solid rgba(56, 189, 248, 0.4); border-left: none; } @@ -691,8 +691,9 @@ top: 86px; left: 0; width: calc(50% + 124px); - background: #FEFFFF; - box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1); + background: rgba(14, 16, 26, 0.98); + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); + border: 1px solid rgba(255, 255, 255, 0.08); } .input-search .input-search-select .select-box-item { diff --git a/common/reset.css b/common/reset.css index 74925f4..19f5620 100644 --- a/common/reset.css +++ b/common/reset.css @@ -1,6 +1,7 @@ html { overflow-x: auto; overflow-y: scroll; + background-color: #0A0C16; } body, diff --git a/common/theme.css b/common/theme.css index aec908d..d6606cd 100644 --- a/common/theme.css +++ b/common/theme.css @@ -42,13 +42,13 @@ input { /* 盒子阴影 */ .box-shadow { - background: #FFFFFF; - box-shadow: 0px 0px 16px rgba(52, 52, 52, 0.16); + background: rgba(20, 28, 44, 0.8); + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); } .box-shadow-light { - background: #FFFFFF; - box-shadow: 0px 0px 8px rgba(52, 52, 52, 0.08); + background: rgba(20, 28, 44, 0.6); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); }