From 396668aa431182f80a9ada04f41c2f1967884fde Mon Sep 17 00:00:00 2001 From: sion123 <450702724@qq.com> Date: Mon, 6 Apr 2026 01:09:04 +0800 Subject: [PATCH] =?UTF-8?q?style(ui):=20=E4=B8=BA=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E5=85=83=E7=B4=A0=E6=B7=BB=E5=8A=A0=E9=BB=98=E8=AE=A4=E5=AD=97?= =?UTF-8?q?=E4=BD=93=E7=B2=97=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为多个文本组件添加 `fontWeight: "normal"` 属性,统一界面字体样式。 主要修改了资产概览、盈亏统计等区域的文本元素,确保视觉一致性。 --- .claude/settings.json | 12 +++++++++++- CLAUDE.md | 2 +- pencil-new.pen | 43 +++++++++++++++++++++++++++++++------------ 3 files changed, 43 insertions(+), 14 deletions(-) diff --git a/.claude/settings.json b/.claude/settings.json index 617f532..aa6d783 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -28,7 +28,17 @@ "Bash(ssh root@8.155.172.147 \"tail -100 /www/wwwroot/logs/app.log\")", "Bash(mvn compile:*)", "Bash(git checkout:*)", - "Bash(flutter create:*)" + "Bash(flutter create:*)", + "Read(//d/projects/**)", + "Read(//d/SD/**)", + "Bash(cmd.exe /c \"where flutter\")", + "Bash(export PATH=\"$PATH:/d/flutter/bin:/c/flutter/bin:$HOME/flutter/bin\")", + "Bash(export PATH=\"$PATH:/d/flutter/bin\")", + "Bash(/d/flutter/bin/flutter analyze:*)", + "Bash(dart analyze:*)", + "Read(//d/flutter/bin/**)", + "Read(//c/flutter/bin/**)", + "Bash(find /d -maxdepth 3 -name \"flutter.bat\")" ], "additionalDirectories": [ "/Users/sion/Desktop/projects/monisuo/monisuo-admin/.git" diff --git a/CLAUDE.md b/CLAUDE.md index db7b5e2..6912579 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -65,7 +65,7 @@ deploy/deploy_server.sh backend # 仅部署后端 ### Flutter 应用 (`flutter_monisuo/lib/`) - **状态管理**:Provider(ChangeNotifier)— `providers/` 消费 `data/services/`,底层调用 `core/network/DioClient`。 - **主题样式**:前端禁止硬编码,新设计统一维护到theme目录的定义中,并尽可能复用设计主题。 -- **UI**:shadcn_ui + 自定义主题系统(`core/theme/`)。颜色集中管理在 `AppColorScheme`,组件过大,需要组件化,而不是堆积。 +- **UI**:shadcn_ui + 自定义主题系统(`core/theme/`)。颜色集中管理。组件过大,需要组件化,而不是堆积。 - **数据流**:`data/services/`(API 调用)→ `providers/`(状态)→ `ui/pages/`(视图)。 - 页面:auth、home、market、trade、asset、mine、orders、onboarding。 diff --git a/pencil-new.pen b/pencil-new.pen index 913d58f..3da9cdc 100644 --- a/pencil-new.pen +++ b/pencil-new.pen @@ -257,7 +257,8 @@ "fill": "$text-secondary", "content": "预估总资产 (USDT)", "fontFamily": "Inter", - "fontSize": 13 + "fontSize": 13, + "fontWeight": "normal" }, { "type": "icon_font", @@ -334,7 +335,8 @@ "fill": "$text-muted", "content": "≈ ¥90,523.18 CNY", "fontFamily": "Inter", - "fontSize": 12 + "fontSize": 12, + "fontWeight": "normal" } ] }, @@ -367,7 +369,8 @@ "fill": "$text-muted", "content": "今日盈亏", "fontFamily": "Inter", - "fontSize": 11 + "fontSize": 11, + "fontWeight": "normal" }, { "type": "text", @@ -410,7 +413,8 @@ "fill": "$text-muted", "content": "总盈亏", "fontFamily": "Inter", - "fontSize": 11 + "fontSize": 11, + "fontWeight": "normal" }, { "type": "text", @@ -1803,7 +1807,8 @@ "fill": "#94A3B8", "content": "预估总资产 (USDT)", "fontFamily": "Inter", - "fontSize": 13 + "fontSize": 13, + "fontWeight": "normal" }, { "type": "icon_font", @@ -1880,7 +1885,8 @@ "fill": "#64748B", "content": "≈ ¥90,523.18 CNY", "fontFamily": "Inter", - "fontSize": 12 + "fontSize": 12, + "fontWeight": "normal" } ] }, @@ -1913,7 +1919,8 @@ "fill": "#64748B", "content": "今日盈亏", "fontFamily": "Inter", - "fontSize": 11 + "fontSize": 11, + "fontWeight": "normal" }, { "type": "text", @@ -1956,7 +1963,8 @@ "fill": "#64748B", "content": "总盈亏", "fontFamily": "Inter", - "fontSize": 11 + "fontSize": 11, + "fontWeight": "normal" }, { "type": "text", @@ -10657,7 +10665,8 @@ "fill": "$text-secondary", "content": "预估总资产 (USDT)", "fontFamily": "Inter", - "fontSize": 13 + "fontSize": 13, + "fontWeight": "normal" }, { "type": "icon_font", @@ -10734,7 +10743,8 @@ "fill": "$text-muted", "content": "≈ ¥90,523.18 CNY", "fontFamily": "Inter", - "fontSize": 12 + "fontSize": 12, + "fontWeight": "normal" } ] }, @@ -10767,7 +10777,8 @@ "fill": "$text-muted", "content": "今日盈亏", "fontFamily": "Inter", - "fontSize": 11 + "fontSize": 11, + "fontWeight": "normal" }, { "type": "text", @@ -10810,7 +10821,8 @@ "fill": "$text-muted", "content": "总盈亏", "fontFamily": "Inter", - "fontSize": 11 + "fontSize": 11, + "fontWeight": "normal" }, { "type": "text", @@ -19264,6 +19276,13 @@ ] } ] + }, + { + "id": "N51tX", + "type": "ref", + "ref": "OuHL8", + "x": 1970, + "y": 0 } ], "themes": {