From 65bcedda4d8e3ff6500dbf59a4e607d96e469375 Mon Sep 17 00:00:00 2001
From: tzy <hxb@hdlchina.com.cn>
Date: 星期二, 25 五月 2021 15:47:15 +0800
Subject: [PATCH] 初步完成过户的功能

---
 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