Commit Graph

12 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
dc6a8afc9a docs: 删除过时的功能规格文档
feat(ui): 重构资产页面UI,移除shadcn_ui依赖并简化设计

- 删除三个过时的功能规格文档(apply-new-styles.md、bottom-nav-labels.md、theme-dynamic-colors.md)
- 重构充值页面(deposit_page.dart):移除shadcn_ui依赖,简化表单验证和UI设计,使用动态主题颜色
- 重构划转页面(transfer_page.dart):移除复杂动画和shadcn_ui依赖,简化UI布局和交互逻辑
- 重构提现页面(withdraw_page.dart):移除shadcn_ui依赖,简化表单验证和网络选择器
- 重构我的页面相关组件:统一使用动态主题颜色,简化菜单项设计和KYC状态显示
- 所有页面现在使用Theme.of(context)获取动态颜色,支持明暗主题切换
- 移除硬编码的颜色引用,提高代码可维护性和主题一致性
2026-04-08 01:47:51 +08:00
sion
5ca1274607 111 2026-04-07 01:05:05 +08:00
152ef8d74f feat(ui): 优化转账页面百分比按钮布局和菜单样式
- 调整转账页面百分比按钮布局,将Expanded组件移到外层,使按钮宽度均匀分布
- 移除首页资产卡片充值按钮的加号图标,简化UI
- 优化个人中心菜单行样式,使用统一的surfaceCardHigh颜色并调整图标颜色
- 新增.claude/settings.local.json配置文件,添加Flutter版本检查和Python脚本权限
- 扩展.claude/settings.json中的Flutter分析工具路径配置
- 生成Flutter构建缓存文件,支持项目构建过程
2026-04-06 20:42:17 +08:00
7ed2435a4c refactor(theme): 迁移主题感知颜色至 ThemeExtension
- 创建 AppThemeColors ThemeExtension 类,统一管理主题感知颜色(涨跌色、卡片背景、渐变等)
- 从 AppColorScheme 移除主题感知辅助函数,仅保留静态颜色常量
- 在 AppTheme 中注册 ThemeExtension,支持深色/浅色主题工厂
- 重构所有 UI 组件使用 context.appColors 访问主题颜色,替代硬编码的 AppColorScheme 方法调用
- 移除组件中重复的 isDark 判断逻辑,简化颜色获取方式
- 保持向后兼容性,所有现有功能不变
2026-04-06 01:58:08 +08:00
822c277a5c 优化 2026-04-06 00:33:35 +08:00
7bbc75a457 优化 2026-04-06 00:24:54 +08:00
40ed445ae5 feat: add profit analysis page with monthly calendar view
Introduce a new profit analysis page featuring a monthly calendar view that displays daily profit/loss data. The page includes navigation controls to switch between months, loading states, and responsive design that adapts to both light and dark themes. Implements data fetching from asset service and visual indicators for profit trends.
2026-04-06 00:08:00 +08:00
a1e56887e5 feat(web): 构建Flutter Web应用并添加资金管理功能
- 生成Flutter Web构建产物,包括主应用文件、资源文件和CanvasKit支持
- 添加资金订单管理功能,支持资金充值和提现操作
- 更新管理后台界面,优化仪表板和订单页面显示
- 扩展后端API接口,增加资金相关服务和控制器
- 添加数据库索引优化查询性能
2026-04-05 23:58:01 +08:00
6822e92536 feat(theme): migrate to new theme system with static color methods
- Convert instance methods to static methods in AppColorScheme for
  getChangeColor and getChangeBackgroundColor
- Update main.dart to use ShadThemeData with AppColorScheme color
  schemes instead of createLight/DarkShadTheme functions
- Add app_theme.dart import to main.dart
- Refactor asset_card.dart and coin_card.dart to call static methods
  via AppColorScheme class
- Add app_spacing.dart import to action_buttons_row.dart
- Replace SizedBox with proper spacing constants in action buttons row
2026-04-05 23:47:56 +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