Commit Graph

15 Commits

Author SHA1 Message Date
bfd82b3c8a 降低交易页价格字号:32→24px,配合FittedBox自适应 2026-04-16 12:42:17 +08:00
05ee46a4c9 修复行情页BTC/ETH价格文字溢出:用FittedBox自适应缩放 2026-04-16 12:37:30 +08:00
1793fb727e 统一弹窗风格:Material Design 3 规范,消除颜色不一致
- 所有 AlertDialog 替换为 ModernDialog
- ConfirmDialog/AssetDialogs 去掉 GlassPanel,统一 surfaceContainer 背景
- 按钮统一 FilledButton + TextButton
- 修复 import 路径
2026-04-16 11:47:17 +08:00
dff698e9bb feat: 集成离线数字货币图标系统
 新功能:
- 下载16个主流币种图标(BTC, ETH, USDT, BNB, SOL等)
- 创建 CoinIcon 组件,支持离线图标和兜底显示
- 更新 CoinAvatar 组件,使用新的 CoinIcon
- 更新 market_page.dart 中的 _CoinAvatar 组件

📦 资源:
- 图标存放在 flutter_monisuo/assets/icons/crypto/
- 使用 Cryptocurrency Icons 开源图标库
- PNG 格式,128x128 像素

🎯 特性:
- 支持自定义大小
- 支持圆形背景
- 未找到图标时显示币种代码(兜底方案)
- 支持深色/浅色模式

📝 修改文件:
- 新增:flutter_monisuo/lib/ui/components/coin_icon.dart
- 新增:flutter_monisuo/assets/icons/crypto/*.png (16个)
- 修改:flutter_monisuo/pubspec.yaml
- 修改:flutter_monisuo/lib/ui/pages/trade/components/coin_avatar.dart
- 修改:flutter_monisuo/lib/ui/pages/market/market_page.dart

-  后端构建成功 (2.0s)
-  Flutter Web 构建成功 (24.1s)
- ⚠️ Admin: TypeScript类型错误(已知问题)
2026-04-07 03:39:20 +08:00
sion
5ca1274607 111 2026-04-07 01:05:05 +08:00
9b9f165e81 优化 2026-04-06 20:54:21 +08:00
sion
ee8979f471 111 2026-04-06 18:45:04 +08:00
sion
71c8689989 111 2026-04-06 16:33:03 +08:00
2bc6ff66e1 fix: 修复UI样式问题
- 首页:移除盈亏日历,福利中心卡片改为白色背景,查看按钮改为黄色
- 资产页面:余额卡片撑满宽度
- 底部导航栏:移除背景高亮,只保留图标和文字变化
- 行情页面:调整卡片文字大小和柱形图样式
- 交易页面:买入按钮白色文字,卖出按钮红色文字,优化输入框和百分比卡片样式,添加顶部间距
- 全局:移除渐变色,统一使用纯色背景
2026-04-06 11:21:10 +08:00
951d597057 fix(ui): 对齐所有页面样式到 Pencil 设计规范
transfer_page.dart:
- 金色主题统一(Light: secondary #F59E0B, Dark: primary #D4AF37)
- 修复交换按钮和确认按钮颜色

home_page.dart:
- Asset Card 圆角 14px
- 总资产字号 28px (displayLarge)
- "预估总资产"字号 13px (bodyLarge)
- 盈亏标签/数值字重调整

quick_actions_row.dart:
- padding 统一为 16px

welfare_center_page.dart:
- _statusBadge padding [6, 14]

trade_form_card.dart / price_card.dart:
- 样式细节对齐
2026-04-06 03:57:00 +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