diff --git a/frontend/mobile-app/lib/features/mining/presentation/pages/mining_page.dart b/frontend/mobile-app/lib/features/mining/presentation/pages/mining_page.dart index 6ed03f49..ee4ed3f7 100644 --- a/frontend/mobile-app/lib/features/mining/presentation/pages/mining_page.dart +++ b/frontend/mobile-app/lib/features/mining/presentation/pages/mining_page.dart @@ -470,7 +470,7 @@ class _MiningPageState extends ConsumerState { ), ], ) - else + else if (_walletStatus == WalletCreationStatus.ready) Text( '序列号$_serialNumber', style: const TextStyle( @@ -481,6 +481,30 @@ class _MiningPageState extends ConsumerState { letterSpacing: -0.3, color: Color(0xFF5D4037), ), + ) + else + // unknown 状态也显示"创建账号审核中..." + Row( + children: [ + const SizedBox( + width: 16, + height: 16, + child: CircularProgressIndicator( + strokeWidth: 2, + valueColor: AlwaysStoppedAnimation(Color(0xFF8B5A2B)), + ), + ), + const SizedBox(width: 8), + Text( + '创建账号审核中...', + style: const TextStyle( + fontSize: 16, + fontFamily: 'Inter', + fontWeight: FontWeight.w600, + color: Color(0xFF8B5A2B), + ), + ), + ], ), const SizedBox(height: 4), Text( diff --git a/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart b/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart index 857641dd..a291c01c 100644 --- a/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart +++ b/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart @@ -4124,25 +4124,26 @@ class _ProfilePageState extends ConsumerState { ); } - // 默认情况显示序列号 + // 默认情况(unknown状态)显示"创建账号审核中..." return Row( children: [ + const SizedBox( + width: 12, + height: 12, + child: CircularProgressIndicator( + strokeWidth: 2, + valueColor: AlwaysStoppedAnimation(Color(0xFFD4AF37)), + ), + ), + const SizedBox(width: 8), Text( - '序列号: $_serialNumber', + '创建账号审核中...', style: const TextStyle( fontSize: 14, fontFamily: 'Inter', height: 1.5, - color: Color(0xCC5D4037), - ), - ), - const SizedBox(width: 8), - GestureDetector( - onTap: _copySerialNumber, - child: const Icon( - Icons.copy, - size: 16, - color: Color(0xCC5D4037), + color: Color(0xFFD4AF37), + fontStyle: FontStyle.italic, ), ), ],