feat: 优化前端UI和功能
- 修复仓位轮询检查逻辑,增加2分钟延迟判断 - 统一订单页面为Tab切换模式,使用Modal展示 - 优化移动端统计UI,改为两列线性布局 - 简化过滤类型标签,移除括号说明 - 账户管理列表优化:钱包地址显示前6后4,移除API凭证和活跃订单列 - 修复复制按钮功能,添加降级方案和Toast提示 - 修复菜单层级问题,订单下拉直接显示已成交和已过滤订单 - 添加编辑功能Modal化 - 完善多语言支持
This commit is contained in:
@@ -868,10 +868,11 @@
|
||||
"totalPnl": "Total P&L",
|
||||
"statistics": "Statistics",
|
||||
"orders": "Orders",
|
||||
"matchedOrders": "Matched Orders",
|
||||
"ordersButton": "Orders",
|
||||
"viewStatistics": "View Statistics",
|
||||
"buyOrders": "Buy Orders",
|
||||
"sellOrders": "Sell Orders",
|
||||
"matchedOrders": "Matched Orders",
|
||||
"filteredOrders": "Filtered Orders",
|
||||
"filterWallet": "Filter Wallet",
|
||||
"filterTemplate": "Filter Template",
|
||||
@@ -966,5 +967,72 @@
|
||||
"collapse": "Collapse",
|
||||
"refresh": "Refresh",
|
||||
"list": "List"
|
||||
},
|
||||
"copyTradingOrders": {
|
||||
"title": "Order List",
|
||||
"buyOrders": "Buy Orders",
|
||||
"sellOrders": "Sell Orders",
|
||||
"matchedOrders": "Matched Orders",
|
||||
"filteredOrders": "Filtered Orders",
|
||||
"statistics": "Copy Trading Statistics",
|
||||
"orderId": "Order ID",
|
||||
"leaderTradeId": "Leader Trade ID",
|
||||
"market": "Market",
|
||||
"marketId": "Market ID",
|
||||
"side": "Side",
|
||||
"buyQuantity": "Buy Quantity",
|
||||
"buyPrice": "Buy Price",
|
||||
"buyAmount": "Buy Amount",
|
||||
"sellQuantity": "Sell Quantity",
|
||||
"sellPrice": "Sell Price",
|
||||
"sellAmount": "Sell Amount",
|
||||
"matchedQuantity": "Matched",
|
||||
"remainingQuantity": "Remaining",
|
||||
"sellStatus": "Sell Status",
|
||||
"status": "Status",
|
||||
"statusFilled": "Filled",
|
||||
"statusPartiallySold": "Partially Sold",
|
||||
"statusFullySold": "Fully Sold",
|
||||
"realizedPnl": "Realized PnL",
|
||||
"createdAt": "Created At",
|
||||
"matchedAt": "Matched At",
|
||||
"sellOrderId": "Sell Order ID",
|
||||
"buyOrderId": "Buy Order ID",
|
||||
"priceInfo": "Price Info",
|
||||
"buy": "Buy",
|
||||
"sell": "Sell",
|
||||
"buyInfo": "Buy Info",
|
||||
"sellInfo": "Sell Info",
|
||||
"matchInfo": "Match Info",
|
||||
"matched": "Matched",
|
||||
"remaining": "Remaining",
|
||||
"quantity": "Quantity",
|
||||
"price": "Price",
|
||||
"amount": "Amount",
|
||||
"filterMarketId": "Filter Market ID",
|
||||
"filterSide": "Filter Side",
|
||||
"filterStatus": "Filter Status",
|
||||
"filterSellOrderId": "Filter Sell Order ID",
|
||||
"filterBuyOrderId": "Filter Buy Order ID",
|
||||
"noBuyOrders": "No buy orders",
|
||||
"noSellOrders": "No sell orders",
|
||||
"noMatchedOrders": "No matched orders",
|
||||
"fetchBuyOrdersFailed": "Failed to fetch buy orders",
|
||||
"fetchSellOrdersFailed": "Failed to fetch sell orders",
|
||||
"fetchMatchedOrdersFailed": "Failed to fetch matched orders",
|
||||
"fetchStatisticsFailed": "Failed to fetch statistics",
|
||||
"noStatistics": "No statistics available",
|
||||
"totalBuyOrders": "Total Buy Orders",
|
||||
"totalSellOrders": "Total Sell Orders",
|
||||
"totalMatchedOrders": "Total Matched Orders",
|
||||
"totalBuyAmount": "Total Buy Amount",
|
||||
"totalSellAmount": "Total Sell Amount",
|
||||
"totalPnl": "Total PnL",
|
||||
"totalRealizedPnl": "Total Realized PnL",
|
||||
"totalUnrealizedPnl": "Total Unrealized PnL",
|
||||
"winRate": "Win Rate",
|
||||
"averagePnl": "Average PnL",
|
||||
"maxPnl": "Max PnL",
|
||||
"minPnl": "Min PnL"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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": "最小盈亏"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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": "最小盈虧"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user