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,94 +1723,88 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
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<ProfilePage> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const Text(
'已过期 (绿积分)',
'绿积分:',
style: TextStyle(
fontSize: 14,
fontFamily: 'Inter',
@ -2460,7 +2454,7 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const Text(
'已过期 (贡献值)',
'贡献值:',
style: TextStyle(
fontSize: 14,
fontFamily: 'Inter',