refactor(ui): 将"个人"替换为"本人"

- team_tree_widget.dart: 节点详情弹窗中"个人参与"改为"本人参与"
- team_page.dart: 统计卡片中"个人参与"改为"本人参与"
- contribution_page.dart: 贡献值统计中"个人贡献值"改为"本人贡献值","个人参与产生的贡献值"改为"本人参与产生的贡献值"
- contribution_records_page.dart: 筛选标签"个人"改为"本人",来源类型标签"个人参与"改为"本人参与"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-20 04:28:10 -08:00
parent 9c705d7478
commit 728497afc1
4 changed files with 8 additions and 8 deletions

View File

@ -263,7 +263,7 @@ class ContributionPage extends ConsumerWidget {
),
child: Row(
children: [
_buildStatColumn(context, '人贡献值', contribution?.personalContribution, isLoading, false, hideAmounts),
_buildStatColumn(context, '人贡献值', contribution?.personalContribution, isLoading, false, hideAmounts),
_buildStatColumn(context, '同伴下贡献值', contribution?.teamLevelContribution, isLoading, true, hideAmounts),
_buildStatColumn(context, '同伴上贡献值', contribution?.teamBonusContribution, isLoading, true, hideAmounts),
],
@ -419,7 +419,7 @@ class ContributionPage extends ConsumerWidget {
icon: Icons.eco_outlined,
iconColor: _orange,
title: '本人',
subtitle: '人参与产生的贡献值',
subtitle: '人参与产生的贡献值',
amount: contribution?.personalContribution ?? '0',
hideAmounts: hideAmounts,
),
@ -479,7 +479,7 @@ class ContributionPage extends ConsumerWidget {
),
const SizedBox(height: 2),
ShimmerText(
placeholder: '人参与产生的贡献值',
placeholder: '人参与产生的贡献值',
style: TextStyle(fontSize: 12, color: AppColors.textSecondaryOf(context)),
),
],

View File

@ -99,7 +99,7 @@ class _ContributionRecordsListPageState extends ConsumerState<ContributionRecord
children: [
_buildFilterChip('全部', null),
const SizedBox(width: 8),
_buildFilterChip('', ContributionSourceType.personal),
_buildFilterChip('', ContributionSourceType.personal),
const SizedBox(width: 8),
_buildFilterChip('同伴下贡献值', ContributionSourceType.teamLevel),
const SizedBox(width: 8),
@ -383,7 +383,7 @@ class _ContributionRecordsListPageState extends ConsumerState<ContributionRecord
switch (type) {
case ContributionSourceType.personal:
label = '人参与';
label = '人参与';
bgColor = _orange.withOpacity(0.1);
textColor = _orange;
break;

View File

@ -195,7 +195,7 @@ class _TeamPageState extends ConsumerState<TeamPage> {
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
_buildStatItem(
'人参与',
'人参与',
'${_rootNode?.personalPlantingCount ?? 0}',
Icons.eco,
),

View File

@ -472,8 +472,8 @@ class _NodeDetailsSheet extends StatelessWidget {
_buildDetailRow('序列号', node.accountSequence),
const SizedBox(height: 12),
//
_buildDetailRow('人参与', '${node.personalPlantingCount}'),
//
_buildDetailRow('人参与', '${node.personalPlantingCount}'),
const SizedBox(height: 12),
//