From de564e6fd990960ea5796eadfa3b3fda7866a256 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 26 十月 2020 10:53:54 +0800 Subject: [PATCH] V2.510231 1.密码规则修改,修改为:密码必须为8-20个字符,包含字母、数字和符号。 2.APP本地增加登录,密码错误锁定,连续错误5次登录锁定,锁定5分钟。 3.登录界面,增加登录账号的邮箱格式匹配检测。 --- Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserLightPage.cs | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserLightPage.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserLightPage.cs index dad8fa1..cb95546 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserLightPage.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserLightPage.cs @@ -131,7 +131,7 @@ }; var btnAddLightScene = new Button () { Width = Application.GetRealWidth (100), - Height = Application.GetRealHeight (100), + Height = Application.GetRealWidth (100), X = Application.GetRealWidth (640 - 120), Y = Application.GetRealHeight (20), UnSelectedImagePath = "Light/UserLightAddScene.png", @@ -256,7 +256,7 @@ }; Button btnSIcon = new Button () { Width = Application.GetRealWidth(111), - Height = Application.GetRealHeight(110), + Height = Application.GetRealWidth(110), Gravity = Gravity.CenterVertical, UnSelectedImagePath = scene.SceneIconPath, SelectedImagePath = scene.SceneIconPath, @@ -670,8 +670,8 @@ lightView.AddChidren (tempLightName); var tempSiwtch = new Button () { - Width = Application.GetRealWidth (85), - Height = Application.GetRealHeight (53), + Width = Application.GetMinRealAverage (85), + Height = Application.GetMinRealAverage (53), X = Application.GetRealWidth (640 - 90 - 20), Gravity = Gravity.CenterVertical, UnSelectedImagePath = "Item/SwitchClose.png", @@ -1029,8 +1029,8 @@ }; //寮�鍏虫寜閿� var tempSwitch = new Button () { - Width = Application.GetRealWidth (90), - Height = Application.GetRealHeight (53), + Width = Application.GetMinRealAverage (90), + Height = Application.GetMinRealAverage (53), X = Application.GetRealWidth (640 - 90 - 20), Gravity = Gravity.CenterVertical, UnSelectedImagePath = "Item/SwitchClose.png", @@ -1194,7 +1194,7 @@ lightView.AddChidren (btnLightSetting); Button btnRGBSetting = new Button () { Width = Application.GetRealWidth (60), - Height = Application.GetRealHeight (60), + Height = Application.GetRealWidth (60), Radius = (uint)Application.GetRealHeight (30), X = tempLightSeekBar.Right + Application.GetRealWidth (20), Gravity = Gravity.CenterVertical, @@ -1567,8 +1567,8 @@ #endregion //寮�鍏虫寜閿� var tempSwitch = new Button () { - Width = Application.GetRealWidth (90), - Height = Application.GetRealHeight (53), + Width = Application.GetMinRealAverage (90), + Height = Application.GetMinRealAverage (53), X = Application.GetRealWidth (640 - 90 - 20), Gravity = Gravity.CenterVertical, UnSelectedImagePath = "Item/SwitchClose.png", -- Gitblit v1.8.0