From 437c7a6d88d11e500fc19a3dd198aec28412f06b Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 20 十一月 2020 17:48:23 +0800
Subject: [PATCH] 2020-11-20 1.修改UserInfo调用方法。2.增加保存用户注册域名信息。

---
 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