From 716d1b3b705e7d37e6edebd7f60b7613ab5aee87 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 20 十一月 2020 18:46:22 +0800 Subject: [PATCH] 1120-3 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs index 0a21446..8146d79 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs @@ -201,13 +201,13 @@ TextAlignment = TextAlignment.Center, TextColor = CSS_Color.FirstLevelTitleColor, TextSize = CSS_FontSize.SubheadingFontSize, - Text = string.IsNullOrEmpty(MainPage.LoginUser.userName) ? "涓嶆効鎰忛�忛湶濮撳悕鐨勭敤鎴�" : MainPage.LoginUser.userName + Text = string.IsNullOrEmpty( UserInfo.Current.userName) ? "涓嶆効鎰忛�忛湶濮撳悕鐨勭敤鎴�" : UserInfo.Current.userName }; personalInfoView.AddChidren(btnUserName); - if (!string.IsNullOrEmpty(MainPage.LoginUser.userName)) + if (!string.IsNullOrEmpty( UserInfo.Current.userName)) { - btnUserName.Text = MainPage.LoginUser.userName; ; + btnUserName.Text = UserInfo.Current.userName; ; } btnEmail = new Button() { @@ -216,7 +216,7 @@ TextAlignment = TextAlignment.Center, TextColor = CSS_Color.TextualColor, TextSize = CSS_FontSize.PromptFontSize_FirstLevel, - Text = MainPage.LoginUser.accountString + Text = UserInfo.Current.accountString }; personalInfoView.AddChidren(btnEmail); @@ -227,15 +227,15 @@ Width = Application.GetMinRealAverage(84), Height = Application.GetMinRealAverage(84), Radius = (uint)Application.GetMinRealAverage(42), - ImagePath = MainPage.LoginUser.headImagePagePath + ImagePath = UserInfo.Current.headImagePagePath }; bodyView.AddChidren(userHeadImageView); - //if ( MainPage.LoginUser.headImagePageBytes==null) + //if ( UserInfo.Current.headImagePageBytes==null) //{ - // userHeadImageView.ImagePath = MainPage.LoginUser.headImagePagePath; + // userHeadImageView.ImagePath = UserInfo.Current.headImagePagePath; //}else //{ - // userHeadImageView.ImageBytes = MainPage.LoginUser.headImagePageBytes; + // userHeadImageView.ImageBytes = UserInfo.Current.headImagePageBytes; //} #endregion -- Gitblit v1.8.0