From df2d148a4f7a47e1c2dfea9062e81165a720ab87 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 16 十月 2023 09:36:13 +0800
Subject: [PATCH] 备份
---
HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandFunctionListPage.cs | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandFunctionListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandFunctionListPage.cs
index ea61167..bb118a5 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandFunctionListPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandFunctionListPage.cs
@@ -121,7 +121,7 @@
Y = Application.GetRealHeight(667 - 80),
Height = Application.GetRealHeight(90),
Radius = (uint)Application.GetRealWidth(22),
- Visible = false,
+ //Visible =false,
};
bodyView.AddChidren(optionView);
@@ -147,7 +147,7 @@
{
if (pack.Code == StateCode.SUCCESS)
{
- btnComfirm.Visible = false;
+ optionView.Visible = false;
}
}
//var pack = http.Set3tyIotFunctionToHouse(function.deviceId, "0", brand_Iot.companyId);
@@ -317,16 +317,18 @@
Button btnClick = new Button();
view.AddChidren(btnClick);
btnClick.MouseUpEventHandler = (sender, e) => {
- btnCheckIcon.IsSelected = function.collect = !function.collect;
if (optionList.Contains(function.deviceId))
{
+ btnCheckIcon.IsSelected = function.collect = false;
optionList.Remove(function.deviceId);
}
else
{
+ btnCheckIcon.IsSelected = function.collect = true;
optionList.Add(function.deviceId);
}
- optionView.Visible = true;
+
+ optionView.Visible =true;
};
if (function.homeId == DB_ResidenceData.Instance.CurrentRegion.id )
{
--
Gitblit v1.8.0