1793fb727e
统一弹窗风格:Material Design 3 规范,消除颜色不一致
...
- 所有 AlertDialog 替换为 ModernDialog
- ConfirmDialog/AssetDialogs 去掉 GlassPanel,统一 surfaceContainer 背景
- 按钮统一 FilledButton + TextButton
- 修复 import 路径
2026-04-16 11:47:17 +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
baf2d87e47
fix: 修复 register_page.dart 语法错误
2026-04-08 11:14:27 +08:00
97725cb768
feat: 改用 Material Design 3 标准输入框
...
- 创建 MaterialInput 和 MaterialPasswordInput 组件
- 移除 shadcn_ui 依赖,使用原生 Material 组件
- 添加圆角边框 + Focus 效果
- 添加浮动标签动画
- 改进登录和注册页面视觉体验
- 统一设计语言(Material Design 3)
2026-04-08 11:11:43 +08:00
sion
5ca1274607
111
2026-04-07 01:05:05 +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
d8cd38c4de
feat(theme): update color scheme with new Slate theme and improved surface hierarchy
...
Updated the app's color scheme to implement a new "Slate" theme with refined dark and light variants. Changed background colors from #0A0E14 to #0B1120 for dark mode and updated surface layer colors to follow Material Design 3 specifications. Modified text colors and outline variants for better contrast and accessibility. Updated font sizes in transaction details screen from 11px to 12px for improved readability.
2026-04-05 22:24:04 +08:00
sion
37290e7846
111
2026-04-04 21:19:29 +08:00
ed25bb2da4
refactor: 优化字号主题体系,参考成熟交易平台标准
...
- 重构主题字号体系 (h1-h4, body, amount等)
- 修复16个页面文件中的硬编码字号
- 新字号层级参考币安/OKX标准
- Display: 22/20/18px (总资产、价格)
- Headline: 15/14/13px (标题、副标题)
- Body: 13/12/11px (正文、辅助文字)
- Label: 11/10/9px (标签)
- Number: 22/16/13px (数字)
2026-04-01 12:49:17 +08:00
sion
54178e196e
111
2026-03-26 01:35:51 +08:00
sion
c02eca2999
111
2026-03-25 00:47:37 +08:00
6d7c4b0e93
refactor(theme): 移除硬编码颜色并统一使用主题系统
...
- 从多个页面移除对 `app_colors.dart` 的直接引用
- 在资产卡片和主页概览卡片中使用 `AppColorScheme.assetCardGradient` 替代硬编码渐变
- 在注册页面使用 `AppColorScheme` 和 `AppSpacing` 主题常量
- 移除未使用的导入以清理代码
2026-03-23 22:15:47 +08:00
b40c9f8360
feat(ui): 优化所有页面使用现代设计系统
...
- 使用 AppSpacing 替换硬编码间距
- 使用 AppRadius 替换硬编码圆角
- 使用 withValues(alpha:) 替换 withOpacity
- 优化 login_page, home_page, market_page, trade_page, asset_page, mine_page
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-23 15:37:59 +08:00
2fdd842b89
youhua
2026-03-23 00:08:19 +08:00
2610c1cfd2
youhua
2026-03-22 15:38:25 +08:00
c3f196ded4
feat: 添加业务分析后端接口
...
新增 AnalysisController 提供 6 个分析接口:
- /admin/analysis/profit - 盈利分析(交易手续费/充提手续费/资金利差)
- /admin/analysis/cash-flow - 资金流动趋势(按月统计充值/提现/净流入)
- /admin/analysis/trade - 交易分析(买入/卖出统计+趋势)
- /admin/analysis/coin-distribution - 币种交易分布
- /admin/analysis/user-growth - 用户增长分析(新增/活跃用户)
- /admin/analysis/risk - 风险指标(大额交易/异常提现/KYC/冻结账户)
- /admin/analysis/health - 综合健康度评分
更新 Mapper 添加分析查询方法:
- OrderFundMapper: 手续费统计、时间范围查询、大额交易、异常提现
- OrderTradeMapper: 交易金额统计、活跃用户、币种分布
前端 API 对接:
- 新增 6 个分析相关 Query hooks
- 更新 analytics.vue 使用真实数据
- 动态决策建议基于实际数据
2026-03-22 04:50:19 +08:00
0e95890d68
youhua
2026-03-22 02:14:55 +08:00
sion
ffac6fc267
refactor: 将前端从 uni-app x 重构为 Flutter
...
变更内容:
- 删除 uni-app x 项目 (app/ 目录)
- 新增 Flutter 项目 (flutter_monisuo/ 目录)
- 新增部署脚本 (deploy/ 目录)
Flutter 项目功能:
- 用户登录/注册
- 首页资产概览
- 行情币种列表
- 交易买卖操作
- 资产账户管理
- 充值/提现/划转
- 深色主题
- JWT Token 认证
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-22 00:21:21 +08:00