From 9aa32bd5ed75d54b2141b6c91f163d43216a3643 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 06 十二月 2019 13:14:02 +0800 Subject: [PATCH] 20191206 --- HDL_ON/UI/UI2/4-PersonalCenter/UI/PersonalCenterPage.cs | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/UI/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/UI/PersonalCenterPage.cs index 436605c..26026db 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/UI/PersonalCenterPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/UI/PersonalCenterPage.cs @@ -177,9 +177,9 @@ #region 涓汉淇℃伅 topbg = new FrameLayout() { - Y = Application.GetRealHeight(-10), - Height = Application.GetRealHeight(150), - Radius = 12, + Y = Application.GetRealHeight(-20), + Height = Application.GetRealHeight(160), + Radius = 16, BorderColor = 0x00FFFFFF, BorderWidth = 0, BackgroundColor = CSS_Color.MainColor, @@ -206,10 +206,13 @@ TextAlignment = TextAlignment.Center, TextColor = CSS_Color.FirstLevelTitleColor, TextSize = CSS_FontSize.SubheadingFontSize, - Text = MainPage.LoginUser.UserName, + Text ="涓嶆効鎰忛�忛湶濮撳悕鐨勭敤鎴�" }; personalInfoView.AddChidren(btnUserName); - + if (!string.IsNullOrEmpty(MainPage.LoginUser.UserName)) + { + btnUserName.Text = MainPage.LoginUser.UserName; + } btnEmail = new Button() { Y = btnUserName.Bottom, @@ -279,12 +282,12 @@ btnCurResidenceName = new Button() { X = btnResidenceDownIcon.Right+ Application.GetRealWidth(1), Y = Application.GetRealHeight(10), - Width = Application.GetRealWidth(120), + Width = Application.GetRealWidth(240), Height = Application.GetRealHeight(45), TextAlignment = TextAlignment.CenterLeft, TextColor = CSS_Color.FirstLevelTitleColor, TextSize = CSS_FontSize.EmphasisFontSize_FirstLevel, - Text = UserConfig.Instance.CurrentRegion.RegionName, + Text = UserConfig.Instance.CurrentRegion.Name, }; residenceInfoView.AddChidren(btnCurResidenceName); @@ -595,9 +598,6 @@ residenceAuxiliaryFunctionView.AddChidren(residenceAuxiliaryFunctionText); #endregion - - - } #endregion @@ -720,6 +720,8 @@ #endregion + + LoadEventList(); } } } -- Gitblit v1.8.0