From 427d1c7ecd04b03419eae157e32fe3367d8dffea Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期四, 28 十一月 2019 09:53:25 +0800
Subject: [PATCH] 2019.11.28

---
 ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs b/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs
old mode 100755
new mode 100644
index a7232bc..2a93400
--- a/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs
@@ -176,7 +176,7 @@
                 Width = Application.GetRealWidth(942),
                 Gravity = Gravity.CenterHorizontal,
                 BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor,
-                Radius = (uint)Application.GetRealHeight(30)
+                Radius = (uint)Application.GetRealHeight(17)
             };
             midFrameLayout.AddChidren(accountCodeFL);
 
@@ -216,7 +216,7 @@
             LoginByAccountPWDBtn = new Button()
             {
                 X = Application.GetRealWidth(98),
-                Y = Application.GetRealHeight(1446),
+                Y = Application.GetRealHeight(1466),
                 Width = Application.GetRealWidth(300),
                 Height = Application.GetRealHeight(49),
                 TextID = R.MyInternationalizationString.LoginByAccountPWD,
@@ -229,7 +229,7 @@
             registerBtn = new Button()
             {
                 X = Application.GetRealWidth(738),
-                Y = Application.GetRealHeight(1446),
+                Y = Application.GetRealHeight(1466),
                 Width = Application.GetRealWidth(244),
                 Height = Application.GetRealHeight(49),
                 TextID = R.MyInternationalizationString.Register,
@@ -298,11 +298,8 @@
                     {
                         return;
                     }
-                    this.RemoveFromParent();
-                    Application.MainPage?.RemoveViewByTag("Login");
 
-                    UserPage.Instance.Fresh();
-
+                    HomePage.Instance.ShowLoginLoadView();
                     new System.Threading.Thread(async () =>
                     {
                         //鍚姩ZigBee
@@ -331,10 +328,11 @@
                         //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
                         await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
 
-                        Shared.Common.Room.CanInitAllRoom = true;
                         Shared.Common.Room.InitAllRoom();
                         Application.RunOnMainThread(() =>
                         {
+                            this.RemoveFromParent();
+                            CommonPage.Instance.RemoveViewByTag("Login");
                             UserPage.Instance.Fresh();
                             CommonPage.Loading.Hide();
                         });
@@ -477,7 +475,6 @@
                 IsRightAccount = false;
                 codeRow.SendCodeBtn.Enable = codeRow.SendCodeBtn.IsSelected = false;
             }
-            account = (sender as EditText).Text.Trim();
         }
 
         /// <summary>

--
Gitblit v1.8.0