From 14d29b62ef9ea417fe58f4d7e2d99352b87334c6 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 20 Jan 2026 04:16:42 -0800 Subject: [PATCH] =?UTF-8?q?fix(asset):=20=E9=9A=90=E8=97=8F=E6=80=BB?= =?UTF-8?q?=E8=B5=84=E4=BA=A7=E5=8D=A1=E7=89=87=E7=9A=84=E6=AF=8F=E7=A7=92?= =?UTF-8?q?=E5=A2=9E=E9=95=BF=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.5 --- .../presentation/pages/asset/asset_page.dart | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 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 bbe0b139..cef8c644 100644 --- a/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart +++ b/frontend/mining-app/lib/presentation/pages/asset/asset_page.dart @@ -375,34 +375,34 @@ class _AssetPageState extends ConsumerState { // color: Color(0xFF9CA3AF), // ), // ), - const SizedBox(height: 12), - // 每秒增长 - Container( - padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4), - decoration: BoxDecoration( - color: isDark ? _green.withOpacity(0.15) : _feta, - borderRadius: BorderRadius.circular(8), - ), - child: Row( - mainAxisSize: MainAxisSize.min, - children: [ - const Icon(Icons.bolt, size: 14, color: _green), - const SizedBox(width: 6), - DataText( - data: asset != null - ? '+${formatDecimal(growthPerSecond.toString(), 8)}/秒' - : null, - isLoading: isLoading, - placeholder: '+--/秒', - style: const TextStyle( - fontSize: 12, - fontWeight: FontWeight.w500, - color: _green, - ), - ), - ], - ), - ), + // 每秒增长 - 暂时隐藏 + // const SizedBox(height: 12), + // Container( + // padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4), + // decoration: BoxDecoration( + // color: isDark ? _green.withOpacity(0.15) : _feta, + // borderRadius: BorderRadius.circular(8), + // ), + // child: Row( + // mainAxisSize: MainAxisSize.min, + // children: [ + // const Icon(Icons.bolt, size: 14, color: _green), + // const SizedBox(width: 6), + // DataText( + // data: asset != null + // ? '+${formatDecimal(growthPerSecond.toString(), 8)}/秒' + // : null, + // isLoading: isLoading, + // placeholder: '+--/秒', + // style: const TextStyle( + // fontSize: 12, + // fontWeight: FontWeight.w500, + // color: _green, + // ), + // ), + // ], + // ), + // ), ], ), ),