wxr
2020-11-20 716d1b3b705e7d37e6edebd7f60b7613ab5aee87
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