diff --git a/frontend/mining-app/lib/presentation/pages/c2c/c2c_market_page.dart b/frontend/mining-app/lib/presentation/pages/c2c/c2c_market_page.dart index 14a6fa6f..ccdbaa24 100644 --- a/frontend/mining-app/lib/presentation/pages/c2c/c2c_market_page.dart +++ b/frontend/mining-app/lib/presentation/pages/c2c/c2c_market_page.dart @@ -110,8 +110,8 @@ class _C2cMarketPageState extends ConsumerState } Widget _buildAssetOverview(BuildContext context, asset) { - final availableShares = asset?.availableShares ?? '0'; final availableCash = asset?.availableCash ?? '0'; + final frozenCash = asset?.frozenCash ?? '0'; return Container( margin: const EdgeInsets.all(16), @@ -127,12 +127,12 @@ class _C2cMarketPageState extends ConsumerState crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( - '可用积分股', + '可用积分值', style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context)), ), const SizedBox(height: 4), Text( - formatAmount(availableShares), + formatAmount(availableCash), style: const TextStyle( fontSize: 18, fontWeight: FontWeight.bold, @@ -150,12 +150,12 @@ class _C2cMarketPageState extends ConsumerState crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( - '可用积分值', + '冻结积分值', style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context)), ), const SizedBox(height: 4), Text( - formatAmount(availableCash), + formatAmount(frozenCash), style: const TextStyle( fontSize: 18, fontWeight: FontWeight.bold,