WJC
2020-03-23 8adaa664b3f4a1f5e05434dc245cc5d168ad718c
ZigbeeApp/Shared/Phone/Device/Category/Category.cs
@@ -2334,9 +2334,16 @@
                    refresview.BackgroundColor = ZigbeeColor.Current.LogicBackgroundColor;
                }
            }
            foreach (var logic in Common.Logic.LogicList)
            {
                var fLayout = new FrameLayout
                {
                    Height = Application.GetRealHeight(190 + 30),
                    Width = Application.GetRealWidth(1080 - 58),
                    BackgroundColor = ZigbeeColor.Current.LogicBackgroundColor,
                };
                refresview.AddChidren(fLayout);
                var logicRowlayout = new RowLayout
                {
@@ -2347,9 +2354,7 @@
                    SubViewWidth = Application.GetRealWidth(184),//改变编辑控件宽度多少;
                };
                refresview.AddChidren(logicRowlayout);
                fLayout.AddChidren(logicRowlayout);
                var logicnameBtn = new Button
                {
@@ -2364,7 +2369,6 @@
                };
                logicRowlayout.AddChidren(logicnameBtn);
                var logicswitchBtn = new Button
                {
                    Width = Application.GetRealWidth(104),
@@ -2376,8 +2380,6 @@
                };
                logicRowlayout.AddChidren(logicswitchBtn);
                logicswitchBtn.MouseUpEventHandler += (sender1, e1) =>
                {
@@ -2425,7 +2427,6 @@
                };
                ///删除
                var del = new Button
                {
@@ -2452,13 +2453,13 @@
                };
                var line = new Button
                {
                    Y = Application.GetRealHeight(215),
                    Height = Application.GetRealHeight(5),
                    Y = fLayout.Height-1,
                    Height =1,
                    X = Application.GetRealWidth(58),
                    Width = Application.GetRealWidth(1080 - 58),
                    BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor,
                    X = Application.GetRealWidth(58),
                };
                logicRowlayout.AddChidren(line);
                fLayout.AddChidren(line);
            }
        }