2026-02-14 18:59:36 +08:00

27 lines
744 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Wallet.vue
**路径**`src/views/Wallet.vue`
**路由**`/wallet`name: `wallet`
## 功能用途
钱包页,展示 Portfolio、Profit/Loss、Positions、Open orders、History。支持 Deposit/Withdraw 弹窗、搜索、筛选(如 Close Losses
## 核心能力
- Portfolio 卡片余额、Deposit/Withdraw 按钮
- Profit/Loss 卡片时间范围切换、ECharts 图表
- TabPositions、Open orders、History
- DepositDialog、WithdrawDialog 组件
## 使用方式
- 登录后点击 AppBar 余额或头像菜单进入
- 路由 `/wallet`
## 扩展方式
1. **真实数据**Positions、Orders、History 对接接口
2. **导出**History 支持导出 CSV
3. **筛选**:按市场、时间、盈亏等筛选