Commit Graph

13 Commits

Author SHA1 Message Date
42563c906c fix: 修复图标和标签语义问题
## P0 - 简繁体中文混用(6个文件)
- chart_page.dart: 6处简体→繁体(暂无数据、买入、卖出、加载失败等)
- mine_page.dart: 确定 → 確定
- menu_group1.dart: 确定 → 確定
- deposit_page.dart: 单笔最低充值 → 單筆最低充值、网络 → 網絡

## P1 - 图标库不一致(1个文件)
- register_page.dart: Material Icons 统一为 Lucide Icons
  - Icons.chevron_left → LucideIcons.arrowLeft
  - Icons.check → LucideIcons.check
  - Icons.shield → LucideIcons.shieldCheck
  - Icons.lock → LucideIcons.lock
  - Icons.close → LucideIcons.x
  - Icons.camera_alt → LucideIcons.camera

## P2 - hintText 重复(2个文件)
- register_page.dart: 推廣碼(選填) → 請輸入推廣碼(選填)
- asset_dialogs.dart: 聯繫方式 → 方便客服與您聯繫

## 检查结论
 所有图标与功能语义完全匹配
 所有简繁混用问题已修复
 所有图标库统一为 Lucide Icons
2026-04-08 12:41:00 +08:00
658f49e280 refactor: 批量替换 shadcn_ui 为 Material Design 组件
## 样式主题重点优化

### 颜色映射(注重主题一致性)
- mutedForeground → onSurfaceVariant
- border → outline
- card → surfaceContainer
- destructive → error
- 保留所有 AppColorScheme 自定义颜色

### 文本样式映射
- theme.textTheme.h1/muted/large → AppTextStyles.xxx(context)
- 统一使用项目定义的文本样式系统

### 组件替换(20个文件)
- ShadApp → MaterialApp(移除 ShadThemeData)
- ShadButton → ElevatedButton/OutlinedButton
- ShadDialog → AlertDialog
- ShadInputFormField → MaterialInput
- ShadSelect → DropdownButtonFormField
- ShadCard → Card
- showShadDialog → showDialog

### 依赖变更
- 移除:shadcn_ui: ^0.52.1
- 添加:lucide_icons_flutter: ^2.0.0

### 业务逻辑保护
 所有 onPressed/onChanged/validator 回调保持不变
 所有 controller/focusNode 数据绑定保持不变
 所有布局结构(Column/Row/Padding)保持不变
 仅替换 UI 组件层,业务逻辑完全保留
2026-04-08 12:24:24 +08:00
020a2bf352 feat: 充值/提现页面改为独立全屏页面,优化Toast提示 2026-04-07 04:24:39 +08:00
sion
27d5b753c5 111 2026-04-07 01:32:32 +08:00
sion
5ca1274607 111 2026-04-07 01:05:05 +08:00
9b9f165e81 优化 2026-04-06 20:54:21 +08:00
sion
d4b0c6c128 111 2026-04-06 10:43:01 +08:00
sion
93df15244a Merge remote-tracking branch 'origin/main'
# Conflicts:
#	flutter_monisuo/lib/ui/pages/asset/components/asset_dialogs.dart
#	flutter_monisuo/lib/ui/pages/asset/components/balance_card.dart
#	flutter_monisuo/lib/ui/pages/home/home_page.dart
2026-04-06 09:39:52 +08:00
sion
2bec680d94 111 2026-04-06 09:31:14 +08:00
cc4d36d374 refactor(ui): 移除快捷操作栏盈亏按钮,今日盈亏/总盈亏卡片已有点击跳转 2026-04-06 03:15:32 +08:00
7ed2435a4c refactor(theme): 迁移主题感知颜色至 ThemeExtension
- 创建 AppThemeColors ThemeExtension 类,统一管理主题感知颜色(涨跌色、卡片背景、渐变等)
- 从 AppColorScheme 移除主题感知辅助函数,仅保留静态颜色常量
- 在 AppTheme 中注册 ThemeExtension,支持深色/浅色主题工厂
- 重构所有 UI 组件使用 context.appColors 访问主题颜色,替代硬编码的 AppColorScheme 方法调用
- 移除组件中重复的 isDark 判断逻辑,简化颜色获取方式
- 保持向后兼容性,所有现有功能不变
2026-04-06 01:58:08 +08:00
f5ac578892 docs(theme): update documentation and clean up deprecated color scheme definitions
Removed outdated compatibility aliases and deprecated methods from AppColorScheme,
and updated CLAUDE.md to reflect new theme system requirements with centralized
color management and no hard-coded values in UI components.
2026-04-05 23:37:27 +08:00
02099d2a6a docs: relocate skills system documentation and refactor asset page components
Move skills system documentation from bottom to top of CLAUDE.md for better organization. Refactor Flutter asset page by extracting UI components into separate files and updating import structure for improved modularity.
2026-04-05 22:38:56 +08:00