From 63e02666ea26e067b36caad11ea47a3e414b9534 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 20 Jan 2026 03:07:03 -0800 Subject: [PATCH] =?UTF-8?q?fix(asset):=20=E7=A7=AF=E5=88=86=E8=82=A1?= =?UTF-8?q?=E4=BC=B0=E5=80=BC=E8=AE=A1=E7=AE=97=E5=8A=A0=E5=85=A5=E5=80=8D?= =?UTF-8?q?=E6=95=B0(burnMultiplier)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 之前只用了 shareBalance * currentPrice, 正确公式应该是 shareBalance * (1 + burnMultiplier) * currentPrice Co-Authored-By: Claude Opus 4.5 --- .../mining-app/lib/presentation/pages/asset/asset_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart b/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart index 2f0e7846..a455e7d9 100644 --- a/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart +++ b/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart @@ -502,7 +502,7 @@ class _AssetPageState extends ConsumerState { amount: asset != null ? shareBalance.toString() : null, isLoading: isLoading, valueInCny: asset != null - ? '${formatAmount((shareBalance * currentPrice).toString())} 积分值' + ? '${formatAmount((shareBalance * (1 + multiplier) * currentPrice).toString())} 积分值' : null, // tag: asset != null ? '含倍数资产: ${formatCompact(multipliedAsset.toString())}' : null, // 暂时隐藏 growthText: asset != null ? '每秒 +${formatDecimal(perSecondEarning, 8)}' : null,