lss
2020-06-12 9c16d3614d9b88c637f967518a329f239fcd3aaf
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomLeftClickButton.cs
@@ -7,7 +7,7 @@
    /// <summary>
    /// 位于左下角的单击控件
    /// </summary>
    public class BottomLeftClickButton : FrameLayoutControl
    public class BottomLeftClickButton : FrameLayoutStatuControl
    {
        #region ■ 变量声明___________________________
@@ -65,12 +65,12 @@
            //把上圆角覆盖为方角
            this.btnTopTemp = new NormalViewControl(this.Width, Application.GetRealHeight(40), false);
            btnTopTemp.BackgroundColor = i_backColor;
            this.AddChidren(btnTopTemp, ChidrenBindMode.BindEventOnly);
            this.AddChidren(btnTopTemp, ChidrenBindMode.BindEvent);
            //把右下圆角覆盖为方角
            this.btnBomTemp = new NormalViewControl(this.Width / 2, Application.GetRealHeight(40), false);
            btnBomTemp.BackgroundColor = i_backColor;
            btnBomTemp.Gravity = Gravity.BottomRight;
            this.AddChidren(btnBomTemp, ChidrenBindMode.BindEventOnly);
            this.AddChidren(btnBomTemp, ChidrenBindMode.BindEvent);
            //取消按钮
            this.btnButton = new NormalViewControl(this.Width - Application.GetRealWidth(10), Application.GetRealHeight(60), false);
            btnButton.Gravity = Gravity.Center;
@@ -78,7 +78,7 @@
            btnButton.Text = i_text;
            btnButton.TextAlignment = TextAlignment.Center;
            btnButton.BackgroundColor = i_backColor;
            this.AddChidren(btnButton, ChidrenBindMode.BindEventOnly);
            this.AddChidren(btnButton, ChidrenBindMode.BindEvent);
            //重写控件点击状态
            this.SelectStatuEvent += (statu) =>
@@ -108,7 +108,7 @@
            btnButton.TextAlignment = TextAlignment.Center;
            btnButton.BackgroundColor = i_backColor;
            btnButton.oldBackgroundColor = i_backColor;
            this.AddChidren(btnButton, ChidrenBindMode.BindEventOnly);
            this.AddChidren(btnButton, ChidrenBindMode.BindEvent);
#endif
        }