From 9aa32bd5ed75d54b2141b6c91f163d43216a3643 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 06 十二月 2019 13:14:02 +0800
Subject: [PATCH] 20191206

---
 HDL_ON/UI/UI1-Login/UI/ForgetPasswordPage.cs |   55 +++++++++++++------------------------------------------
 1 files changed, 13 insertions(+), 42 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/UI/ForgetPasswordPage.cs b/HDL_ON/UI/UI1-Login/UI/ForgetPasswordPage.cs
index a6c11be..872412d 100644
--- a/HDL_ON/UI/UI1-Login/UI/ForgetPasswordPage.cs
+++ b/HDL_ON/UI/UI1-Login/UI/ForgetPasswordPage.cs
@@ -9,6 +9,10 @@
     {
         #region 鎺т欢鍒楄〃
         /// <summary>
+        /// 绛夊緟鎻愮ず
+        /// </summary>
+        Loading waitPage;
+        /// <summary>
         /// 褰撳墠鐣岄潰
         /// </summary>
         FrameLayout bodyView;
@@ -16,10 +20,6 @@
         /// 閫夋嫨鎵嬫満鐧诲綍鎸夐挳
         /// </summary>
         Button btnPhoneLogin;
-        /// <summary>
-        /// 鐧诲綍绫诲瀷閫変腑鎻愮ず绾�
-        /// </summary>
-        Button btnChooseBottomLine;
         /// <summary>
         /// 閫夋嫨閭鐧诲綍鎸夐挳
         /// </summary>
@@ -124,7 +124,7 @@
         /// <summary>
         /// 淇敼鎸夐挳
         /// </summary>
-        Button btnRegister;
+        Button btnReset;
 
         #endregion
 
@@ -135,14 +135,6 @@
         /// 1:閭
         /// </summary>
         int accountType = 0;
-        /// <summary>
-        /// 鎵嬫満鍙风爜鏄惁鏈夋晥
-        /// </summary>
-        bool ValidMobileNumber = false;
-        /// <summary>
-        /// 瀵嗙爜鏄惁鏈夋晥
-        /// </summary>
-        bool ValidPassword = false;
         /// <summary>
         /// 鏈嶅姟鍣ㄨ姹傚璞�
         /// </summary>
@@ -158,8 +150,9 @@
         /// </summary>
         int registerType;
         #endregion
-        public ForgetPasswordPage()
+        public ForgetPasswordPage(Action<string> action)
         {
+            callbackAction = action;
             bodyView = new FrameLayout()
             {
                 BackgroundColor = CSS_Color.BackgroundColor,
@@ -171,7 +164,7 @@
 
         public void ShowDialog()
         {
-            new PublicAssmebly().LoadTopView(this, bodyView, Language.StringByID(InternationalizationString.Register));
+            new PublicAssmebly().LoadTopView(this, bodyView, Language.StringByID(InternationalizationString.ForgetPassword));
 
             #region 淇敼鏂瑰紡閫夋嫨
             btnPhoneLogin = new Button()
@@ -186,18 +179,6 @@
                 TextSize = CSS_FontSize.EmphasisFontSize_Secondary,
             };
             bodyView.AddChidren(btnPhoneLogin);
-
-            btnChooseBottomLine = new Button()
-            {
-                Width = Application.GetRealWidth(46),
-                Height = Application.GetRealHeight(4),
-                X = btnPhoneLogin.X + Application.GetRealWidth(27),
-                Y = btnPhoneLogin.Bottom,
-                Radius = (uint)Application.GetRealHeight(2),
-                BorderWidth = 0,
-                BackgroundColor = CSS_Color.MainColor,
-            };
-            bodyView.AddChidren(btnChooseBottomLine);
 
             btnEmailLogin = new Button()
             {
@@ -236,16 +217,6 @@
             {
                 accountView.AddChidren(btnGlobalRoaming);
             }
-
-            //btnDividingLineVertical_AccountView = new Button()
-            //{
-            //    X = Application.GetRealWidth(65),
-            //    Gravity = Gravity.CenterVertical,
-            //    Width = 1,
-            //    Height = Application.GetRealHeight(20),
-            //    BackgroundColor = CSS_Color.DividingLineColor,
-            //};
-            //accountView.AddChidren(btnDividingLineVertical_AccountView);
 
             etAccount = new EditText()
             {
@@ -417,7 +388,7 @@
             repeatPasswordView = new FrameLayout()
             {
                 X = Application.GetRealWidth(28),
-                Y = Application.GetRealHeight(279),
+                Y = Application.GetRealHeight(335),
                 Width = Application.GetRealWidth(335),
                 Height = Application.GetRealHeight(44),
             };
@@ -481,7 +452,7 @@
 
             #endregion
 
-            btnRegister = new Button()
+            btnReset = new Button()
             {
                 Gravity = Gravity.CenterHorizontal,
                 Y = Application.GetRealHeight(421),
@@ -490,14 +461,14 @@
                 Radius = (uint)Application.GetRealHeight(22),
                 SelectedBackgroundColor = CSS_Color.MainColor,
                 BackgroundColor = CSS_Color.PromptingColor1,
-                TextID = InternationalizationString.Register,
+                TextID = InternationalizationString.ConfirmReset,
                 TextSize = CSS_FontSize.SubheadingFontSize,
                 TextColor = CSS_Color.MainBackgroundColor,
                 TextAlignment = TextAlignment.Center,
             };
-            bodyView.AddChidren(btnRegister);
+            bodyView.AddChidren(btnReset);
 
-            //LoadEventList();
+            LoadEventList();
         }
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0