wxr
2022-09-22 dcc0f5b5d4315227c33d91e5750c296450d5a4d5
HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs
@@ -440,6 +440,16 @@
                SelectedImagePath = $"FunctionIcon/Acst/{imageFolder}/CollectionIcon.png",
            };
            subTitleView.AddChidren(btnCollection);
            //收藏
            btnCollection.MouseUpEventHandler = (sender, e) => {
                function.collect = !function.collect;
                btnCollection.IsSelected = function.collect;
                //var http = new DAL.Server.HttpServerRequest();
                //http.CollectDevice(function.deviceId);
                function.CollectFunction();
            };
            var btnTitleText = new Button()
            {
@@ -511,7 +521,7 @@
                Gravity = Gravity.CenterVertical,
                Width = Application.GetRealWidth(38),
                Height = Application.GetRealWidth(38),
                UnSelectedImagePath = $"FunctionIcon/Acst/{imageFolder}/ModeCoolIcon2.png",
                UnSelectedImagePath = "FunctionIcon/Acst/grey/ModeCoolIcon2.png",
                SelectedImagePath = $"FunctionIcon/Acst/{imageFolder}/ModeCoolIcon2.png",
                TextAlignment = TextAlignment.Center,
            };
@@ -579,7 +589,7 @@
                X = Application.GetRealWidth(249),
                Width = Application.GetRealWidth(38),
                Height = Application.GetRealWidth(38),
                UnSelectedImagePath = $"FunctionIcon/Acst/{imageFolder}/SceneSleepIcon2.png",
                UnSelectedImagePath = "FunctionIcon/Acst/grey/SceneSleepIcon2.png",
                SelectedImagePath = $"FunctionIcon/Acst/{imageFolder}/SceneSleepIcon2.png",
                TextAlignment = TextAlignment.Center,
            };