feat: 优化前端UI和功能

- 修复仓位轮询检查逻辑,增加2分钟延迟判断
- 统一订单页面为Tab切换模式,使用Modal展示
- 优化移动端统计UI,改为两列线性布局
- 简化过滤类型标签,移除括号说明
- 账户管理列表优化:钱包地址显示前6后4,移除API凭证和活跃订单列
- 修复复制按钮功能,添加降级方案和Toast提示
- 修复菜单层级问题,订单下拉直接显示已成交和已过滤订单
- 添加编辑功能Modal化
- 完善多语言支持
This commit is contained in:
WrBug
2025-12-09 06:23:51 +08:00
parent cdadce467e
commit cc41df2f24
16 changed files with 2711 additions and 139 deletions
+69 -1
View File
@@ -785,10 +785,11 @@
"totalPnl": "总盈亏",
"statistics": "统计",
"orders": "订单",
"matchedOrders": "已成交订单",
"ordersButton": "订单",
"viewStatistics": "查看统计",
"buyOrders": "买入订单",
"sellOrders": "卖出订单",
"matchedOrders": "匹配关系",
"filteredOrders": "已过滤订单",
"filterWallet": "筛选钱包",
"filterTemplate": "筛选模板",
@@ -883,5 +884,72 @@
"collapse": "收起",
"refresh": "刷新",
"list": "列表"
},
"copyTradingOrders": {
"title": "订单列表",
"buyOrders": "买入订单",
"sellOrders": "卖出订单",
"matchedOrders": "匹配关系",
"filteredOrders": "已过滤订单",
"statistics": "跟单关系统计",
"orderId": "订单ID",
"leaderTradeId": "Leader 交易ID",
"market": "市场",
"marketId": "市场ID",
"side": "方向",
"buyQuantity": "买入数量",
"buyPrice": "买入价格",
"buyAmount": "买入金额",
"sellQuantity": "卖出数量",
"sellPrice": "卖出价格",
"sellAmount": "卖出金额",
"matchedQuantity": "已匹配",
"remainingQuantity": "剩余",
"sellStatus": "卖出状态",
"status": "状态",
"statusFilled": "已完成",
"statusPartiallySold": "部分成交",
"statusFullySold": "全部成交",
"realizedPnl": "已实现盈亏",
"createdAt": "创建时间",
"matchedAt": "匹配时间",
"sellOrderId": "卖出订单ID",
"buyOrderId": "买入订单ID",
"priceInfo": "价格信息",
"buy": "买入",
"sell": "卖出",
"buyInfo": "买入信息",
"sellInfo": "卖出信息",
"matchInfo": "匹配信息",
"matched": "已匹配",
"remaining": "剩余",
"quantity": "数量",
"price": "价格",
"amount": "金额",
"filterMarketId": "筛选市场ID",
"filterSide": "筛选方向",
"filterStatus": "筛选状态",
"filterSellOrderId": "筛选卖出订单ID",
"filterBuyOrderId": "筛选买入订单ID",
"noBuyOrders": "暂无买入订单",
"noSellOrders": "暂无卖出订单",
"noMatchedOrders": "暂无匹配关系",
"fetchBuyOrdersFailed": "获取买入订单列表失败",
"fetchSellOrdersFailed": "获取卖出订单列表失败",
"fetchMatchedOrdersFailed": "获取匹配关系列表失败",
"fetchStatisticsFailed": "获取统计信息失败",
"noStatistics": "暂无统计数据",
"totalBuyOrders": "总买入订单数",
"totalSellOrders": "总卖出订单数",
"totalMatchedOrders": "总匹配订单数",
"totalBuyAmount": "总买入金额",
"totalSellAmount": "总卖出金额",
"totalPnl": "总盈亏",
"totalRealizedPnl": "总已实现盈亏",
"totalUnrealizedPnl": "总未实现盈亏",
"winRate": "胜率",
"averagePnl": "平均盈亏",
"maxPnl": "最大盈亏",
"minPnl": "最小盈亏"
}
}