From 48ba446936b51fffafa7c3600c0dadc6ac0e8c20 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 10 七月 2020 10:52:13 +0800
Subject: [PATCH] 2020-07-10-01

---
 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