fix(ui): 优化我的页面待领取和已过期区域布局

待领取区域:
- 改为竖排布局:待领取 00:00:00 / 绿积分:/ 贡献值:
- 第一行加粗,后两行正常粗细

已过期区域:
- '已过期 (绿积分)' → '绿积分:'
- '已过期 (贡献值)' → '贡献值:'

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-17 00:57:07 -08:00
parent 4504d6cb39
commit 7ab1d73f5b
1 changed files with 74 additions and 80 deletions

View File

@ -1723,48 +1723,45 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
return Column( return Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
// // -
Row( Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
// //
Expanded( Row(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
const Text( const Text(
'24小时倒计时', '待领取',
style: TextStyle( style: TextStyle(
fontSize: 12, fontSize: 14,
fontFamily: 'Inter', fontFamily: 'Inter',
fontWeight: FontWeight.w500, fontWeight: FontWeight.w700,
height: 1.5, height: 1.5,
color: Color(0xCC5D4037), color: Color(0xFF5D4037),
), ),
), ),
const SizedBox(width: 8),
Text( Text(
_formatCountdown(), _formatCountdown(),
style: const TextStyle( style: const TextStyle(
fontSize: 14, fontSize: 14,
fontFamily: 'Consolas', fontFamily: 'Consolas',
fontWeight: FontWeight.w700, fontWeight: FontWeight.w700,
height: 1.25, height: 1.5,
letterSpacing: 0.7, letterSpacing: 0.7,
color: Color(0xFFD4AF37), color: Color(0xFFD4AF37),
), ),
), ),
], ],
), ),
), const SizedBox(height: 8),
// USDT // 绿
Expanded( Row(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
const Text( const Text(
'待领取 (绿积分)', '绿积分:',
style: TextStyle( style: TextStyle(
fontSize: 12, fontSize: 14,
fontFamily: 'Inter', fontFamily: 'Inter',
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
height: 1.5, height: 1.5,
@ -1776,23 +1773,21 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
style: const TextStyle( style: const TextStyle(
fontSize: 16, fontSize: 16,
fontFamily: 'Inter', fontFamily: 'Inter',
fontWeight: FontWeight.w700, fontWeight: FontWeight.w500,
height: 1.25, height: 1.25,
color: Color(0xFF5D4037), color: Color(0xFF5D4037),
), ),
), ),
], ],
), ),
), const SizedBox(height: 4),
// //
Expanded( Row(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
const Text( const Text(
'待领取 (贡献值)', '贡献值:',
style: TextStyle( style: TextStyle(
fontSize: 12, fontSize: 14,
fontFamily: 'Inter', fontFamily: 'Inter',
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
height: 1.5, height: 1.5,
@ -1804,14 +1799,13 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
style: const TextStyle( style: const TextStyle(
fontSize: 16, fontSize: 16,
fontFamily: 'Inter', fontFamily: 'Inter',
fontWeight: FontWeight.w700, fontWeight: FontWeight.w500,
height: 1.25, height: 1.25,
color: Color(0xFF5D4037), color: Color(0xFF5D4037),
), ),
), ),
], ],
), ),
),
], ],
), ),
// - 使 // - 使
@ -2433,7 +2427,7 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
const Text( const Text(
'已过期 (绿积分)', '绿积分:',
style: TextStyle( style: TextStyle(
fontSize: 14, fontSize: 14,
fontFamily: 'Inter', fontFamily: 'Inter',
@ -2460,7 +2454,7 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
const Text( const Text(
'已过期 (贡献值)', '贡献值:',
style: TextStyle( style: TextStyle(
fontSize: 14, fontSize: 14,
fontFamily: 'Inter', fontFamily: 'Inter',