From 1f3c3983fd5ec277d5151241143c4fb4e15b9e8c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 28 二月 2022 11:11:11 +0800
Subject: [PATCH] 兼容俄语

---
 HDL_ON/UI/UI2/1-HomePage/HomePage.cs |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
index f6db906..bed8a4e 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -161,21 +161,6 @@
                 };
                 topView.AddChidren(btnTop);
 
-                btnLinkStateTip = new Button()
-                {
-                    Y = Application.GetRealHeight(16),
-                    Height = Application.GetRealWidth(14),
-                    BackgroundColor = CSS_Color.LinkTipFail,
-                    Radius = (uint)Application.GetRealWidth(3),
-                    TextAlignment = TextAlignment.Center,
-                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
-                    TextColor = CSS_Color.MainBackgroundColor,
-                };
-                topView.AddChidren(btnLinkStateTip);
-                //鏇存柊閾炬帴鐘舵�乮con棰滆壊
-                CheckLinkStatus();//2020-12-22
-                
-
                 btnResidenceName = new Button()
                 {
                     X = Application.GetRealWidth(16),
@@ -189,12 +174,25 @@
                     IsBold = true
                 };
                 topView.AddChidren(btnResidenceName);
+                btnLinkStateTip = new Button()
+                {
+                    //X = Application.GetRealWidth(16),
+                    Y = btnResidenceName.Bottom,
+                    Height = Application.GetRealWidth(14),
+                    BackgroundColor = CSS_Color.LinkTipFail,
+                    TextAlignment = TextAlignment.Center,
+                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
+                    TextColor = CSS_Color.MainBackgroundColor,
+                };
+                topView.AddChidren(btnLinkStateTip);
+                //btnLinkStateTip.Width = btnLinkStateTip.GetTextWidth();
+                //鏇存柊閾炬帴鐘舵�乮con棰滆壊
+
+
 
 #if DEBUG
-                int msdId = 111;
                 btnResidenceName.MouseUpEventHandler = (sender, e) =>
                 {
-                    Control.Ins.AuthGateway();
                 };
 #endif
 
@@ -204,6 +202,8 @@
                     Height = Application.GetRealHeight(32),
                 };
                 topView.AddChidren(environmentalView);
+                CheckLinkStatus();//2020-12-22
+
                 #region 鐜鏁版嵁
                 var tempSensorList = FunctionList.List.GetEnvirSensorsList().FindAll((obj) => obj.spk == SPK.SensorTemperature);
                 var humiSensorList = FunctionList.List.GetEnvirSensorsList().FindAll((obj) => obj.spk == SPK.SensorHumidity);

--
Gitblit v1.8.0