Commit Graph

225 Commits

Author SHA1 Message Date
bb893b4d54 build: 三端构建 - Dev环境
- 后端: mvn clean package -DskipTests 
- Flutter Web: flutter build web --release --dart-define=ENV=dev 
- Admin: Vue管理后台构建(存在TypeScript类型警告)⚠️
2026-04-06 11:56:29 +08:00
953de99060 build: Flutter Web dev 环境构建 2026-04-06 11:48:02 +08:00
5b0d03a54f Merge branch 'main' of http://8.155.172.147:3001/sion/monisuo 2026-04-06 11:47:20 +08:00
e69cc36b8d fix: 移除 BalanceCard 的 provider 参数
- BalanceCard 现在只需要 label 和 balance 参数
- 与远程分支保持一致
2026-04-06 11:47:07 +08:00
sion
b44067aff7 Merge remote-tracking branch 'origin/main' 2026-04-06 11:31:49 +08:00
sion
4f4f5df83e 111 2026-04-06 11:31:28 +08:00
cbdf023c80 fix: 修复 BalanceCard 参数错误
- 移除 asset_page.dart 中 BalanceCard 的 provider 参数
- 与合并后的 BalanceCard 接口保持一致
2026-04-06 11:25:46 +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
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
d09c1a2061 fix(ui): 对齐首页样式到 Pencil 设计规范
- Asset Card: padding 20px (was 24px)
- 充值按钮: cornerRadius 6px, padding [5,10], icon 13px, text 12px
- Quick Actions: 边框颜色 Light #E2E8F0, Dark #1E293B
- Quick Action Icons: 背景色 Light #F3F4F6, Dark #1E293B
- Quick Action Icons: 图标色 Light #4B5563
- cornerRadius: -lg (14px) for cards
2026-04-06 03:45:13 +08:00
ac8f4f2870 fix(ui): 修复分割线透明度问题
- 使用 ghostBorder 替代 outlineVariant.withAlpha(0.1)
- 提高分割线可见度
2026-04-06 03:42:14 +08:00
fabce57657 fix(ui): 修复多个UI样式问题
1. 修复 Light Mode 卡片背景色(surfaceCard: #FFFFFF)
2. 修复首页充值按钮颜色(使用主色实心背景+白色文字)
3. 修复'更多'和'资产详情'文字颜色(使用 text-muted)
4. 修复邀请码卡片背景色(使用琥珀色渐变)
5. 修复'复制邀请码'按钮文字颜色(使用 onPrimary)
2026-04-06 03:40:45 +08:00
8b512de7a6 style(ui): 对齐所有页面样式到 Pencil 设计规范
- 移除硬编码颜色,使用主题变量
- market_page.dart: 统一卡片背景使用主题变量
- welfare_center_page.dart: 使用 AppColorScheme.warning
- 添加缺失的 import
- Light/Dark 模式完全适配
2026-04-06 03:21:44 +08:00
cc4d36d374 refactor(ui): 移除快捷操作栏盈亏按钮,今日盈亏/总盈亏卡片已有点击跳转 2026-04-06 03:15:32 +08:00
773f699986 build: update Flutter web build 2026-04-06 02:53:34 +08:00
63668fcf63 refactor(theme): 优化主题配色方案并统一设计语言
- 更新 CLAUDE.md 中的技能系统执行逻辑,简化任务处理流程
- 重构 app_color_scheme.dart 中的颜色定义,将深色主题主色从专业蓝改为真金色,浅色主题主色从专业蓝改为深灰色
- 统一盈利颜色为绿色调色板,更新渐变和容器颜色以保持一致性
- 调整 app_theme_extension.dart 中的强调色引用,确保深色主题使用金色作为主强调色
- 优化颜色命名和注释,使设计意图更清晰
2026-04-06 02:50:48 +08:00
7ed2435a4c refactor(theme): 迁移主题感知颜色至 ThemeExtension
- 创建 AppThemeColors ThemeExtension 类,统一管理主题感知颜色(涨跌色、卡片背景、渐变等)
- 从 AppColorScheme 移除主题感知辅助函数,仅保留静态颜色常量
- 在 AppTheme 中注册 ThemeExtension,支持深色/浅色主题工厂
- 重构所有 UI 组件使用 context.appColors 访问主题颜色,替代硬编码的 AppColorScheme 方法调用
- 移除组件中重复的 isDark 判断逻辑,简化颜色获取方式
- 保持向后兼容性,所有现有功能不变
2026-04-06 01:58:08 +08:00
396668aa43 style(ui): 为文本元素添加默认字体粗细
为多个文本组件添加 `fontWeight: "normal"` 属性,统一界面字体样式。
主要修改了资产概览、盈亏统计等区域的文本元素,确保视觉一致性。
2026-04-06 01:09:04 +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
sion
7c5b588306 111 2026-04-05 23:37:38 +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
sion
d3f2424d1a Merge remote-tracking branch 'origin/main'
# Conflicts:
#	flutter_monisuo/lib/ui/pages/asset/asset_page.dart
#	flutter_monisuo/lib/ui/pages/orders/fund_orders_page.dart
2026-04-05 23:34:18 +08:00
sion
da0f9d6f5e 111 2026-04-05 23:28:38 +08:00
d98d3d59f2 build: update Flutter web build 2026-04-05 22:49:55 +08:00
c600730268 build: update Flutter web build 2026-04-05 22:46:59 +08:00
189609f337 fix(order): correct payment label text in fund order card
Updated the text label from '应收款项' (receivables) to '应付款' (payables) in the fund order card component to accurately reflect the payment direction. Also corrected a typo in the Chinese text for 'fund orders list'.
2026-04-05 22:42:21 +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
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
0c66b3725f 111 2026-04-05 21:01:42 +08:00
sion
e2624b845a Merge remote-tracking branch 'origin/main' 2026-04-05 19:44:57 +08:00
sion
2ea315cefb 111 2026-04-05 19:44:40 +08:00
sion
2fbc47117c 111 2026-04-05 19:43:31 +08:00
e7a7c7388b build: update Flutter web build 2026-04-05 06:22:23 +08:00
sion
5b9a80e3fe 111 2026-04-04 21:19:57 +08:00
sion
37290e7846 111 2026-04-04 21:19:29 +08:00
2850629e0d feat: 优化 2026-04-04 20:42:15 +08:00
682f5dc63b docs: 添加技能系统指引到项目文档
在CLAUDE.md文档中新增"技能系统"章节,说明在执行任务时应优先扫描`.agents/skills/`目录并遵循相关技能指引。该技能系统优先级高于默认行为但低于用户显式指令。
2026-04-04 13:27:47 +08:00
b218e28730 feat: 增加supower 2026-04-04 13:08:41 +08:00
85b49d7e50 fix: 修复刷新页面后需要重新登录的问题
- 业务层未授权响应不再自动清除用户数据
- 只有 HTTP 401 错误才会触发登出
- 避免误判导致登录状态丢失
2026-04-01 13:01:17 +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
3f4d2d8b9a fix: token过期自动跳转登录页
- dio_client.dart: 401错误时触发onUnauthorized回调
- main.dart: 连接回调到AuthProvider.forceLogout
- 完整链路: 401 -> 清除token -> 强制登出 -> 显示LoginPage
2026-04-01 11:26:07 +08:00
ed98db66cf fix: 修复划转页面卡片互换动画效果
- 重写 AnimatedSwitcher 实现,移除多余的 Container 包裹
- 直接在 _buildAccountCard 上设置 ValueKey
- 使用 SlideTransition + FadeTransition 组合
- 上方卡片从上滑入,下方卡片从下滑入
- 动画时长 300ms,easeInOut 曲线
- 动画效果更流畅自然,卡片互换位置清晰可见
2026-03-30 11:52:35 +08:00