From f1c3921b08bb22ac6f5db22d620e01d7e8e5c49f Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期一, 30 十二月 2019 13:32:33 +0800
Subject: [PATCH] 2019-12-30-1

---
 ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs |   36 +++++++++++++++++++-----------------
 1 files changed, 19 insertions(+), 17 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs b/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs
index cb975be..48ea58b 100755
--- a/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs
@@ -2,6 +2,7 @@
 using System.Timers;
 using Shared.Common;
 using Shared.Phone.Device.CommonForm;
+using Shared.Phone.UserCenter;
 
 namespace Shared.Phone.Device.Account
 {
@@ -19,8 +20,6 @@
         /// 鎵嬫満閭
         /// </summary>
         private FrameLayout PhoneEmailFL;
-
-
 
         public PhoneEmailForm()
         {
@@ -141,14 +140,23 @@
             accountFL.AddChidren(PhoneZoneBtn);
             PhoneZoneBtn.MouseUpEventHandler += (sender, e) =>
             {
-                var zoneListView = new PhoneZone { };
-                zoneListView.ActionSelectedZone += (zone) =>
+                var form = new AreaCodeSelectForm();
+                parFL.AddChidren(form);
+                form.InitForm();
+                form.ShowForm();
+                form.FinishSelectEvent += (code) =>
                 {
-                    var t = CommonPage.PhoneZoneStr;
-                    (sender as Button).Text = "+" + zone;
+                    (sender as Button).Text = "+" + code;
                 };
-                parFL.AddChidren(zoneListView);
-                zoneListView.Show();
+
+                //var zoneListView = new PhoneZone { };
+                //zoneListView.ActionSelectedZone += (zone) =>
+                //{
+                //    var t = CommonPage.PhoneZoneStr;
+                //    (sender as Button).Text = "+" + zone;
+                //};
+                //parFL.AddChidren(zoneListView);
+                //zoneListView.Show();
             };
 
             AccountET = new EditText()
@@ -175,8 +183,6 @@
             };
             accountFL.AddChidren(accountLine);
         }
-
-
     }
 
     public class PhoneLoginRowForm : FrameLayout
@@ -241,8 +247,6 @@
             };
             accountFL.AddChidren(accountLine);
         }
-
-
     }
 
     public class EmailRowForm : FrameLayout
@@ -445,7 +449,7 @@
         /// VerificationCodeET
         /// </summary>
         public EditText VerificationCodeET;
-    
+
         /// <summary>
         /// Init
         /// </summary>
@@ -891,7 +895,7 @@
                 SelectedBackgroundColor=ZigbeeColor.Current.GXCButtonSelectedColor,
                 Enable = false,
                 IsSelected = false,
-                Radius=(uint)Application.GetRealHeight(20)
+                Radius=(uint)Application.GetRealHeight(12)
             };
             codeFL.AddChidren(SendCodeBtn);
 
@@ -1039,7 +1043,7 @@
                 SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor,
                 Enable = false,
                 IsSelected = false,
-                Radius = (uint)Application.GetRealHeight(20)
+                Radius = (uint)Application.GetRealHeight(12)
             };
             codeFL.AddChidren(SendCodeBtn);
 
@@ -1110,8 +1114,6 @@
             t.Dispose();
             base.RemoveFromParent();
         }
-
     }
-
 
 }

--
Gitblit v1.8.0