From 2be70a32d2a8c517bd9868fb60913fcc843e66fe Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 13 五月 2020 11:21:32 +0800 Subject: [PATCH] 上传代码 --- ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs | 24 ++++++++++-------------- 1 files changed, 10 insertions(+), 14 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs b/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs index 1def82e..b726d07 100755 --- a/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs +++ b/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs @@ -189,10 +189,10 @@ var btnTiyan = new NormalViewControl(300, 100, true); btnTiyan.Y = btnLoginByCode.Y; btnTiyan.TextAlignment = TextAlignment.Center; - btnTiyan.TextColor = UserCenterColor.Current.TextGrayColor3; + btnTiyan.TextColor = UserCenterColor.Current.TextOrangeColor; btnTiyan.TextSize = 12; btnTiyan.Gravity = Gravity.CenterHorizontal; - btnTiyan.Text = "娓稿浣撻獙"; + btnTiyan.TextID = R.MyInternationalizationString.uExperienceAccount; frameMidBack.AddChidren(btnTiyan); btnTiyan.ButtonClickEvent += (sender, e) => { @@ -207,7 +207,7 @@ { this.RemoveFromParent(); CommonPage.Instance.RemoveViewByTag("Login"); - UserPage.Instance.Fresh(); + UserPage.Instance.ReFreshControl(); }); }); }; @@ -637,14 +637,10 @@ //瀛椾綋鎬诲搴� int fontWidth = 0; int btnWidth = 0; -#if Android + //鐗规畩鐨勮宸�� - int speceilValue = Application.GetRealWidth(20); -#endif -#if iOS - //鐗规畩鐨勮宸�� - int speceilValue = Application.GetRealWidth(10); -#endif + int speceilValue = ControlCommonResourse.TwoTextSpace; + //鎴戝凡闃呰骞跺悓鎰� var btnMsg1 = new NormalViewControl(100, 90, true); btnMsg1.Gravity = Gravity.CenterVertical; @@ -855,7 +851,7 @@ { this.RemoveFromParent(); CommonPage.Instance.RemoveViewByTag("Login"); - UserPage.Instance.Fresh(); + UserPage.Instance.ReFreshControl(); }); } else @@ -911,7 +907,7 @@ var responseDataObj = Newtonsoft.Json.JsonConvert.DeserializeObject<Shared.Common.ResponseEntity.UserLoginRes>(revertObj.ResponseData.ToString()); var revertData = responseDataObj; //鏍囪涓婁竴娆℃槸涓嶆槸鍚屼竴涓处鍙风櫥闄� - UserCenter.UserCenterResourse.ResidenceOption.TheSameLoginAccount = Config.Instance.Guid == revertData.Guid; + Config.Instance.TheSameLoginAccount = Config.Instance.Guid == revertData.Guid; Config.Instance.Account = revertData.Account; Config.Instance.MD5PWD = revertData.MD5PWD; Config.Instance.Guid = revertData.Guid; @@ -1098,7 +1094,7 @@ var revertData = responseDataObj; Config.ReFresh(); //鏍囪涓婁竴娆℃槸涓嶆槸鍚屼竴涓处鍙风櫥闄� - UserCenterResourse.ResidenceOption.TheSameLoginAccount = Config.Instance.Guid == revertData.Guid; + Config.Instance.TheSameLoginAccount = Config.Instance.Guid == revertData.Guid; Config.Instance.Account = revertData.Account; Config.Instance.Password = i_psw; Config.Instance.MD5PWD = revertData.MD5PWD; @@ -1119,7 +1115,7 @@ CommonPage.Loading.Hide(); this.RemoveFromParent(); CommonPage.Instance.RemoveViewByTag("Login"); - UserPage.Instance.Fresh(); + UserPage.Instance.ReFreshControl(); }); return; } -- Gitblit v1.8.0