From 9c16d3614d9b88c637f967518a329f239fcd3aaf Mon Sep 17 00:00:00 2001 From: lss <316519258@qq.com> Date: 星期五, 12 六月 2020 09:22:04 +0800 Subject: [PATCH] 2020.06.12 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomRightClickButton.cs | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomRightClickButton.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomRightClickButton.cs index 5bc2d3d..118e697 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomRightClickButton.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomRightClickButton.cs @@ -7,7 +7,7 @@ /// <summary> /// 浣嶄簬鍙充笅瑙掔殑鍗曞嚮鎺т欢 /// </summary> - public class BottomRightClickButton : FrameLayoutControl + public class BottomRightClickButton : FrameLayoutStatuControl { #region 鈻� 鍙橀噺澹版槑___________________________ @@ -42,14 +42,14 @@ /// <param name="i_width">瀹藉害,鐪熷疄鍊�</param> /// <param name="i_height">楂樺害,鐪熷疄鍊�</param> /// <param name="i_radius">鍦嗚搴�(鍙瀹夊崜鏈夋晥)</param> - public BottomRightClickButton(int i_width, int i_height, uint i_radius = 8) + public BottomRightClickButton(int i_width, int i_height, int i_radius = 17) { this.Height = i_height; this.Width = i_width; this.Gravity = Gravity.BottomRight; #if Android - this.Radius = i_radius; + this.RadiusEx = i_radius; #endif } @@ -64,19 +64,20 @@ //鎶婁笂鍦嗚瑕嗙洊涓烘柟瑙� this.btnTopTemp = new NormalViewControl(this.Width, Application.GetRealHeight(40), false); btnTopTemp.BackgroundColor = UserCenterColor.Current.ClickButtonDefultColor; - this.AddChidren(btnTopTemp, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnTopTemp, ChidrenBindMode.BindEvent); //鎶婂乏涓嬪渾瑙掕鐩栦负鏂硅 this.btnBomTemp = new NormalViewControl(this.Width / 2, Application.GetRealHeight(40), false); btnBomTemp.BackgroundColor = UserCenterColor.Current.ClickButtonDefultColor; btnBomTemp.Gravity = Gravity.BottomLeft; - this.AddChidren(btnBomTemp, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnBomTemp, ChidrenBindMode.BindEvent); //纭鎸夐挳 this.btnConfirm = new NormalViewControl(this.Width - Application.GetRealWidth(10), Application.GetRealHeight(60), false); + btnConfirm.IsBold = true; btnConfirm.Gravity = Gravity.Center; btnConfirm.TextColor = UserCenterColor.Current.White; btnConfirm.Text = i_text; btnConfirm.TextAlignment = TextAlignment.Center; - this.AddChidren(btnConfirm, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnConfirm, ChidrenBindMode.BindEvent); //閲嶅啓鎺т欢鐐瑰嚮鐘舵�� this.SelectStatuEvent += (statu) => @@ -100,13 +101,14 @@ #if iOS //纭鎸夐挳 this.btnConfirm = new NormalClickButton(this.Width, this.Height, false); + btnConfirm.IsBold = true; btnConfirm.Gravity = Gravity.BottomRight; btnConfirm.TextColor = UserCenterColor.Current.White; btnConfirm.Text = i_text; btnConfirm.TextAlignment = TextAlignment.Center; btnConfirm.BackgroundColor = UserCenterColor.Current.ClickButtonDefultColor; btnConfirm.oldBackgroundColor = UserCenterColor.Current.ClickButtonDefultColor; - this.AddChidren(btnConfirm, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnConfirm, ChidrenBindMode.BindEvent); #endif } -- Gitblit v1.8.0