From efcffde735fa65ae34bae0bcc86313b74ed0e36c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 20 五月 2024 13:47:38 +0800
Subject: [PATCH] 优化离线数据

---
 HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs
index d4f4569..2b6d410 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs
@@ -79,16 +79,19 @@
             this.funs_RoomAll.AddRange(funs_RoomAll);
             this.funs_Del = new List<ShareData>();
             this.refreshAction = refreshAction;
+            this.BackgroundColor = CSS_Color.BackgroundColor;
         }
 
         public void LoadPage(int tId)
         {
             titleId = tId;
-            new TopViewDiv(bodyView, Language.StringByID(titleId)).LoadTopView();
+            var topView = new TopViewDiv(bodyView, Language.StringByID(titleId));
+            topView.maginY = 10;
+            topView.LoadTopView();
 
             allRoomView = new FrameLayout()
             {
-                Y = Application.GetRealHeight(64),
+                Y = Application.GetRealHeight(64+10),
                 Height = Application.GetRealHeight(50),
                 BackgroundColor = CSS_Color.MainBackgroundColor,
             };
@@ -128,8 +131,8 @@
 
             contentView = new VerticalScrolViewLayout()
             {
-                Y = Application.GetRealHeight(64+50),
-                Height = Application.GetRealHeight(450),
+                Y = Application.GetRealHeight(64+50+10),
+                Height = Application.GetRealHeight(450-10),
             };
             bodyView.AddChidren(contentView);
 
@@ -238,7 +241,7 @@
         /// </summary>
         public string name;
         /// <summary>
-        /// 鍒嗕韩绫诲瀷 1.ROOM  2.DEVICE 3.SCENE
+        /// 鍒嗕韩绫诲瀷 1.ROOM  2.DEVICE 3.SCENE 4.DEVICE_GROUP_CONTROL
         /// </summary>
         public string shareType = ShareType.DEVICE.ToString();
     }

--
Gitblit v1.8.0