wxr
2020-01-18 4cc04639fbadde3a7f3b9875353df0d90fc09043
HDL_ON/UI/UI2/4-PersonalCenter/UI/PersonalDataPage.cs
@@ -147,17 +147,18 @@
        {
            bodyView.BackgroundColor = CSS_Color.BackgroundColor;
            new PublicAssmebly().LoadTopView(bodyView, Language.StringByID(InternationalizationString.PersonalCenter));
            new PublicAssmebly().LoadTopView(bodyView, Language.StringByID(StringId.PersonalCenter));
            headPortraitView = new FrameLayout()
            {
                Y = Application.GetRealHeight(64),
                Height = Application.GetRealHeight(124),
                BackgroundColor = CSS_Color.MainBackgroundColor,
                BackgroundColor = CSS_Color.MainBackgroundColor,
            };
            bodyView.AddChidren(headPortraitView);
            btnHeadPortraitView = new Button(){
            btnHeadPortraitView = new Button()
            {
                Gravity = Gravity.Center,
                Width = Application.GetMinRealAverage(84),
                Height = Application.GetMinRealAverage(84),
@@ -172,8 +173,8 @@
            /// </summary>
            optionListView = new VerticalScrolViewLayout()
            {
                Y = headPortraitView.Bottom+ Application.GetRealHeight(8),
                Height = Application.GetRealHeight(45*6),
                Y = headPortraitView.Bottom + Application.GetRealHeight(8),
                Height = Application.GetRealHeight(45 * 6),
                BackgroundColor = CSS_Color.MainBackgroundColor,
                ScrollEnabled = false,
            };
@@ -197,7 +198,7 @@
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextSize = CSS_FontSize.SubheadingFontSize,
                TextID = InternationalizationString.Name,
                TextID = StringId.Name,
            };
            userNameView.AddChidren(btnUserName);
            /// <summary>
@@ -225,7 +226,7 @@
                UnSelectedImagePath = "PersonalCenter/PersonalData/EditIcon.png",
            };
            userNameView.AddChidren(btnEditUserNameIcon);
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16),Height = Application.GetRealHeight(1) ,Width = Application.GetRealWidth(343),BackgroundColor = CSS_Color.DividingLineColor});
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
            #endregion
            #region 个人选项-二维码区域
            /// <summary>
@@ -246,7 +247,7 @@
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextSize = CSS_FontSize.SubheadingFontSize,
                TextID = InternationalizationString.MyQRcode,
                TextID = StringId.MyQRcode,
            };
            _QRcodeView.AddChidren(btnQRcode);
            /// <summary>
@@ -261,7 +262,7 @@
                UnSelectedImagePath = "PersonalCenter/PersonalData/QRcodeIcon.png",
            };
            _QRcodeView.AddChidren(btnQRcodeIcon);
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16),Height = Application.GetRealHeight(1) ,Width = Application.GetRealWidth(343),BackgroundColor = CSS_Color.DividingLineColor});
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
            /// <summary>
            /// 二维码前进图标
            /// </summary>
@@ -294,7 +295,7 @@
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextSize = CSS_FontSize.SubheadingFontSize,
                TextID = InternationalizationString.BoundEmailInfo,
                TextID = StringId.BoundEmailInfo,
            };
            userEmailInfoView.AddChidren(btnUserEmailTilte);
            /// <summary>
@@ -307,7 +308,7 @@
                TextAlignment = TextAlignment.CenterRight,
                TextColor = CSS_Color.PromptingColor1,
                TextSize = CSS_FontSize.TextFontSize,
                Text = string.IsNullOrEmpty(MainPage.LoginUser.UserEmailInfo )?Language.StringByID(InternationalizationString.Unbound):MainPage.LoginUser.UserEmailInfo
                Text = string.IsNullOrEmpty(MainPage.LoginUser.UserEmailInfo) ? Language.StringByID(StringId.Unbound) : MainPage.LoginUser.UserEmailInfo
            };
            userEmailInfoView.AddChidren(btnUserEmailInfo);
            /// <summary>
@@ -322,7 +323,7 @@
                UnSelectedImagePath = "PersonalCenter/PersonalData/Right.png",
            };
            userEmailInfoView.AddChidren(btnUserEmailRight);
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16),Height = Application.GetRealHeight(1) ,Width = Application.GetRealWidth(343),BackgroundColor = CSS_Color.DividingLineColor});
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
            #endregion
            #region 个人选项-手机信息区域
            /// <summary>
@@ -343,7 +344,7 @@
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextSize = CSS_FontSize.SubheadingFontSize,
                TextID = InternationalizationString.BoundMobileInfo,
                TextID = StringId.BoundMobileInfo,
            };
            userPhoneInfoView.AddChidren(btnUserPhoneTitle);
            /// <summary>
@@ -356,7 +357,7 @@
                TextAlignment = TextAlignment.CenterRight,
                TextColor = CSS_Color.PromptingColor1,
                TextSize = CSS_FontSize.TextFontSize,
                Text = string.IsNullOrEmpty(MainPage.LoginUser.UserMobileInfo) ? Language.StringByID(InternationalizationString.Unbound) : MainPage.LoginUser.UserMobileInfo
                Text = string.IsNullOrEmpty(MainPage.LoginUser.UserMobileInfo) ? Language.StringByID(StringId.Unbound) : MainPage.LoginUser.UserMobileInfo
            };
            userPhoneInfoView.AddChidren(btnUserPhoneInfo);
            /// <summary>
@@ -371,7 +372,7 @@
                UnSelectedImagePath = "PersonalCenter/PersonalData/Right.png",
            };
            userPhoneInfoView.AddChidren(btnUserPhoneRight);
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16),Height = Application.GetRealHeight(1) ,Width = Application.GetRealWidth(343),BackgroundColor = CSS_Color.DividingLineColor});
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
            #endregion
            #region 个人选项-第三方授权区域
            /// <summary>
@@ -392,7 +393,7 @@
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextSize = CSS_FontSize.SubheadingFontSize,
                TextID = InternationalizationString.ThirdPartyAuthorization,
                TextID = StringId.ThirdPartyAuthorization,
            };
            thirdPartyAuthorizationView.AddChidren(btnThirdPartyAuthorizationTitle);
            btnThirdPartyAuthorizationRight = new Button()
@@ -404,7 +405,7 @@
                UnSelectedImagePath = "PersonalCenter/PersonalData/Right.png",
            };
            thirdPartyAuthorizationView.AddChidren(btnThirdPartyAuthorizationRight);
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16),Height = Application.GetRealHeight(1) ,Width = Application.GetRealWidth(343),BackgroundColor = CSS_Color.DividingLineColor});
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
            #endregion
            #region 个人选项-修改登录密码区域
            /// <summary>
@@ -425,7 +426,7 @@
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextSize = CSS_FontSize.SubheadingFontSize,
                TextID = InternationalizationString.ChangeLoginPassword,
                TextID = StringId.ChangeLoginPassword,
            };
            resetPasswordView.AddChidren(btnResetPasswordText);
            btnResetPasswordRight = new Button()
@@ -437,7 +438,7 @@
                UnSelectedImagePath = "PersonalCenter/PersonalData/Right.png",
            };
            resetPasswordView.AddChidren(btnResetPasswordRight);
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16),Height = Application.GetRealHeight(1) ,Width = Application.GetRealWidth(343),BackgroundColor = CSS_Color.DividingLineColor});
            optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
            #endregion
            #endregion
@@ -461,7 +462,7 @@
                TextAlignment = TextAlignment.BottomLeft,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextSize = CSS_FontSize.SubheadingFontSize,
                TextID = InternationalizationString.InterpretationSettings,
                TextID = StringId.InterpretationSettings,
            };
            interpretationSettingsView.AddChidren(btnInterpretationSettingsTitle);
            btnInterpretationSettingsTip = new Button()
@@ -472,7 +473,7 @@
                TextAlignment = TextAlignment.TopLeft,
                TextColor = CSS_Color.PromptingColor1,
                TextSize = CSS_FontSize.TextFontSize,
                TextID = InternationalizationString.InterpretationSettingsTip
                TextID = StringId.InterpretationSettingsTip
            };
            interpretationSettingsView.AddChidren(btnInterpretationSettingsTip);
@@ -494,14 +495,14 @@
                TextAlignment = TextAlignment.Center,
                TextSize = CSS_FontSize.SubheadingFontSize,
                TextColor = CSS_Color.AuxiliaryColor2,
                TextID = InternationalizationString.Logout,
                TextID = StringId.Logout,
                BackgroundColor = CSS_Color.MainBackgroundColor,
            };
            bodyView.AddChidren(btnLogout);
            LoadEventList();
        }
    }
    }
}