From 191b40f734c6abdf70a7f34930ef0a576f9d3f24 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期二, 08 三月 2022 16:17:52 +0800
Subject: [PATCH] 2022-03-08-1

---
 HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
index d38ec13..43a2944 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
@@ -206,18 +206,13 @@
             {
                 bodyView.btnLinkStateTip.BackgroundColor = CSS.CSS_Color.LinkTipFail;
                 bodyView.btnLinkStateTip.TextID = StringId.NetworkAnomaly;
+                bodyView.environmentalView.Y = Application.GetRealHeight(8) + btnResidenceName.Bottom;
             }
             else
             {
-                if (Control.Ins.GatewayOnline_Local)
-                {
-                    bodyView.btnLinkStateTip.BackgroundColor = CSS.CSS_Color.LinkTipLocal;
-                }
-                else
-                {
-                    bodyView.btnLinkStateTip.BackgroundColor = 0x00000000;
-                    bodyView.btnLinkStateTip.Text = "";
-                }
+                bodyView.btnLinkStateTip.BackgroundColor = 0x00000000;
+                bodyView.btnLinkStateTip.Text = "";
+                bodyView.environmentalView.Y = Application.GetRealHeight(1) + btnResidenceName.Bottom;
             }
         }
 

--
Gitblit v1.8.0