From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 28 二月 2020 15:25:13 +0800
Subject: [PATCH] 2020.2.28

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/PswSecondarySecurityForm.cs |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/PswSecondarySecurityForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/PswSecondarySecurityForm.cs
index 3764cf8..f04784f 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/PswSecondarySecurityForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/PswSecondarySecurityForm.cs
@@ -43,7 +43,7 @@
             frameBack.Width = Application.GetRealWidth(965);
             frameBack.Height = Application.GetRealHeight(1711);
             frameBack.BackgroundColor = UserCenterColor.Current.White;
-            frameBack.Radius = 6;
+            frameBack.Radius = (uint)Application.GetRealHeight(17);
             bodyFrameLayout.AddChidren(frameBack);
 
             //瀵嗙爜杈撳叆鎺т欢
@@ -86,13 +86,9 @@
             };
 
             //鎵嬪娍寮�閿�
-            var btnGesture = new NormalClickButton(frameBack.Width / 2, Application.GetRealHeight(127));
-            btnGesture.oldBackgroundColor = 0xfff5f6fa;
-            btnGesture.BackgroundColor = 0xfff5f6fa;
-            btnGesture.Text = i_GestureText;
-            btnGesture.TextColor = UserCenterColor.Current.TextColor1;
-            btnGesture.Gravity = Gravity.BottomLeft;
+            var btnGesture = new BottomLeftClickButton(frameBack.Width / 2, Application.GetRealHeight(127));
             frameBack.AddChidren(btnGesture);
+            btnGesture.InitControl(i_GestureText);
             if (string.IsNullOrEmpty(UserCenterResourse.Option.GestureAuthentication) == true)
             {
                 //娌℃湁鍚敤鎵嬪娍寮�閿�
@@ -106,13 +102,9 @@
             };
 
             //Touch ID寮�閿�
-            var btnTouch = new NormalClickButton(frameBack.Width / 2, Application.GetRealHeight(127));
-            btnTouch.BackgroundColor = 0xff232323;
-            btnTouch.oldBackgroundColor = 0xff232323;
-            btnTouch.Text = i_TouchText;
-            btnTouch.TextColor = UserCenterColor.Current.White;
-            btnTouch.Gravity = Gravity.BottomRight;
+            var btnTouch = new BottomRightClickButton(frameBack.Width - btnGesture.Width, btnGesture.Height);
             frameBack.AddChidren(btnTouch);
+            btnTouch.InitControl(i_TouchText);
             if (UserCenterResourse.Option.FingerprintAuthentication == false)
             {
                 //娌℃湁鍚敤Touch ID

--
Gitblit v1.8.0