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
@@ -868,10 +868,11 @@
"totalPnl": "總盈虧",
"statistics": "統計",
"orders": "訂單",
"matchedOrders": "已成交訂單",
"ordersButton": "訂單",
"viewStatistics": "查看統計",
"buyOrders": "買入訂單",
"sellOrders": "賣出訂單",
"matchedOrders": "匹配關係",
"filteredOrders": "被過濾訂單",
"filterWallet": "篩選錢包",
"filterTemplate": "篩選模板",
@@ -966,5 +967,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": "最小盈虧"
}
}