From f13814e57767ecff9ab851fc0fa1995547720ce3 Mon Sep 17 00:00:00 2001 From: hailin Date: Wed, 4 Feb 2026 17:41:11 -0800 Subject: [PATCH] =?UTF-8?q?fix(mobile-app):=20=E6=8E=92=E5=90=8D=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E9=9A=90=E8=97=8F=E6=95=8F=E6=84=9F=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 火柴人排名详情页 (UserProfilePage) 暂时隐藏以下显示元素(代码保留,注释隐藏): - 统计卡片:引荐数、同伴数、本人认种数(仅保留"同伴认种") - 基本信息卡片:用户ID (accountSequence) Co-Authored-By: Claude Opus 4.5 --- .../widgets/user_profile_dialog.dart | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/frontend/mobile-app/lib/features/authorization/presentation/widgets/user_profile_dialog.dart b/frontend/mobile-app/lib/features/authorization/presentation/widgets/user_profile_dialog.dart index 90fa3809..9f75d168 100644 --- a/frontend/mobile-app/lib/features/authorization/presentation/widgets/user_profile_dialog.dart +++ b/frontend/mobile-app/lib/features/authorization/presentation/widgets/user_profile_dialog.dart @@ -240,7 +240,7 @@ class _UserProfilePageState extends ConsumerState { _buildInfoCard( title: '基本信息', children: [ - _buildInfoRow('用户ID', profile.accountSequence), + // _buildInfoRow('用户ID', profile.accountSequence), // 暂时隐藏 _buildInfoRow('注册时间', _formatDate(profile.registeredAtDateTime)), if (profile.inviterNickname != null) _buildInfoRow('引荐人', profile.inviterNickname!), @@ -390,24 +390,26 @@ class _UserProfilePageState extends ConsumerState { ), child: Row( children: [ - _buildStatItem( - label: '引荐', - value: '${profile.directReferralCount}', - color: const Color(0xFF4CAF50), - ), - _buildStatDivider(), - _buildStatItem( - label: '同伴', - value: '${profile.umbrellaUserCount}', - color: const Color(0xFF2196F3), - ), - _buildStatDivider(), - _buildStatItem( - label: '本人认种', - value: '${profile.personalPlantingCount}', - color: const Color(0xFF8BC34A), - ), - _buildStatDivider(), + // --- 以下字段暂时隐藏 --- + // _buildStatItem( + // label: '引荐', + // value: '${profile.directReferralCount}', + // color: const Color(0xFF4CAF50), + // ), + // _buildStatDivider(), + // _buildStatItem( + // label: '同伴', + // value: '${profile.umbrellaUserCount}', + // color: const Color(0xFF2196F3), + // ), + // _buildStatDivider(), + // _buildStatItem( + // label: '本人认种', + // value: '${profile.personalPlantingCount}', + // color: const Color(0xFF8BC34A), + // ), + // _buildStatDivider(), + // --- 以上字段暂时隐藏 --- _buildStatItem( label: '同伴认种', value: '${profile.teamPlantingCount}',