wxr
2020-01-18 4cc04639fbadde3a7f3b9875353df0d90fc09043
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
    {
@@ -206,7 +206,7 @@
                TextAlignment = TextAlignment.Center,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextSize = CSS_FontSize.SubheadingFontSize,
                Text ="不愿意透露姓名的用户"
                Text = string.IsNullOrEmpty(MainPage.LoginUser.UserName) ? "不愿意透露姓名的用户" : MainPage.LoginUser.UserName
            };
            personalInfoView.AddChidren(btnUserName);
            if (!string.IsNullOrEmpty(MainPage.LoginUser.UserName))
@@ -270,17 +270,19 @@
            }
            #region 顶部信息区域
            btnResidenceDownIcon = new Button() {
            btnResidenceDownIcon = new Button()
            {
                Width = Application.GetMinRealAverage(16),
                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),
            btnCurResidenceName = new Button()
            {
                X = btnResidenceDownIcon.Right + Application.GetRealWidth(1),
                Y = Application.GetRealHeight(10),
                Width = Application.GetRealWidth(240),
                Height = Application.GetRealHeight(45),
@@ -351,7 +353,7 @@
                {
                    Y = residenceManageIcon.Bottom,
                    Height = Application.GetRealHeight(29),
                    TextID = InternationalizationString.ResidenceManage,
                    TextID = StringId.ResidenceManage,
                    TextAlignment = TextAlignment.Center,
                    TextColor = CSS_Color.FirstLevelTitleColor,
                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel
@@ -381,7 +383,7 @@
                {
                    Y = residenceManageIcon.Bottom,
                    Height = Application.GetRealHeight(29),
                    TextID = InternationalizationString.ResidenceMemberManage,
                    TextID = StringId.ResidenceMemberManage,
                    TextAlignment = TextAlignment.Center,
                    TextColor = CSS_Color.FirstLevelTitleColor,
                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel
@@ -410,7 +412,7 @@
                {
                    Y = residenceManageIcon.Bottom,
                    Height = Application.GetRealHeight(29),
                    TextID = InternationalizationString.Undefense,
                    TextID = StringId.Undefense,
                    TextAlignment = TextAlignment.Center,
                    TextColor = CSS_Color.FirstLevelTitleColor,
                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel
@@ -439,7 +441,7 @@
                {
                    Y = residenceManageIcon.Bottom,
                    Height = Application.GetRealHeight(29),
                    TextID = InternationalizationString.DataBackup,
                    TextID = StringId.DataBackup,
                    TextAlignment = TextAlignment.Center,
                    TextColor = CSS_Color.FirstLevelTitleColor,
                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel
@@ -469,7 +471,7 @@
                {
                    Y = residenceManageIcon.Bottom,
                    Height = Application.GetRealHeight(29),
                    TextID = InternationalizationString.AuxiliaryFunction,
                    TextID = StringId.AuxiliaryFunction,
                    TextAlignment = TextAlignment.Center,
                    TextColor = CSS_Color.FirstLevelTitleColor,
                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel
@@ -499,7 +501,7 @@
                {
                    Y = residenceManageIcon.Bottom,
                    Height = Application.GetRealHeight(29),
                    TextID = InternationalizationString.AddFunction,
                    TextID = StringId.AddFunction,
                    TextAlignment = TextAlignment.Center,
                    TextColor = CSS_Color.FirstLevelTitleColor,
                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel
@@ -531,7 +533,7 @@
                {
                    Y = residenceArmIcon.Bottom,
                    Height = Application.GetRealHeight(29),
                    TextID = InternationalizationString.Undefense,
                    TextID = StringId.Undefense,
                    TextAlignment = TextAlignment.Center,
                    TextColor = CSS_Color.FirstLevelTitleColor,
                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel
@@ -560,7 +562,7 @@
                {
                    Y = residenceDataBackupIcon.Bottom,
                    Height = Application.GetRealHeight(29),
                    TextID = InternationalizationString.DataBackup,
                    TextID = StringId.DataBackup,
                    TextAlignment = TextAlignment.Center,
                    TextColor = CSS_Color.FirstLevelTitleColor,
                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel
@@ -590,7 +592,7 @@
                {
                    Y = residenceAuxiliaryFunctionIcon.Bottom,
                    Height = Application.GetRealHeight(29),
                    TextID = InternationalizationString.AuxiliaryFunction,
                    TextID = StringId.AuxiliaryFunction,
                    TextAlignment = TextAlignment.Center,
                    TextColor = CSS_Color.FirstLevelTitleColor,
                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel
@@ -604,7 +606,8 @@
            #endregion
            #region 软件设置区域
            softSettingView = new FrameLayout() {
            softSettingView = new FrameLayout()
            {
                Gravity = Gravity.CenterHorizontal,
                Y = Application.GetRealHeight(8) + residenceInfoView.Bottom,
                Width = Application.GetRealWidth(343),
@@ -616,7 +619,8 @@
            };
            bodyView.AddChidren(softSettingView);
            btnNightViewModeIcon = new Button() {
            btnNightViewModeIcon = new Button()
            {
                X = Application.GetRealWidth(12),
                Y = Application.GetRealHeight(10),
                Width = Application.GetMinRealAverage(24),
@@ -630,7 +634,7 @@
                X = Application.GetRealWidth(48),
                Width = Application.GetRealWidth(180),
                Height = Application.GetRealHeight(44),
                TextID = InternationalizationString.NightView,
                TextID = StringId.NightView,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextSize = CSS_FontSize.TextFontSize,
                TextAlignment = TextAlignment.CenterLeft,
@@ -672,7 +676,7 @@
                Y = btnSoftSettingViewLine.Bottom,
                Width = Application.GetRealWidth(180),
                Height = Application.GetRealHeight(44),
                TextID = InternationalizationString.GeneralSettings,
                TextID = StringId.GeneralSettings,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextAlignment = TextAlignment.CenterLeft,
                TextSize = CSS_FontSize.TextFontSize
@@ -711,7 +715,7 @@
                X = Application.GetRealWidth(48),
                Width = Application.GetRealWidth(180),
                Height = Application.GetRealHeight(44),
                TextID = InternationalizationString.GetSupport,
                TextID = StringId.GetSupport,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextAlignment = TextAlignment.CenterLeft,
                TextSize = CSS_FontSize.TextFontSize