From 652243206427f35a256400a149a1734085824cb9 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 02 九月 2020 17:35:03 +0800
Subject: [PATCH] 2020-09-02-4

---
 ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs |  113 +++++++++++++++-----------------------------------------
 1 files changed, 30 insertions(+), 83 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs
index 101cdda..b2985c5 100755
--- a/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs
+++ b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs
@@ -4,103 +4,50 @@
 
 namespace Shared.Phone.UserView
 {
+    /// <summary>
+    /// 璇ョ被宸茬粡搴熷純
+    /// </summary>
     public class LoginLoading : FrameLayout
     {
         public LoginLoading()
         {
             BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor;
             Tag = "Login";
+            this.BackgroundImagePath = "Logo/StartBackGroud.png";
         }
+
         /// <summary>
         /// show
         /// </summary>
         public void Show()
         {
-            var topFrameLayout = new FrameLayout()
-            {
-                Y = Application.GetRealHeight(60),
-                Height = Application.GetRealHeight(127),
-                BackgroundColor = ZigbeeColor.Current.GXCGrayBackgroundColor,
-            };
-            AddChidren(topFrameLayout);
+            //Logo鍥炬爣
+            var btnIcon = new Button();
+            btnIcon.Y = Application.GetRealHeight(570);
+            btnIcon.Width = UserCenter.HdlControlLogic.Current.GetPictrueRealSize(184);
+            btnIcon.Height = UserCenter.HdlControlLogic.Current.GetPictrueRealSize(184);
+            btnIcon.UnSelectedImagePath = "Logo/Logo.png";
+            btnIcon.Gravity = Gravity.CenterHorizontal;
+            this.AddChidren(btnIcon);
 
-            var floor = new Button
-            {
-                X = Application.GetRealWidth(CommonFormResouce.X_Left),
-                Width = Application.GetMinRealAverage(69),
-                Height = Application.GetMinRealAverage(69),
-                Gravity = Gravity.CenterVertical,
-                UnSelectedImagePath = "Item/Floor.png"
-            };
-            topFrameLayout.AddChidren(floor);
+            //Evoyo Home
+            var btnText = new Button();
+            btnText.Height = Application.GetRealHeight(70);
+            btnText.Y = btnIcon.Bottom;
+            btnText.TextAlignment = TextAlignment.Center;
+            btnText.Text = "Evoyo Home";
+            btnText.TextColor = UserCenter.UserCenterColor.Current.White;
+            btnText.TextSize = 16;
+            this.AddChidren(btnText);
 
-            var messageBtn = new Button()
-            {
-                X = Application.GetRealWidth(953),
-                Width = Application.GetMinRealAverage(69),
-                Height = Application.GetMinRealAverage(69),
-                Gravity = Gravity.CenterVertical,
-                UnSelectedImagePath = "Item/Message.png",
-                SelectedImagePath = "Item/MessageSelected.png"
-            };
-            topFrameLayout.AddChidren(messageBtn);
-
-            var roomBG = new Button()
-            {
-                Y = Application.GetRealHeight(302),
-                Width = Application.GetRealWidth(CommonPage.AppRealWidth - CommonPage.XLeft * 2),
-                Height = Application.GetMinRealAverage(550),
-                Gravity = Gravity.CenterHorizontal,
-                UnSelectedImagePath = "RoomIcon/1.JPG",
-            };
-            AddChidren(roomBG);
-
-
-            var functionSceneView = new FrameLayout()
-            {
-                Y = Application.GetRealHeight(861),
-                Width = Application.GetRealWidth(832),
-                Height = Application.GetRealHeight(167),
-                Gravity = Gravity.CenterHorizontal,
-                BackgroundImagePath = "Item/SceneFunctionBG.png"
-            };
-            AddChidren(functionSceneView);
-
-            var sceneBtn = new Button()
-            {
-                X = Application.GetRealWidth(30),
-                Y = Application.GetRealHeight(12),
-                Width = Application.GetRealWidth(350),
-                Height = Application.GetRealHeight(100),
-                TextColor = ZigbeeColor.Current.GXCTextGrayColor3,
-                SelectedTextColor = ZigbeeColor.Current.GXCTextWhiteColor,
-                TextID = R.MyInternationalizationString.Scence,
-                IsSelected = true
-            };
-            functionSceneView.AddChidren(sceneBtn);
-
-            var functionBtn = new Button()
-            {
-                X = Application.GetRealWidth(430),
-                Y = Application.GetRealHeight(12),
-                Width = Application.GetRealWidth(360),
-                Height = Application.GetRealHeight(100),
-                TextColor = ZigbeeColor.Current.GXCTextGrayColor3,
-                SelectedTextColor = ZigbeeColor.Current.GXCTextWhiteColor,
-                TextID = R.MyInternationalizationString.Function,
-                IsSelected = false
-            };
-            functionSceneView.AddChidren(functionBtn);
-
-            var functionSceneBodyView = new FrameLayout()
-            {
-                Y = functionSceneView.Bottom,
-                Height = Application.GetRealHeight(750),
-                Gravity = Gravity.CenterHorizontal,
-                BackgroundColor = ZigbeeColor.Current.GXCGrayBackgroundColor
-            };
-            AddChidren(functionSceneBodyView);
-
+            //鏅鸿兘鏀瑰彉鐢熸椿 | Enjoy smart life
+            var btnTip = new Button();
+            btnTip.Height = btnIcon.Bottom + Application.GetRealHeight(850);
+            btnTip.Y = btnIcon.Bottom;
+            btnTip.TextAlignment = TextAlignment.Center;
+            btnTip.TextSize = 16;
+            btnTip.TextID = R.MyInternationalizationString.uLogoPageText;
+            this.AddChidren(btnTip);
         }
     }
 }

--
Gitblit v1.8.0