From 31497bb69602433d94c8a28ea01c3ee3c7cc8576 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 24 十月 2019 14:32:30 +0800 Subject: [PATCH] 完全合并了Wjc,Xm 的 代码 --- ZigbeeApp/Shared/Phone/Device/Category/Category.cs | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Category/Category.cs b/ZigbeeApp/Shared/Phone/Device/Category/Category.cs index 0aa8117..01dd736 100755 --- a/ZigbeeApp/Shared/Phone/Device/Category/Category.cs +++ b/ZigbeeApp/Shared/Phone/Device/Category/Category.cs @@ -1808,9 +1808,10 @@ /// 鑷姩鍖� /// </summary> public async void ShowAutotion() - { - functionSceneBodyView.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor; - + { + + functionSceneAutoBodyView.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor; + var bjFrameLayout = new FrameLayout { Width = Application.GetRealWidth(1080 - 58), @@ -1820,7 +1821,7 @@ Radius = (uint)Application.GetRealHeight(50), Y = Application.GetRealHeight(30), }; - functionSceneBodyView.AddChidren(bjFrameLayout); + functionSceneAutoBodyView.AddChidren(bjFrameLayout); var sigBtn = new Button { @@ -1864,17 +1865,17 @@ Y = bjFrameLayout.Bottom + Application.GetRealHeight(30), Height = Application.GetRealHeight(0), }; - functionSceneBodyView.AddChidren(scenehorizontalScrol); + functionSceneAutoBodyView.AddChidren(scenehorizontalScrol); var logicScrolView = new VerticalScrolViewLayout { - Height = functionSceneBodyView.Height - bjFrameLayout.Height - bjFrameLayout.Y - scenehorizontalScrol.Height - Application.GetRealHeight(30), + Height = functionSceneAutoBodyView.Height - bjFrameLayout.Height - bjFrameLayout.Y - scenehorizontalScrol.Height - Application.GetRealHeight(30), BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, X = Application.GetRealWidth(58), Radius = (uint)Application.GetRealHeight(50), Y = scenehorizontalScrol.Bottom, }; - functionSceneBodyView.AddChidren(logicScrolView); + functionSceneAutoBodyView.AddChidren(logicScrolView); recommendswitchBtn.MouseUpEventHandler += (sender, e) => -- Gitblit v1.8.0