258653cac4
fix: 修复充值/提现图标含义错误
...
## 问题
- 充值显示 arrowUpRight(右上箭头),看起来像禁止符号
- 提现显示 arrowDownLeft(左下箭头),含义不直观
## 修复(2个文件)
### quick_actions_row.dart(首页快捷操作)
- 充值:arrowUpRight → arrowDownToLine(箭头向下到底线,资金入账)
- 提现:arrowDownLeft → arrowUpFromLine(箭头向上离开底线,资金转出)
### action_buttons_row.dart(资产页面操作按钮)
- 充值:arrowUpRight → arrowDownToLine
- 提现:arrowDownLeft → arrowUpFromLine
## 检查结果
✅ 底部导航图标全部正确(首页/行情/交易/资产/我的)
✅ 其他页面图标全部正确(划转/盈亏/账单等)
✅ 71处 LucideIcons 使用全部语义匹配
2026-04-08 13:09:43 +08:00
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
e4d20d5261
feat: 添加K线图功能 - interactive_chart + 多币种切换 + 技术指标(MA/EMA/BOLL/VOL)
2026-04-07 16:43:48 +08:00
34b203518b
fix: 资产卡片金额自适应缩放,防止换行
2026-04-07 15:24:00 +08:00
020a2bf352
feat: 充值/提现页面改为独立全屏页面,优化Toast提示
2026-04-07 04:24:39 +08:00
8862805348
feat: 首页和资产页面使用 CoinIcon 显示币种图标
...
✨ 修改内容:
- 首页 (home_page.dart): 持仓列表使用 CoinIcon 替换 CircleAvatar
- 资产持仓 (holdings_section.dart): 使用 CoinIcon 替换文字显示
🎨 效果:
- 首页:持仓卡片显示真实的币种图标
- 资产页面:持仓列表显示真实的币种图标
- 未找到图标时自动显示币种代码(兜底方案)
- ✅ Flutter Web 构建成功 (23.7s)
2026-04-07 03:45:50 +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
93f8d70084
merge: 合并远程更新,保留UI修复
...
- 解决 balance_card.dart 冲突:保留撑满宽度的修改
- 解决 home_page.dart 冲突:保留移除日历的修改
- 合并远程的新功能和改进
2026-04-06 11:22:54 +08:00
2bc6ff66e1
fix: 修复UI样式问题
...
- 首页:移除盈亏日历,福利中心卡片改为白色背景,查看按钮改为黄色
- 资产页面:余额卡片撑满宽度
- 底部导航栏:移除背景高亮,只保留图标和文字变化
- 行情页面:调整卡片文字大小和柱形图样式
- 交易页面:买入按钮白色文字,卖出按钮红色文字,优化输入框和百分比卡片样式,添加顶部间距
- 全局:移除渐变色,统一使用纯色背景
2026-04-06 11:21:10 +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
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