From c5cb6840bd986bbd71a9ebc232bbf44ed0e1fc3d Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 23 五月 2024 17:43:11 +0800
Subject: [PATCH] jpush更新完成

---
 HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs
index efa787c..66da31c 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs
@@ -33,13 +33,15 @@
                 page.LoadPage(contentView);
                 MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
             };
-            new TopViewDiv(bodyView, Language.StringByID(StringId.Devices)).LoadTopView_AddIcon("3ty", action);
+            var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.Devices));
+            topView.maginY = 10;
+            topView.LoadTopView_AddIcon("3ty", action);
             bodyView.BackgroundColor = CSS_Color.BackgroundColor;
 
             contentView = new VerticalRefreshLayout()
             {
-                Y = Application.GetRealHeight(64),
-                Height = Application.GetRealHeight(667 - 64),
+                Y = Application.GetRealHeight(64+10),
+                Height = Application.GetRealHeight(667 - 64-10),
                 VerticalScrollBarEnabled = false,
             };
             bodyView.AddChidren(contentView);
@@ -115,10 +117,10 @@
             bool isFrist = true;
             foreach (var device in deviceList)
             {
-                if (!this.CheckSupportDevice(device))
-                {
-                    continue;
-                }
+                //if (!this.CheckSupportDevice(device))
+                //{
+                //    continue;
+                //}
                 var row = new RowLayout()
                 {
                     Height = Application.GetRealHeight(50),
@@ -355,10 +357,6 @@
         {
 
             if (function == null) return false;
-            if (function.spk == SPK.VideoDoorLock)
-            {
-                return false;
-            }
             return true;
 
         }

--
Gitblit v1.8.0