From f788a1e320b8505435ed66e2456ddb2d0a838f76 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 19 十一月 2020 19:58:14 +0800
Subject: [PATCH] 2020-11-19 1.优化绑定和解绑页面。2.修改密码功能实现,UI界面实现,接口实现。

---
 HDL_ON/UI/UI2/4-PersonalCenter/ResetAccountPassword/ResetPasswordOptionPage.cs |   34 +++++++++++++++++++---------------
 1 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/ResetAccountPassword/ResetPasswordOptionPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/ResetAccountPassword/ResetPasswordOptionPage.cs
index 0edefe9..59a31b4 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/ResetAccountPassword/ResetPasswordOptionPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/ResetAccountPassword/ResetPasswordOptionPage.cs
@@ -102,7 +102,7 @@
                     this.RemoveFromParent();
                     var vcp = new ResetPasswordVerificationCodePage();
                     MainPage.BasePageView.AddChidren(vcp);
-                    vcp.LoadPage(StringId.PhoneNumberVerification,2);
+                    vcp.LoadPage(StringId.PhoneNumberVerification, true, MainPage.LoginUser.userMobileInfo);
                     MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
                 }
             }
@@ -117,7 +117,7 @@
                     this.RemoveFromParent();
                     var vcp = new ResetPasswordVerificationCodePage();
                     MainPage.BasePageView.AddChidren(vcp);
-                    vcp.LoadPage(StringId.EmailVerification,1);
+                    vcp.LoadPage(StringId.EmailVerification, false, MainPage.LoginUser.userEmailInfo);
                     MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
                 }
             }
@@ -134,17 +134,8 @@
             dialogView.MouseUpEventHandler = (sender, e) => {
                 dialog.Close();
             };
-
-            Button btnTitleIcon = new Button()
-            {
-                X = Application.GetRealWidth(108),
-                Y = Application.GetRealWidth(152),
-                Width = Application.GetRealWidth(160),
-                Height = Application.GetRealWidth(160),
-                UnSelectedImagePath = "PersonalCenter/ResetPassword/DialogTipTitleIcon.png"
-            };
-            dialogView.AddChidren(btnTitleIcon);
-
+            dialog.AddChidren(dialogView);
+        
             FrameLayout contentView = new FrameLayout()
             {
                 Gravity = Gravity.CenterHorizontal,
@@ -156,6 +147,19 @@
             };
             dialogView.AddChidren(contentView);
 
+            Button btnTitleIcon = new Button()
+            {
+                X = Application.GetRealWidth(108),
+                Y = Application.GetRealWidth(152),
+                Width = Application.GetRealWidth(160),
+                Height = Application.GetRealWidth(160),
+                UnSelectedImagePath = "PersonalCenter/ResetPassword/DialogTipTitleIcon.png"
+            };
+            dialogView.AddChidren(btnTitleIcon);
+            btnTitleIcon.MouseUpEventHandler = (sender, e) => {
+                dialog.Close();
+            };
+
             Button btnMsg = new Button()
             {
                 Gravity = Gravity.CenterHorizontal,
@@ -164,7 +168,7 @@
                 Height = Application.GetRealWidth(62),
                 TextColor = CSS_Color.MainColor,
                 TextSize = CSS_FontSize.SubheadingFontSize,
-                TextID = verificationOption == 0?StringId.UnBindPhoneNumberCannotVerification: StringId.UnBindEmailCannotVerification,
+                TextID = verificationOption == 0 ? StringId.UnBindPhoneNumberCannotVerification: StringId.UnBindEmailCannotVerification,
             };
             contentView.AddChidren(btnMsg);
 
@@ -177,7 +181,7 @@
                 TextAlignment = TextAlignment.Center,
                 Radius = (uint)Application.GetRealWidth(22),
                 BackgroundColor = CSS_Color.MainColor,
-                TextID = StringId.PhoneNumberVerification,
+                TextID = StringId.GoBind,
                 TextSize = CSS_FontSize.SubheadingFontSize,
                 TextColor = CSS_Color.MainBackgroundColor,
             };

--
Gitblit v1.8.0