From c3e1b733fc45bd9f0b88bfb560cfa87a270b079b Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 09 九月 2020 17:33:58 +0800
Subject: [PATCH] 20200909
---
HDL_ON/UI/UI0-Public/AppUnlockPage.cs | 27 ++++++++++-----------------
1 files changed, 10 insertions(+), 17 deletions(-)
diff --git a/HDL_ON/UI/UI0-Public/AppUnlockPage.cs b/HDL_ON/UI/UI0-Public/AppUnlockPage.cs
index 6602205..a36a036 100644
--- a/HDL_ON/UI/UI0-Public/AppUnlockPage.cs
+++ b/HDL_ON/UI/UI0-Public/AppUnlockPage.cs
@@ -33,54 +33,46 @@
{
MainPage.Log("KK:TouchID楠岃瘉鎴愬姛");
unlockTime = DateTime.Now;
- //MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1);
MainPage.BasePageView.GetChildren(MainPage.BasePageView.ChildrenCount - 1).RemoveFromParent();
}
else
{
///灏嗛獙璇佹寚绾圭殑椤甸潰绉婚櫎
- //MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1);
MainPage.BasePageView.GetChildren(MainPage.BasePageView.ChildrenCount - 1).RemoveFromParent();
-
if (MainPage.LoginUser.appUnlockType.Contains("1"))
{
var page = new AppUnlockPasswordPage(MainPage.LoginUser.appUnlockPasswrod, action);
MainPage.BasePageView.AddChidren(page);
page.LoadPage("7");
- //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("7");
- //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
}
+
}
};
- return;
}
else if (MainPage.LoginUser.appUnlockType.Contains("4"))
{
//Face ID楠岃瘉
//
- return;
}
else if (MainPage.LoginUser.appUnlockType.Contains("1"))
{
var page = new AppUnlockPasswordPage(MainPage.LoginUser.appUnlockPasswrod, action);
MainPage.BasePageView.AddChidren(page);
page.LoadPage("7");
- //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
- return;
}
else if (MainPage.LoginUser.appUnlockType.Contains("2"))
{
var page = new AppUnlockGesturePage(MainPage.LoginUser.appUnlockPasswrod, action);
MainPage.BasePageView.AddChidren(page);
page.LoadPage("7");
- //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
- return;
}
#if __ANDROID__
new System.Threading.Thread(() =>
@@ -90,6 +82,7 @@
{
MainPage.Log($"鍊掕鏃讹細{i} sec");
System.Threading.Thread.Sleep(1000);
+ i++;
}
Application.RunOnMainThread(() =>
{
@@ -127,7 +120,6 @@
BackgroundColor = CSS.CSS_Color.MainBackgroundColor
};
MainPage.BasePageView.AddChidren(bodyView);
- MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
bodyView.AddChidren(new Button()
{
@@ -167,13 +159,14 @@
TextAlignment = TextAlignment.Center,
TextColor = CSS.CSS_Color.MainColor,
TextSize = CSS.CSS_FontSize.TextFontSize,
- TextID = MainPage.LoginUser.appUnlockType.Contains("1") ? StringId.VerifyDigitalPassword : StringId.VerifyGesturePassword
+ TextID = MainPage.LoginUser.appUnlockType.Contains("1") ? StringId.VerifyDigitalPassword : StringId.VerifyGesturePassword,
};
bodyView.AddChidren(btnOtherVerify);
btnOtherVerify.MouseUpEventHandler = (sender, e) =>
{
-
+ ///灏嗛獙璇佹寚绾圭殑椤甸潰绉婚櫎
+ MainPage.BasePageView.GetChildren(MainPage.BasePageView.ChildrenCount - 1).RemoveFromParent();
Action action = () =>
{
unlockTime = DateTime.Now;
@@ -192,11 +185,11 @@
page.LoadPage(optionType);
MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
}
- ///灏嗛獙璇佹寚绾圭殑椤甸潰绉婚櫎
- //MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1);
- MainPage.BasePageView.GetChildren(MainPage.BasePageView.ChildrenCount - 1).RemoveFromParent();
+
};
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+
//dialog.Show();
Console.WriteLine("-0987654321");
}
--
Gitblit v1.8.0