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:
parent
4504d6cb39
commit
7ab1d73f5b
|
|
@ -1723,94 +1723,88 @@ 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(
|
children: [
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
const Text(
|
||||||
children: [
|
'待领取',
|
||||||
const Text(
|
style: TextStyle(
|
||||||
'24小时倒计时',
|
fontSize: 14,
|
||||||
style: TextStyle(
|
fontFamily: 'Inter',
|
||||||
fontSize: 12,
|
fontWeight: FontWeight.w700,
|
||||||
fontFamily: 'Inter',
|
height: 1.5,
|
||||||
fontWeight: FontWeight.w500,
|
color: Color(0xFF5D4037),
|
||||||
height: 1.5,
|
|
||||||
color: Color(0xCC5D4037),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
Text(
|
),
|
||||||
_formatCountdown(),
|
const SizedBox(width: 8),
|
||||||
style: const TextStyle(
|
Text(
|
||||||
fontSize: 14,
|
_formatCountdown(),
|
||||||
fontFamily: 'Consolas',
|
style: const TextStyle(
|
||||||
fontWeight: FontWeight.w700,
|
fontSize: 14,
|
||||||
height: 1.25,
|
fontFamily: 'Consolas',
|
||||||
letterSpacing: 0.7,
|
fontWeight: FontWeight.w700,
|
||||||
color: Color(0xFFD4AF37),
|
height: 1.5,
|
||||||
),
|
letterSpacing: 0.7,
|
||||||
|
color: Color(0xFFD4AF37),
|
||||||
),
|
),
|
||||||
],
|
),
|
||||||
),
|
],
|
||||||
),
|
),
|
||||||
// 汇总待领取 USDT
|
const SizedBox(height: 8),
|
||||||
Expanded(
|
// 绿积分
|
||||||
child: Column(
|
Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
children: [
|
||||||
children: [
|
const Text(
|
||||||
const Text(
|
'绿积分:',
|
||||||
'待领取 (绿积分)',
|
style: TextStyle(
|
||||||
style: TextStyle(
|
fontSize: 14,
|
||||||
fontSize: 12,
|
fontFamily: 'Inter',
|
||||||
fontFamily: 'Inter',
|
fontWeight: FontWeight.w500,
|
||||||
fontWeight: FontWeight.w500,
|
height: 1.5,
|
||||||
height: 1.5,
|
color: Color(0xCC5D4037),
|
||||||
color: Color(0xCC5D4037),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
Text(
|
),
|
||||||
_formatNumber(_pendingUsdt),
|
Text(
|
||||||
style: const TextStyle(
|
_formatNumber(_pendingUsdt),
|
||||||
fontSize: 16,
|
style: const TextStyle(
|
||||||
fontFamily: 'Inter',
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.w700,
|
fontFamily: 'Inter',
|
||||||
height: 1.25,
|
fontWeight: FontWeight.w500,
|
||||||
color: Color(0xFF5D4037),
|
height: 1.25,
|
||||||
),
|
color: Color(0xFF5D4037),
|
||||||
),
|
),
|
||||||
],
|
),
|
||||||
),
|
],
|
||||||
),
|
),
|
||||||
// 汇总待领取算力
|
const SizedBox(height: 4),
|
||||||
Expanded(
|
// 贡献值
|
||||||
child: Column(
|
Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
children: [
|
||||||
children: [
|
const Text(
|
||||||
const Text(
|
'贡献值:',
|
||||||
'待领取 (贡献值)',
|
style: TextStyle(
|
||||||
style: TextStyle(
|
fontSize: 14,
|
||||||
fontSize: 12,
|
fontFamily: 'Inter',
|
||||||
fontFamily: 'Inter',
|
fontWeight: FontWeight.w500,
|
||||||
fontWeight: FontWeight.w500,
|
height: 1.5,
|
||||||
height: 1.5,
|
color: Color(0xCC5D4037),
|
||||||
color: Color(0xCC5D4037),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
Text(
|
),
|
||||||
_formatNumber(_pendingPower),
|
Text(
|
||||||
style: const TextStyle(
|
_formatNumber(_pendingPower),
|
||||||
fontSize: 16,
|
style: const TextStyle(
|
||||||
fontFamily: 'Inter',
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.w700,
|
fontFamily: 'Inter',
|
||||||
height: 1.25,
|
fontWeight: FontWeight.w500,
|
||||||
color: Color(0xFF5D4037),
|
height: 1.25,
|
||||||
),
|
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',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue