From 955d02679c2c22bd3debd40a71510d78a8256cc4 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 07 十一月 2023 11:06:31 +0800
Subject: [PATCH] 场景使能自动化优化

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs |   31 ++++++++++++++++++++-----------
 1 files changed, 20 insertions(+), 11 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
index 7745f79..1228ec0 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
@@ -228,13 +228,15 @@
         public void LoadView()
         {
             bodyView.BackgroundColor = CSS_Color.BackgroundColor;
-            new TopViewDiv(bodyView, Language.StringByID(StringId.PersonalCenter)).LoadTopView();
+            var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.PersonalCenter));
+            topView.maginY = 10;
+            topView.LoadTopView();
 
             bodyScrolView = new VerticalScrolViewLayout()
             {
-                Y = Application.GetRealHeight(64),
+                Y = Application.GetRealHeight(64+10),
                 VerticalScrollBarEnabled = false,
-                Height = Application.GetRealHeight(551),
+                Height = Application.GetRealHeight(551-10),
             };
             bodyView.AddChidren(bodyScrolView);
 
@@ -262,7 +264,7 @@
             };
             headPortraitView.AddChidren(userHeadImageView);
 
-#region 涓汉淇℃伅閫夐」鍖哄煙
+            #region 涓汉淇℃伅閫夐」鍖哄煙
             var topPaddingView = new FrameLayout()
             {
                 Height = Application.GetRealHeight(8)
@@ -296,7 +298,7 @@
             optionListView.Height = Application.GetRealHeight(51 * (6 + addRow));
 
 
-#region 涓汉閫夐」-鍚嶅瓧鍖哄煙
+            #region 涓汉閫夐」-鍚嶅瓧鍖哄煙
             /// <summary>
             /// 涓汉閫夐」-鍚嶅瓧鍖哄煙
             /// </summary>
@@ -344,8 +346,8 @@
             };
             userNameView.AddChidren(btnEditUserNameIcon);
             optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
-#endregion
-#region 涓汉閫夐」-浜岀淮鐮佸尯鍩�
+            #endregion
+            #region 涓汉閫夐」-浜岀淮鐮佸尯鍩�
             /// <summary>
             /// 涓汉閫夐」-浜岀淮鐮佸尯鍩�
             /// </summary>
@@ -392,8 +394,8 @@
                 UnSelectedImagePath = "Public/Right.png",
             };
             _QRcodeView.AddChidren(btnQRcodeRight);
-#endregion
-#region 涓汉閫夐」-閭淇℃伅鍖哄煙
+            #endregion
+            #region 涓汉閫夐」-閭淇℃伅鍖哄煙
             /// <summary>
             /// 涓汉閫夐」-閭淇℃伅鍖哄煙
             /// </summary>
@@ -441,7 +443,7 @@
             };
             userEmailInfoView.AddChidren(btnUserEmailRight);
             optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
-#endregion
+            #endregion
 #region 涓汉閫夐」-鎵嬫満淇℃伅鍖哄煙
             /// <summary>
             /// 涓汉閫夐」-鎵嬫満淇℃伅鍖哄煙
@@ -854,7 +856,14 @@
             logOffView.BtnTilte.Text = Language.StringByID(StringId.CancelAccount);
             logOffView.LineView.RemoveFromParent();
 
-#endregion
+            #endregion
+
+            bodyView.AddChidren(new Button()
+            {
+                Y = Application.GetRealHeight(622),
+                Height = 1,
+                BackgroundColor = CSS_Color.DividingLineColor,
+            });
 
             btnLogout = new Button()
             {

--
Gitblit v1.8.0