refactor(ui): 调整同伴下贡献值统计卡片

- 删除"已解锁上级"项
- "引荐人数"去掉"人"单位
- "已解锁下级"改为"已解锁下"
- 三个统计项改为单行显示

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-20 04:29:40 -08:00
parent 728497afc1
commit 33bf14b225
1 changed files with 3 additions and 16 deletions

View File

@ -554,33 +554,20 @@ class ContributionPage extends ConsumerWidget {
style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold, color: AppColors.textPrimaryOf(context)), style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold, color: AppColors.textPrimaryOf(context)),
), ),
const SizedBox(height: 16), const SizedBox(height: 16),
// //
Row( Row(
children: [ children: [
_buildTeamStatItem( _buildTeamStatItem(
context, context,
'引荐人数', '引荐人数',
contribution?.directReferralAdoptedCount.toString(), contribution?.directReferralAdoptedCount.toString(),
'', '',
isLoading, isLoading,
), ),
const SizedBox(width: 16), const SizedBox(width: 16),
_buildTeamStatItem( _buildTeamStatItem(
context, context,
'已解锁上级', '已解锁下',
'15',
'',
isLoading,
),
],
),
const SizedBox(height: 16),
//
Row(
children: [
_buildTeamStatItem(
context,
'已解锁下级',
contribution?.unlockedLevelDepth.toString(), contribution?.unlockedLevelDepth.toString(),
'', '',
isLoading, isLoading,