From a884e6c838b92ce7ddf9e36109695e6b6244312e Mon Sep 17 00:00:00 2001 From: speakeloudest Date: Sun, 9 Nov 2025 22:55:01 -0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9id=E5=92=8Csn?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/app/modules/hi_user_info/views/hi_user_info_view.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/app/modules/hi_user_info/views/hi_user_info_view.dart b/lib/app/modules/hi_user_info/views/hi_user_info_view.dart index 29f4761..e4327c3 100755 --- a/lib/app/modules/hi_user_info/views/hi_user_info_view.dart +++ b/lib/app/modules/hi_user_info/views/hi_user_info_view.dart @@ -69,8 +69,12 @@ class HIUserInfoView extends GetView { children: [ Obx(() { final account = KRAppRunData.getInstance().kr_account.value; + final isDeviceLogin = account != null && account.startsWith('9000'); + + if (isDeviceLogin) return const SizedBox(); + return Text( - (account != null && account.isNotEmpty) ? account : '未绑定', + account ?? '', style: TextStyle( color: Colors.white, fontSize: 20.sp, @@ -433,7 +437,7 @@ class HIUserInfoView extends GetView { ), SizedBox(height: 4.h), Text( - 'ID: ${identifier.substring(0, identifier.length > 4 ? 4 : identifier.length)}$id', + 'SN: ${identifier.substring(0, identifier.length > 4 ? 4 : identifier.length)}$id', style: TextStyle( color: Colors.white.withOpacity(0.9), fontSize: 10.sp,