From b591bc522d365b285facdfa325f3e0552854124e Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Sun, 24 May 2026 20:40:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E7=A6=81=E7=94=A8=E6=B7=B1?= =?UTF-8?q?=E8=89=B2=E6=A8=A1=E5=BC=8F=E8=87=AA=E5=8A=A8=E9=80=82=E9=85=8D?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8D=E6=B8=B2=E6=9F=93=E5=8F=A0=E5=B1=82?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flutter Web canvas 在系统深色模式下背景透明,导致底层 HTML 内容透出形成叠层。营销站点未声明 color-scheme,浏览器自动调色 也会破坏白色背景设计。 - client/web/index.html: 添加 color-scheme=light meta 及 body 白色背景 - web/index.html: 添加 color-scheme=light meta - web/assets/colors_and_type.css: :root 声明 color-scheme: light Co-Authored-By: Claude Sonnet 4.6 --- client/web/index.html | 7 +++++++ web/assets/colors_and_type.css | 2 ++ web/index.html | 1 + 3 files changed, 10 insertions(+) diff --git a/client/web/index.html b/client/web/index.html index 054802c..5b68c3d 100644 --- a/client/web/index.html +++ b/client/web/index.html @@ -19,6 +19,13 @@ + + diff --git a/web/assets/colors_and_type.css b/web/assets/colors_and_type.css index 4494430..9574df8 100644 --- a/web/assets/colors_and_type.css +++ b/web/assets/colors_and_type.css @@ -5,6 +5,8 @@ ========================================================================= */ :root { + color-scheme: light; + /* ---------- Brand: Primary (Slate Blue) ---------- */ /* Trustworthy enterprise blue with a slight slate cast. */ --brand-50: #EEF4FB; diff --git a/web/index.html b/web/index.html index 2b84e49..d6e9b51 100644 --- a/web/index.html +++ b/web/index.html @@ -3,6 +3,7 @@ + 岩美酒库管理系统 — 为酒行与酒店设计的库存管理平台