From 07466c19110693e3e439a7d7c8ad0bc21d9b3287 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期三, 29 四月 2020 09:14:01 +0800
Subject: [PATCH] 优化代码,更改门锁需求接口

---
 ZigbeeApp/Shared/Phone/Login/PhoneZone.cs |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Login/PhoneZone.cs b/ZigbeeApp/Shared/Phone/Login/PhoneZone.cs
index a9e1ac4..13a0844 100755
--- a/ZigbeeApp/Shared/Phone/Login/PhoneZone.cs
+++ b/ZigbeeApp/Shared/Phone/Login/PhoneZone.cs
@@ -4,7 +4,7 @@
 
 namespace Shared.Phone.Device.Login
 {
-    public class PhoneZone : FrameLayout
+    public class PhoneZone : UserCenter.FrameLayoutBase
     {
         #region 鈼� 鍙橀噺____________________________
         /// <summary>
@@ -184,20 +184,21 @@
             };
             phoneZoneSelectedShowView.AddChidren(phoneZoneListView);
 
-            var okBtn = new CommonForm.CompleteButton(1166, 668, 127);
-            phoneZoneSelectedShowView.AddChidren(okBtn);
-            okBtn.MouseUpEventHandler += (sender, e) =>
+            var btnOk = new UserCenter.BottomClickButton(668);
+            btnOk.Y = Application.GetRealHeight(1166);
+            btnOk.TextID = R.MyInternationalizationString.Complete;
+            phoneZoneSelectedShowView.AddChidren(btnOk);
+            btnOk.ButtonClickEvent += (sender, e) =>
             {
                 ActionSelectedZone?.Invoke(CommonPage.PhoneZoneStr);
                 ActionSelectedZone = null;
                 RemoveFromParent();
             };
-            phoneZoneSelectedShowView.AddChidren(okBtn);
             var cancleBtn = new Button()
             {
                 Y = Application.GetRealHeight(1719),
-                Height = Application.GetMinRealAverage(86),
-                Width = Application.GetMinRealAverage(86),
+                Height = this.GetPictrueRealSize(86),
+                Width = this.GetPictrueRealSize(86),
                 UnSelectedImagePath = "Account/Cancle.png",
                 Gravity = Gravity.CenterHorizontal
             };

--
Gitblit v1.8.0