From e322d91c7325019710bfdb046c5fea673031455a Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 29 七月 2020 11:53:01 +0800
Subject: [PATCH] 20200729

---
 HDL_ON/UI/UI0-Public/AppUnlockPage.cs |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/HDL_ON/UI/UI0-Public/AppUnlockPage.cs b/HDL_ON/UI/UI0-Public/AppUnlockPage.cs
index 13cff38..6602205 100644
--- a/HDL_ON/UI/UI0-Public/AppUnlockPage.cs
+++ b/HDL_ON/UI/UI0-Public/AppUnlockPage.cs
@@ -58,11 +58,13 @@
                         }
                     }
                 };
+                return;
             }
             else if (MainPage.LoginUser.appUnlockType.Contains("4"))
             {
                 //Face ID楠岃瘉
                 //
+                return;
             }
             else if (MainPage.LoginUser.appUnlockType.Contains("1"))
             {
@@ -70,6 +72,7 @@
                 MainPage.BasePageView.AddChidren(page);
                 page.LoadPage("7");
                 //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+                return;
             }
             else if (MainPage.LoginUser.appUnlockType.Contains("2"))
             {
@@ -77,6 +80,7 @@
                 MainPage.BasePageView.AddChidren(page);
                 page.LoadPage("7");
                 //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+                return;
             }
 #if __ANDROID__
             new System.Threading.Thread(() =>
@@ -94,7 +98,7 @@
             })
             { IsBackground = true }.Start();
 #else
-                    MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+            MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
 #endif
 
         }
@@ -169,10 +173,7 @@
 
             btnOtherVerify.MouseUpEventHandler = (sender, e) =>
             {
-                ///灏嗛獙璇佹寚绾圭殑椤甸潰绉婚櫎
-                //MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1);
-                MainPage.BasePageView.GetChildren(MainPage.BasePageView.ChildrenCount - 1).RemoveFromParent();
-
+              
                 Action action = () =>
                 {
                     unlockTime = DateTime.Now;
@@ -182,15 +183,18 @@
                     var page = new AppUnlockPasswordPage(MainPage.LoginUser.appUnlockPasswrod, action);
                     MainPage.BasePageView.AddChidren(page);
                     page.LoadPage(optionType);
-                    //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+                    MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
                 }
                 else if (MainPage.LoginUser.appUnlockType.Contains("2"))
                 {
                     var page = new AppUnlockGesturePage(MainPage.LoginUser.appUnlockPasswrod, action);
                     MainPage.BasePageView.AddChidren(page);
                     page.LoadPage(optionType);
-                    //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+                    MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
                 }
+                ///灏嗛獙璇佹寚绾圭殑椤甸潰绉婚櫎
+                //MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1);
+                MainPage.BasePageView.GetChildren(MainPage.BasePageView.ChildrenCount - 1).RemoveFromParent();
             };
 
             //dialog.Show();

--
Gitblit v1.8.0