diff --git a/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart b/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart index ab623c56..33cdc763 100644 --- a/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart +++ b/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart @@ -595,11 +595,11 @@ class _ProfilePageState extends ConsumerState { debugPrint('[ProfilePage] -------- 收益数据加载成功 --------'); debugPrint('[ProfilePage] 待领取 USDT: ${summary.pendingUsdt}'); - debugPrint('[ProfilePage] 待领取 算力: ${summary.pendingHashpower}'); + debugPrint('[ProfilePage] 待领取 贡献值: ${summary.pendingHashpower}'); debugPrint('[ProfilePage] 可结算 USDT: ${summary.settleableUsdt}'); debugPrint('[ProfilePage] 已结算 USDT: ${summary.settledTotalUsdt}'); debugPrint('[ProfilePage] 已过期 USDT: ${summary.expiredTotalUsdt}'); - debugPrint('[ProfilePage] 已过期 算力: ${summary.expiredTotalHashpower}'); + debugPrint('[ProfilePage] 已过期 贡献值: ${summary.expiredTotalHashpower}'); debugPrint('[ProfilePage] 过期时间: ${summary.pendingExpireAt}'); debugPrint('[ProfilePage] 剩余秒数: ${summary.pendingRemainingSeconds}'); debugPrint('[ProfilePage] 待领取奖励条目数: ${pendingRewards.length}'); @@ -901,7 +901,7 @@ class _ProfilePageState extends ConsumerState { Future _doClaimRewards() async { try { debugPrint('[ProfilePage] ========== 执行领取奖励 =========='); - debugPrint('[ProfilePage] 当前待领取: USDT=$_pendingUsdt, 算力=$_pendingPower'); + debugPrint('[ProfilePage] 当前待领取: USDT=$_pendingUsdt, 贡献值=$_pendingPower'); final walletService = ref.read(walletServiceProvider); debugPrint('[ProfilePage] 调用 claimRewards()...'); @@ -1864,7 +1864,7 @@ class _ProfilePageState extends ConsumerState { amountParts.add('${_formatNumber(item.usdtAmount)} 绿积分'); } if (item.hashpowerAmount > 0) { - amountParts.add('${_formatNumber(item.hashpowerAmount)} 算力'); + amountParts.add('${_formatNumber(item.hashpowerAmount)} 贡献值'); } final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 绿积分'; @@ -1991,7 +1991,7 @@ class _ProfilePageState extends ConsumerState { amountParts.add('${_formatNumber(item.usdtAmount)} 绿积分'); } if (item.hashpowerAmount > 0) { - amountParts.add('${_formatNumber(item.hashpowerAmount)} 算力'); + amountParts.add('${_formatNumber(item.hashpowerAmount)} 贡献值'); } // 如果都为0,显示默认文本 final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 绿积分'; @@ -2220,7 +2220,7 @@ class _ProfilePageState extends ConsumerState { amountParts.add('${_formatNumber(item.usdtAmount)} 绿积分'); } if (item.hashpowerAmount > 0) { - amountParts.add('${_formatNumber(item.hashpowerAmount)} 算力'); + amountParts.add('${_formatNumber(item.hashpowerAmount)} 贡献值'); } final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 绿积分'; @@ -2300,7 +2300,7 @@ class _ProfilePageState extends ConsumerState { amountParts.add('${_formatNumber(item.usdtAmount)} 绿积分'); } if (item.hashpowerAmount > 0) { - amountParts.add('${_formatNumber(item.hashpowerAmount)} 算力'); + amountParts.add('${_formatNumber(item.hashpowerAmount)} 贡献值'); } final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 绿积分'; @@ -2452,7 +2452,7 @@ class _ProfilePageState extends ConsumerState { ], ), const SizedBox(height: 8), - // 已过期 算力 + // 已过期 贡献值 Row( children: [ const Text( @@ -2531,7 +2531,7 @@ class _ProfilePageState extends ConsumerState { amountParts.add('${_formatNumber(item.usdtAmount)} 绿积分'); } if (item.hashpowerAmount > 0) { - amountParts.add('${_formatNumber(item.hashpowerAmount)} 算力'); + amountParts.add('${_formatNumber(item.hashpowerAmount)} 贡献值'); } final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 绿积分'; @@ -2610,7 +2610,7 @@ class _ProfilePageState extends ConsumerState { amountParts.add('${_formatNumber(item.usdtAmount)} 绿积分'); } if (item.hashpowerAmount > 0) { - amountParts.add('${_formatNumber(item.hashpowerAmount)} 算力'); + amountParts.add('${_formatNumber(item.hashpowerAmount)} 贡献值'); } final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 绿积分';