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 fccb9901..2d51b6f5 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 @@ -2090,11 +2090,10 @@ class _ProfilePageState extends ConsumerState { crossAxisAlignment: CrossAxisAlignment.start, children: [ // 可结算 USDT - Column( - crossAxisAlignment: CrossAxisAlignment.start, + Row( children: [ const Text( - '可结算 (绿积分)', + '可结算 (绿积分):', style: TextStyle( fontSize: 14, fontFamily: 'Inter', @@ -2106,10 +2105,10 @@ class _ProfilePageState extends ConsumerState { Text( _formatNumber(_settleableUsdt), style: const TextStyle( - fontSize: 20, + fontSize: 14, fontFamily: 'Inter', fontWeight: FontWeight.w700, - height: 1.25, + height: 1.5, color: Color(0xFF5D4037), ), ), @@ -2157,15 +2156,29 @@ class _ProfilePageState extends ConsumerState { Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ - const Text( - '已结算 (绿积分)', - style: TextStyle( - fontSize: 14, - fontFamily: 'Inter', - fontWeight: FontWeight.w500, - height: 1.5, - color: Color(0xCC5D4037), - ), + Row( + children: [ + const Text( + '已结算 (绿积分):', + style: TextStyle( + fontSize: 14, + fontFamily: 'Inter', + fontWeight: FontWeight.w500, + height: 1.5, + color: Color(0xCC5D4037), + ), + ), + Text( + _formatNumber(_settledUsdt), + style: const TextStyle( + fontSize: 14, + fontFamily: 'Inter', + fontWeight: FontWeight.w700, + height: 1.5, + color: Color(0xFF5D4037), + ), + ), + ], ), GestureDetector( onTap: _onSettlement, @@ -2190,17 +2203,6 @@ class _ProfilePageState extends ConsumerState { ), ], ), - const SizedBox(height: 4), - Text( - _formatNumber(_settledUsdt), - style: const TextStyle( - fontSize: 20, - fontFamily: 'Inter', - fontWeight: FontWeight.w700, - height: 1.25, - color: Color(0xFF5D4037), - ), - ), ], ), ); @@ -2423,8 +2425,7 @@ class _ProfilePageState extends ConsumerState { ), const SizedBox(height: 7), // 已过期 USDT - Column( - crossAxisAlignment: CrossAxisAlignment.start, + Row( children: [ const Text( '绿积分:', @@ -2439,19 +2440,18 @@ class _ProfilePageState extends ConsumerState { Text( _formatNumber(_expiredUsdt), style: const TextStyle( - fontSize: 20, + fontSize: 14, fontFamily: 'Inter', fontWeight: FontWeight.w700, - height: 1.25, + height: 1.5, color: Color(0xFF5D4037), ), ), ], ), - const SizedBox(height: 11), + const SizedBox(height: 8), // 已过期 算力 - Column( - crossAxisAlignment: CrossAxisAlignment.start, + Row( children: [ const Text( '贡献值:', @@ -2466,10 +2466,10 @@ class _ProfilePageState extends ConsumerState { Text( _formatNumber(_expiredPower), style: const TextStyle( - fontSize: 20, + fontSize: 14, fontFamily: 'Inter', fontWeight: FontWeight.w700, - height: 1.25, + height: 1.5, color: Color(0xFF5D4037), ), ),