From 75e74b07c37b8dd8d4466ff5abc2c3fb70ffd4f1 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 19 Jan 2026 04:56:07 -0800 Subject: [PATCH] refactor(frontend): hide multiplier-related UI elements in asset page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Comment out '积分股(含倍数)' display - Comment out '含倍数资产' tag Co-Authored-By: Claude Opus 4.5 --- .../presentation/pages/asset/asset_page.dart | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 d0d42d0c..6206a609 100644 --- a/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart +++ b/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart @@ -363,16 +363,16 @@ class _AssetPageState extends ConsumerState { ), ), const SizedBox(height: 4), - // 有效积分股(含倍数) - DataText( - data: effectiveShareBalance != null ? '≈ ${formatCompact(effectiveShareBalance)} 积分股 (含倍数)' : null, - isLoading: isLoading, - placeholder: '≈ -- 积分股', - style: const TextStyle( - fontSize: 14, - color: Color(0xFF9CA3AF), - ), - ), + // 有效积分股(含倍数)- 暂时隐藏 + // DataText( + // data: effectiveShareBalance != null ? '≈ ${formatCompact(effectiveShareBalance)} 积分股 (含倍数)' : null, + // isLoading: isLoading, + // placeholder: '≈ -- 积分股', + // style: const TextStyle( + // fontSize: 14, + // color: Color(0xFF9CA3AF), + // ), + // ), const SizedBox(height: 12), // 每秒增长 Container( @@ -491,7 +491,7 @@ class _AssetPageState extends ConsumerState { valueInCny: asset != null ? '¥${formatAmount((shareBalance * currentPrice).toString())}' : null, - tag: asset != null ? '含倍数资产: ${formatCompact(multipliedAsset.toString())}' : null, + // tag: asset != null ? '含倍数资产: ${formatCompact(multipliedAsset.toString())}' : null, // 暂时隐藏 growthText: asset != null ? '每秒 +${formatDecimal(perSecondEarning, 8)}' : null, ), const SizedBox(height: 16),