From ace942d3f082a8a9687cf65337ee1c342a5c9bd8 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 10 一月 2022 11:09:32 +0800
Subject: [PATCH] 备份更新

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs |  126 ++++++++++++++++++++++++-----------------
 1 files changed, 73 insertions(+), 53 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
index e511612..0e31bad 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
@@ -183,10 +183,10 @@
         /// <summary>
         /// 瑙i攣璁剧疆鍖哄煙
         /// </summary>
-        FrameLayout interpretationSettingsView;
-        Button btnInterpretationSettingsTitle;
-        Button btnInterpretationSettingsTip;
-        Button btnInterpretationSettingsRight;
+        //FrameLayout interpretationSettingsView;
+        //Button btnInterpretationSettingsTitle;
+        //Button btnInterpretationSettingsTip;
+        //Button btnInterpretationSettingsRight;
         #endregion
 
         /// <summary>
@@ -679,62 +679,62 @@
             }
 
             #endregion
-
-            #region 瑙i攣璁剧疆鍖哄煙
             var topPaddingView2 = new FrameLayout()
             {
                 Height = Application.GetRealHeight(8)
             };
             bodyScrolView.AddChidren(topPaddingView2);
-            /// <summary>
-            /// 瑙i攣璁剧疆鍖哄煙
-            /// </summary>
-            interpretationSettingsView = new FrameLayout()
-            {
-                BackgroundColor = CSS_Color.MainBackgroundColor,
-                Height = Application.GetRealHeight(70),
-            };
-            bodyScrolView.AddChidren(interpretationSettingsView);
-            if(Language.CurrentLanguage != "Chinese")
-            {
-                interpretationSettingsView.Height = Application.GetRealHeight(80);
-            }
 
-            btnInterpretationSettingsTitle = new Button()
-            {
-                X = Application.GetRealWidth(16),
-                Height = Application.GetRealHeight(32),
-                TextAlignment = TextAlignment.BottomLeft,
-                TextColor = CSS_Color.FirstLevelTitleColor,
-                TextSize = CSS_FontSize.SubheadingFontSize,
-                TextID = StringId.InterpretationSettings,
-            };
-            interpretationSettingsView.AddChidren(btnInterpretationSettingsTitle);
+            #region 瑙i攣璁剧疆鍖哄煙
+            ///// <summary>
+            ///// 瑙i攣璁剧疆鍖哄煙
+            ///// </summary>
+            //interpretationSettingsView = new FrameLayout()
+            //{
+            //    BackgroundColor = CSS_Color.MainBackgroundColor,
+            //    Height = Application.GetRealHeight(70),
+            //};
+            //bodyScrolView.AddChidren(interpretationSettingsView);
+            //if(Language.CurrentLanguage != "Chinese")
+            //{
+            //    interpretationSettingsView.Height = Application.GetRealHeight(80);
+            //}
 
-            btnInterpretationSettingsTip = new Button()
-            {
-                X = Application.GetRealWidth(16),
-                Y = btnInterpretationSettingsTitle.Bottom,
-                Height = Application.GetRealHeight(32),
-                Width = Application.GetRealWidth(310),
-                TextAlignment = TextAlignment.TopLeft,
-                TextColor = CSS_Color.PromptingColor1,
-                TextSize = CSS_FontSize.TextFontSize,
-                TextID = StringId.AppUnlockSettingsTip,
-                IsMoreLines = true,
-            };
-            interpretationSettingsView.AddChidren(btnInterpretationSettingsTip);
+            //btnInterpretationSettingsTitle = new Button()
+            //{
+            //    X = Application.GetRealWidth(16),
+            //    Height = Application.GetRealHeight(32),
+            //    TextAlignment = TextAlignment.BottomLeft,
+            //    TextColor = CSS_Color.FirstLevelTitleColor,
+            //    TextSize = CSS_FontSize.SubheadingFontSize,
+            //    TextID = StringId.InterpretationSettings,
+            //};
+            //interpretationSettingsView.AddChidren(btnInterpretationSettingsTitle);
 
-            btnInterpretationSettingsRight = new Button()
-            {
-                X = Application.GetRealWidth(339),
-                Gravity = Gravity.CenterVertical,
-                Width = Application.GetMinRealAverage(16),
-                Height = Application.GetMinRealAverage(16),
-                UnSelectedImagePath = "Public/Right.png",
-            };
-            interpretationSettingsView.AddChidren(btnInterpretationSettingsRight);
-            interpretationSettingsView.AddChidren(new LineView(interpretationSettingsView.Height));
+            //btnInterpretationSettingsTip = new Button()
+            //{
+            //    X = Application.GetRealWidth(16),
+            //    Y = btnInterpretationSettingsTitle.Bottom,
+            //    Height = Application.GetRealHeight(32),
+            //    Width = Application.GetRealWidth(310),
+            //    TextAlignment = TextAlignment.TopLeft,
+            //    TextColor = CSS_Color.PromptingColor1,
+            //    TextSize = CSS_FontSize.TextFontSize,
+            //    TextID = StringId.AppUnlockSettingsTip,
+            //    IsMoreLines = true,
+            //};
+            //interpretationSettingsView.AddChidren(btnInterpretationSettingsTip);
+
+            //btnInterpretationSettingsRight = new Button()
+            //{
+            //    X = Application.GetRealWidth(339),
+            //    Gravity = Gravity.CenterVertical,
+            //    Width = Application.GetMinRealAverage(16),
+            //    Height = Application.GetMinRealAverage(16),
+            //    UnSelectedImagePath = "Public/Right.png",
+            //};
+            //interpretationSettingsView.AddChidren(btnInterpretationSettingsRight);
+            //interpretationSettingsView.AddChidren(new LineView(interpretationSettingsView.Height));
             #endregion
 
             #region 鏈嶅姟鍣ㄤ俊鎭�
@@ -752,7 +752,27 @@
             };
             myServerInfoCellView.GoAction = selectAction;
             myServerInfoCellView.BtnTilte.Text = Language.StringByID(StringId.ServerInformation);
-            myServerInfoCellView.LineView.RemoveFromParent();
+            //myServerInfoCellView.LineView.RemoveFromParent();
+
+            #endregion
+
+
+            #region 娉ㄩ攢璐﹀彿
+            ListCellView logOffView = new ListCellView()
+            {
+            };
+            bodyScrolView.AddChidren(logOffView);
+            //娉ㄩ攢璐﹀彿鐣岄潰
+            Action logOffAction = () =>
+            {
+                var myServerInfoPage = new CancelAccountPage();
+                MainPage.BasePageView.AddChidren(myServerInfoPage);
+                myServerInfoPage.LoadPage();
+                MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+            };
+            logOffView.GoAction = logOffAction;
+            logOffView.BtnTilte.Text = Language.StringByID(StringId.CancelAccount);
+            logOffView.LineView.RemoveFromParent();
 
             #endregion
 

--
Gitblit v1.8.0