From f5a49299caaf1fdca7503ae682da13c6fda887c6 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 16 十二月 2020 20:55:55 +0800
Subject: [PATCH] Merge branch 'CJL' into NewFilePath

---
 HDL_ON/UI/UI0-Public/TopViewDiv.cs |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI0-Public/TopViewDiv.cs b/HDL_ON/UI/UI0-Public/TopViewDiv.cs
index 31e109f..02b75d2 100644
--- a/HDL_ON/UI/UI0-Public/TopViewDiv.cs
+++ b/HDL_ON/UI/UI0-Public/TopViewDiv.cs
@@ -146,8 +146,12 @@
                 Height = Application.GetMinRealAverage(28),
                 UnSelectedImagePath = "Public/FuncInfoSetIcon.png",
             };
-            contentView.AddChidren(btnSetting);
 
+            //濡傛灉鏄垚鍛橀殣钘忕紪杈戝姛鑳�
+            if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+            {
+                contentView.AddChidren(btnSetting);
+            }
             btnSetting.MouseUpEventHandler = (sender, e) =>
             {
                 editAction();
@@ -173,7 +177,11 @@
                 Height = Application.GetMinRealAverage(28),
                 UnSelectedImagePath = "Public/FuncInfoSetIcon.png",
             };
-            contentView.AddChidren(btnSetting);
+            //濡傛灉鏄垚鍛橀殣钘忕紪杈戝姛鑳�
+            if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+            {
+                contentView.AddChidren(btnSetting);
+            }
 
             btnSetting.MouseUpEventHandler = (sender, e) =>
             {
@@ -201,7 +209,12 @@
                 Height = Application.GetMinRealAverage(28),
                 UnSelectedImagePath = "Public/FuncInfoSetIcon.png",
             };
-            contentView.AddChidren(btnSetting);
+
+            //濡傛灉鏄垚鍛橀殣钘忕紪杈戝姛鑳�
+            if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+            {
+                contentView.AddChidren(btnSetting);
+            }
 
             btnSetting.MouseUpEventHandler += (sender, e) =>
             {

--
Gitblit v1.8.0