From e6a26ee148587327478d9a82624a820c907b6e16 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 04 十一月 2020 14:58:15 +0800
Subject: [PATCH] 20201104

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs |   62 ++++++++++++++++---------------
 1 files changed, 32 insertions(+), 30 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
index db9f46b..57dd341 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
@@ -21,7 +21,6 @@
         /// </summary>
         ImageView userHeadImageView;
 
-
         #region 鍥炬爣閫夋嫨閮ㄥ垎鍥炬爣
         /// <summary>
         /// 鑳屾櫙鍥鹃�夐」鍖哄煙
@@ -44,8 +43,6 @@
         /// </summary>
         Button btnCancel;
         #endregion
-
-
 
         #region 涓汉淇℃伅閫夐」鍖哄煙
         /// <summary>
@@ -146,6 +143,7 @@
         Button btnResetPasswordRight;
         #endregion
         #endregion
+
         #endregion
 
         #region 瑙i攣璁剧疆鍖哄煙
@@ -168,19 +166,22 @@
         /// 鏇存柊澶村儚鐨勫洖璋冨嚱鏁�
         /// </summary>
         Action updataHeadImage;
+        /// <summary>
+        /// 鏇存柊鐢ㄦ埛鍚嶇О鐨勫洖璋冨嚱鏁�
+        /// </summary>
+        Action updataUserName;
 
-        public PersonalDataPage(Action upHeadImage)
+        public PersonalDataPage(Action upHeadImage,Action upUserName)
         {
             updataHeadImage = upHeadImage;
+            updataUserName = upUserName;
             bodyView = this;
         }
 
         public void LoadView()
         {
             bodyView.BackgroundColor = CSS_Color.BackgroundColor;
-
             new TopViewDiv(bodyView, Language.StringByID(StringId.PersonalCenter)).LoadTopView();
-            //new PublicAssmebly().LoadTopView(bodyView, Language.StringByID(StringId.PersonalCenter));
 
             headPortraitView = new FrameLayout()
             {
@@ -504,7 +505,7 @@
                 TextAlignment = TextAlignment.TopLeft,
                 TextColor = CSS_Color.PromptingColor1,
                 TextSize = CSS_FontSize.TextFontSize,
-                TextID = StringId.InterpretationSettingsTip
+                TextID = StringId.AppUnlockSettingsTip
             };
             interpretationSettingsView.AddChidren(btnInterpretationSettingsTip);
 
@@ -531,45 +532,48 @@
             };
             bodyView.AddChidren(btnLogout);
 
+            if(MainPage.Increase)
+            {
+                btnLogout.Y = Application.GetRealHeight(613);
+                btnLogout.Height = Application.GetRealHeight(50);
+                bodyView.AddChidren(new Button() { Y = Application.GetRealHeight(663), Height = Application.GetRealHeight(20), BackgroundColor = CSS_Color.MainBackgroundColor });
+            }
+
             LoadEventList();
         }
-
-
 
         /// <summary>
         /// 鍔犺浇鍥炬爣閫夋嫨閫夐」
         /// </summary>
         void LoadPictureOptionView()
         {
-            pictureOptionView = new FrameLayout()
+            var pictureBaseView = new FrameLayout()
             {
                 BackgroundColor = CSS_Color.DialogTransparentColor1,
+
             };
-            bodyView.AddChidren(pictureOptionView);
+            bodyView.AddChidren(pictureBaseView);
+
+            pictureOptionView = new FrameLayout()
+            {
+                Y = Application.GetRealHeight(495),
+                AnimateSpeed = 0.3f,
+                Animate = Animate.DownToUp,
+                Height = Application.GetRealHeight(200),
+            };
+            pictureBaseView.AddChidren(pictureOptionView);
+
 
             optionView = new VerticalScrolViewLayout()
             {
                 Gravity = Gravity.CenterHorizontal,
-                Y = Application.GetRealHeight(495),
                 Width = Application.GetRealWidth(343),
                 Height = Application.GetRealHeight(100),
                 BackgroundColor = CSS_Color.MainBackgroundColor,
                 Radius = (uint)Application.GetRealWidth(12),
-                Animate = Animate.DownToUp,
+                ScrollEnabled = false,
             };
             pictureOptionView.AddChidren(optionView);
-
-            //btnDefaultGallery = new Button()
-            //{
-            //    Height = Application.GetRealHeight(50),
-            //    TextAlignment = TextAlignment.Center,
-            //    TextColor = CSS_Color.TextualColor,
-            //    SelectedTextColor = CSS_Color.MainColor,
-            //    TextSize = CSS_FontSize.SubheadingFontSize,
-            //    TextID = StringId.DefaultGallery,
-            //};
-            //optionView.AddChidren(btnDefaultGallery);
-            //optionView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
 
             btnTakePicture = new Button()
             {
@@ -604,16 +608,14 @@
                 Width = Application.GetRealWidth(343),
                 Height = Application.GetRealHeight(50),
                 BackgroundColor = CSS_Color.MainBackgroundColor,
-                Radius = (uint)Application.GetRealWidth(6),
+                Radius = (uint)Application.GetRealWidth(12),
                 TextID = StringId.Cancel,
                 TextColor = CSS_Color.WarningColor,
-                Animate = Animate.DownToUp
+                TextSize = CSS_FontSize.SubheadingFontSize,
             };
             pictureOptionView.AddChidren(btnCancel);
 
-
-            LoadEvent_PictureOptionViewEventList();
+            LoadEvent_PictureOptionViewEventList(pictureBaseView);
         }
-
     }
 }

--
Gitblit v1.8.0