From 4cc04639fbadde3a7f3b9875353df0d90fc09043 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期六, 18 一月 2020 14:33:40 +0800
Subject: [PATCH] 节前备份

---
 HDL_ON/UI/UI2/2-Classification/UI/ClassificationPage.cs |   34 +++++++++++++++++++---------------
 1 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/UI/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/UI/ClassificationPage.cs
index b94c476..84600b2 100644
--- a/HDL_ON/UI/UI2/2-Classification/UI/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/UI/ClassificationPage.cs
@@ -84,7 +84,7 @@
                 TextSize = CSS_FontSize.HeadlineFontSize,
                 TextColor = CSS_Color.PromptingColor1,
                 SelectedTextColor = CSS_Color.MainColor,
-                TextID = InternationalizationString.Rooms,
+                TextID = StringId.Rooms,
                 IsSelected = true
             };
             topView.AddChidren(btnRoomTilte);
@@ -99,7 +99,7 @@
                 TextSize = CSS_FontSize.TextFontSize,
                 TextColor = CSS_Color.PromptingColor1,
                 SelectedTextColor = CSS_Color.MainColor,
-                TextID = InternationalizationString.Devices,
+                TextID = StringId.Devices,
             };
             topView.AddChidren(btnFuncTitle);
 
@@ -111,7 +111,8 @@
             /// <summary>
             /// 鎴块棿鍐呭鏄剧ず鍖哄煙
             /// </summary>
-            roomContentView = new FrameLayout() {
+            roomContentView = new FrameLayout()
+            {
                 Y = Application.GetRealHeight(64),
                 Height = Application.GetRealHeight(52),
                 BackgroundColor = CSS_Color.MainBackgroundColor,
@@ -121,7 +122,8 @@
             /// <summary>
             /// 鎴块棿鍖哄煙锛岄《閮ㄥ尯鍩�
             /// </summary>
-            roomTopView = new FrameLayout() {
+            roomTopView = new FrameLayout()
+            {
                 Height = Application.GetRealHeight(53),
             };
             roomContentView.AddChidren(roomTopView);
@@ -142,27 +144,28 @@
             /// </summary>
             btnFoor = new Button()
             {
-                 X=btnFoorDownIcon.Right,
-                 Y = Application.GetRealHeight(18),
-                 Width = Application.GetRealWidth(200),
+                X = btnFoorDownIcon.Right,
+                Y = Application.GetRealHeight(18),
+                Width = Application.GetRealWidth(200),
                 Height = Application.GetMinRealAverage(16),
-                 TextColor = CSS_Color.FirstLevelTitleColor,
+                TextColor = CSS_Color.FirstLevelTitleColor,
                 TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
-                 TextAlignment = TextAlignment.CenterLeft,
-                 Text = UserConfig.Instance.CurFoor,
+                TextAlignment = TextAlignment.CenterLeft,
+                Text = UserConfig.Instance.CurFoor,
             };
             roomContentView.AddChidren(btnFoor);
             /// <summary>
             /// 鏄剧ず鏂瑰紡鍒囨崲鎸夐挳
             /// </summary>
-            btnSwitchDipaly = new Button() {
+            btnSwitchDipaly = new Button()
+            {
                 X = Application.GetRealWidth(335),
                 Y = Application.GetRealHeight(12),
                 Width = Application.GetMinRealAverage(28),
                 Height = Application.GetMinRealAverage(28),
                 UnSelectedImagePath = "Classification/ToggleDisplayThumbnail.png",//缂╃暐鍥�
                 SelectedImagePath = "Classification/ToggleDisplayLarge.png",
-            } ;
+            };
             roomContentView.AddChidren(btnSwitchDipaly);
             #endregion
 
@@ -170,9 +173,10 @@
             /// <summary>
             /// 鎴块棿鍒楄〃鍖哄煙
             /// </summary>
-            roomListView = new VerticalScrolViewLayout() {
+            roomListView = new VerticalScrolViewLayout()
+            {
                 Y = roomContentView.Bottom,
-                Height = Application.GetRealHeight(497+10),
+                Height = Application.GetRealHeight(497 + 10),
                 BackgroundColor = CSS_Color.MainBackgroundColor,
             };
             bodyView.AddChidren(roomListView);
@@ -200,7 +204,7 @@
                     BackgroundImagePath = room.backgroundImage
                 };
                 roomListView.AddChidren(roomView);
-                 
+
                 roomViewList.Add(roomView);
 
 

--
Gitblit v1.8.0