style: 全局将 USDC 展示替换为 $ 符号

前端所有金额展示从 "100.00 USDC" 改为 "$100.00" 格式,
后端 Telegram 通知模板和错误提示同步更新。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
WrBug
2026-04-28 22:23:49 +08:00
co-authored by Claude Opus 4.7
parent 0769022878
commit 8ab8ae5205
31 changed files with 169 additions and 181 deletions
+3 -3
View File
@@ -75,9 +75,9 @@ const BacktestChart: React.FC<BacktestChartProps> = ({ trades }) => {
return `
<div>
<div>${t('backtest.tradeTime')}: ${param.name}</div>
<div>${t('backtest.balanceAfter')}: ${value} USDC</div>
<div>${t('backtest.balanceAfter')}: $${value}</div>
<div style="color: ${color}">
${t('backtest.profitLoss')}: ${diff} USDC (${diffPercent}%)
${t('backtest.profitLoss')}: $${diff} (${diffPercent}%)
</div>
</div>
`
@@ -121,7 +121,7 @@ const BacktestChart: React.FC<BacktestChartProps> = ({ trades }) => {
},
yAxis: {
type: 'value',
name: 'USDC',
name: '$',
nameLocation: 'end',
nameGap: 10,
axisLabel: {