From 3bedb23993745f97e5870eca160c9f00c053c44c Mon Sep 17 00:00:00 2001 From: JLChen <jlchen@JLChendeMac.local> Date: 星期五, 14 五月 2021 18:55:30 +0800 Subject: [PATCH] 实现门锁的UI --- HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs index b75b06e..b6247cd 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs @@ -130,7 +130,7 @@ Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/AddIcon.png", }; - if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) + //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) { topView.AddChidren(btnAddIconBg); } @@ -140,7 +140,7 @@ Width = Application.GetMinRealAverage(28+30), Height = Application.GetMinRealAverage(28+29), }; - if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) + //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) { topView.AddChidren(btnAddIcon); } @@ -396,7 +396,7 @@ Width = Application.GetRealWidth(32), UnSelectedImagePath = "Public/FuncInfoSetIcon_white.png", }; - if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) + if (scene.userId == UserInfo.Current.ID) { view.AddChidren(btnSettingIcon); } -- Gitblit v1.8.0