From abc4e92e199962da76ae58c611f2616066053194 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 23 十一月 2020 09:52:55 +0800
Subject: [PATCH] 2020-11-23 1.住宅相关接口替换。2.增加检测更新。3.增加服务器选择Dialog

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
index da05f79..f915cbe 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
@@ -197,7 +197,7 @@
                 Width = Application.GetMinRealAverage(84),
                 Height = Application.GetMinRealAverage(84),
                 Radius = (uint)Application.GetMinRealAverage(42),
-                ImagePath = MainPage.LoginUser.headImagePagePath,
+                ImagePath =  UserInfo.Current.headImagePagePath,
             };
             headPortraitView.AddChidren(userHeadImageView);
 
@@ -245,7 +245,7 @@
                 TextAlignment = TextAlignment.CenterRight,
                 TextColor = CSS_Color.PromptingColor1,
                 TextSize = CSS_FontSize.TextFontSize,
-                Text = string.IsNullOrEmpty(MainPage.LoginUser.userName) ? Language.StringByID(StringId.UsersWhoNameIsEmpty) : MainPage.LoginUser.userName
+                Text = string.IsNullOrEmpty( UserInfo.Current.userName) ? Language.StringByID(StringId.UsersWhoNameIsEmpty) :  UserInfo.Current.userName
             };
             userNameView.AddChidren(btnUserName);
             /// <summary>
@@ -342,7 +342,7 @@
                 TextAlignment = TextAlignment.CenterRight,
                 TextColor = CSS_Color.PromptingColor1,
                 TextSize = CSS_FontSize.TextFontSize,
-                Text = GetBindAccountText(MainPage.LoginUser.userEmailInfo)
+                Text = GetBindAccountText( UserInfo.Current.userEmailInfo)
             };
             userEmailInfoView.AddChidren(btnUserEmailInfo);
             /// <summary>
@@ -391,7 +391,7 @@
                 TextAlignment = TextAlignment.CenterRight,
                 TextColor = CSS_Color.PromptingColor1,
                 TextSize = CSS_FontSize.TextFontSize,
-                Text = GetBindAccountText(MainPage.LoginUser.userMobileInfo)
+                Text = GetBindAccountText( UserInfo.Current.userMobileInfo)
             };
             userPhoneInfoView.AddChidren(btnUserPhoneInfo);
             /// <summary>

--
Gitblit v1.8.0