style(ui): 为文本元素添加默认字体粗细

为多个文本组件添加 `fontWeight: "normal"` 属性,统一界面字体样式。
主要修改了资产概览、盈亏统计等区域的文本元素,确保视觉一致性。
This commit is contained in:
2026-04-06 01:09:04 +08:00
parent 822c277a5c
commit 396668aa43
3 changed files with 43 additions and 14 deletions

View File

@@ -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"

View File

@@ -65,7 +65,7 @@ deploy/deploy_server.sh backend # 仅部署后端
### Flutter 应用 (`flutter_monisuo/lib/`)
- **状态管理**ProviderChangeNotifier`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。

View File

@@ -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": {