From 4cc04639fbadde3a7f3b9875353df0d90fc09043 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期六, 18 一月 2020 14:33:40 +0800
Subject: [PATCH] 节前备份

---
 HDL_ON/UI/UI2/4-PersonalCenter/UI/PersonalDataPage.cs |   49 +++++++++++++++++++++++++------------------------
 1 files changed, 25 insertions(+), 24 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/UI/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/UI/PersonalDataPage.cs
index dabee7b..5c35050 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/UI/PersonalDataPage.cs
+++ b/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();
         }
 
 
-    } 
+    }
 }

--
Gitblit v1.8.0