From 7ab1d73f5bcf751f718fa5889b3f8941d2a79588 Mon Sep 17 00:00:00 2001 From: hailin Date: Wed, 17 Dec 2025 00:57:07 -0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E4=BC=98=E5=8C=96=E6=88=91=E7=9A=84?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=BE=85=E9=A2=86=E5=8F=96=E5=92=8C=E5=B7=B2?= =?UTF-8?q?=E8=BF=87=E6=9C=9F=E5=8C=BA=E5=9F=9F=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 待领取区域: - 改为竖排布局:待领取 00:00:00 / 绿积分:/ 贡献值: - 第一行加粗,后两行正常粗细 已过期区域: - '已过期 (绿积分)' → '绿积分:' - '已过期 (贡献值)' → '贡献值:' 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../presentation/pages/profile_page.dart | 154 +++++++++--------- 1 file changed, 74 insertions(+), 80 deletions(-) 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 a1eeeecc..fccb9901 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 @@ -1723,94 +1723,88 @@ class _ProfilePageState extends ConsumerState { return Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - // 汇总信息区域 - Row( + // 汇总信息区域 - 竖排布局 + Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - // 倒计时 - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text( - '24小时倒计时', - style: TextStyle( - fontSize: 12, - fontFamily: 'Inter', - fontWeight: FontWeight.w500, - height: 1.5, - color: Color(0xCC5D4037), - ), + // 待领取倒计时 + Row( + children: [ + const Text( + '待领取', + style: TextStyle( + fontSize: 14, + fontFamily: 'Inter', + fontWeight: FontWeight.w700, + height: 1.5, + color: Color(0xFF5D4037), ), - Text( - _formatCountdown(), - style: const TextStyle( - fontSize: 14, - fontFamily: 'Consolas', - fontWeight: FontWeight.w700, - height: 1.25, - letterSpacing: 0.7, - color: Color(0xFFD4AF37), - ), + ), + const SizedBox(width: 8), + Text( + _formatCountdown(), + style: const TextStyle( + fontSize: 14, + fontFamily: 'Consolas', + fontWeight: FontWeight.w700, + height: 1.5, + letterSpacing: 0.7, + color: Color(0xFFD4AF37), ), - ], - ), + ), + ], ), - // 汇总待领取 USDT - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text( - '待领取 (绿积分)', - style: TextStyle( - fontSize: 12, - fontFamily: 'Inter', - fontWeight: FontWeight.w500, - height: 1.5, - color: Color(0xCC5D4037), - ), + const SizedBox(height: 8), + // 绿积分 + Row( + children: [ + const Text( + '绿积分:', + style: TextStyle( + fontSize: 14, + fontFamily: 'Inter', + fontWeight: FontWeight.w500, + height: 1.5, + color: Color(0xCC5D4037), ), - Text( - _formatNumber(_pendingUsdt), - style: const TextStyle( - fontSize: 16, - fontFamily: 'Inter', - fontWeight: FontWeight.w700, - height: 1.25, - color: Color(0xFF5D4037), - ), + ), + Text( + _formatNumber(_pendingUsdt), + style: const TextStyle( + fontSize: 16, + fontFamily: 'Inter', + fontWeight: FontWeight.w500, + height: 1.25, + color: Color(0xFF5D4037), ), - ], - ), + ), + ], ), - // 汇总待领取算力 - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text( - '待领取 (贡献值)', - style: TextStyle( - fontSize: 12, - fontFamily: 'Inter', - fontWeight: FontWeight.w500, - height: 1.5, - color: Color(0xCC5D4037), - ), + const SizedBox(height: 4), + // 贡献值 + Row( + children: [ + const Text( + '贡献值:', + style: TextStyle( + fontSize: 14, + fontFamily: 'Inter', + fontWeight: FontWeight.w500, + height: 1.5, + color: Color(0xCC5D4037), ), - Text( - _formatNumber(_pendingPower), - style: const TextStyle( - fontSize: 16, - fontFamily: 'Inter', - fontWeight: FontWeight.w700, - height: 1.25, - color: Color(0xFF5D4037), - ), + ), + Text( + _formatNumber(_pendingPower), + style: const TextStyle( + fontSize: 16, + fontFamily: 'Inter', + fontWeight: FontWeight.w500, + height: 1.25, + color: Color(0xFF5D4037), ), - ], - ), + ), + ], ), ], ), @@ -2433,7 +2427,7 @@ class _ProfilePageState extends ConsumerState { crossAxisAlignment: CrossAxisAlignment.start, children: [ const Text( - '已过期 (绿积分)', + '绿积分:', style: TextStyle( fontSize: 14, fontFamily: 'Inter', @@ -2460,7 +2454,7 @@ class _ProfilePageState extends ConsumerState { crossAxisAlignment: CrossAxisAlignment.start, children: [ const Text( - '已过期 (贡献值)', + '贡献值:', style: TextStyle( fontSize: 14, fontFamily: 'Inter',