wxr
2020-01-10 1a4b95a7ebef71838bd3eda2c22056bbf0db65ec
HDL_ON/UI/UI2/4-PersonalCenter/UI/PersonalCenterPage.cs
@@ -3,7 +3,7 @@
using HDL_ON.UI.CSS;
using HDL_ON.UI;
namespace HDL_ON.UI2
namespace HDL_ON.UI
{
    public partial class PersonalCenterPage : FrameLayout
    {
@@ -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 = string.IsNullOrEmpty(MainPage.LoginUser.UserName) ? "不愿意透露姓名的用户" : MainPage.LoginUser.UserName
            };
            personalInfoView.AddChidren(btnUserName);
            if (!string.IsNullOrEmpty(MainPage.LoginUser.UserName))
            {
                btnUserName.Text = MainPage.LoginUser.UserName;
            }
            btnEmail = new Button()
            {
                Y = btnUserName.Bottom,
@@ -272,19 +275,19 @@
                Height = Application.GetMinRealAverage(16),
                X = Application.GetRealWidth(16),
                Y = Application.GetRealHeight(25),
                UnSelectedImagePath = "PersonalCenter/DownIcon.png",
                UnSelectedImagePath = "0Common/DownIcon.png",
            };
            residenceInfoView.AddChidren(btnResidenceDownIcon);
            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();
        }
    }
}