From bfb3d0d4879dca8c59ff287c92f5113162f3a33a Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 27 八月 2024 15:22:48 +0800
Subject: [PATCH] 代码备份

---
 OnPro/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/OnPro/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs b/OnPro/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
index 0eb773b..f7a35e4 100644
--- a/OnPro/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
+++ b/OnPro/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
@@ -64,15 +64,18 @@
 
         public void LoadPage()
         {
+            //MainPage.BaseTopButton.BackgroundColor = 0xFFF7F7F7;
             MainPage.CurPageIndex = 2;
-            bodyView.BackgroundColor = CSS_Color.MainBackgroundColor;
+            bodyView.BackgroundColor = CSS_Color.TopViewColor;
             #region top
             topView = new FrameLayout()
             {
-                Height = Application.GetRealHeight(64),
+                Y = Application.GetRealHeight(10),
+                Height = Application.GetRealHeight(74),
                 BackgroundColor = CSS_Color.TopViewColor,
             };
             bodyView.AddChidren(topView);
+
 
             //涓嶆槸A缃戝叧鎴栬�呮槸鎴愬憳 鍙厑璁告坊鍔犲満鏅殣钘忚嚜鍔ㄥ寲
             var HideAutoPage = DB_ResidenceData.Instance.CurrentRegion.isOtherShare;
@@ -90,6 +93,7 @@
                         TextColor = CSS_Color.PromptingColor1,
                         SelectedTextColor = CSS_Color.MainColor,
                         TextID = StringId.Scenes,
+                        IsBold = true,
                         IsSelected = true
                     };
                     topView.AddChidren(btnSceneTilte);
@@ -109,6 +113,7 @@
                         TextColor = CSS_Color.PromptingColor1,
                         SelectedTextColor = CSS_Color.MainColor,
                         TextID = StringId.Scenes,
+                        IsBold = true,
                         IsSelected = true
                     };
                     topView.AddChidren(btnSceneTilte);
@@ -148,8 +153,8 @@
 
             contentPageView = new PageLayout()
             {
-                Y = Application.GetRealHeight(64),
-                Height = Application.GetRealHeight(667 - 64 - 49 + 30),
+                Y = Application.GetRealHeight(74),
+                Height = Application.GetRealHeight(667 - 64 - 49 + 30 - 10),
                 BackgroundColor = CSS_Color.BackgroundColor,
                 IsShowPoint = false
             };
@@ -234,6 +239,7 @@
             {
                 Y = Application.GetRealHeight(53),
                 Height = Application.GetRealHeight(667 - 64 - 49 - 52 + 0),
+
             };
             scenePageView.AddChidren(sceneFunctionView);
             LoadSceneFunctionControlZone(null);
@@ -280,7 +286,7 @@
                         Y = btnNoCollectionBg.Bottom,
                         TextAlignment = TextAlignment.Center,
                         TextColor = CSS_Color.PromptingColor1,
-                        TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
+                        TextSize = CSS_FontSize.TextFontSize,
                         TextID = StringId.TipNoScene,
                     };
                     view.AddChidren(btnNoCollectionTip);
@@ -322,6 +328,9 @@
                                 index++;
                             });
                         }
+                        Application.RunOnMainThread(() => {
+                            sceneFunctionView.AddChidren(new Button { Height = Application.GetRealHeight(30) });
+                        });
                     })
                     { IsBackground = true }.Start();
                 }
@@ -330,7 +339,6 @@
             {
                 MainPage.Log("homepage erorr : " + ex.Message);
             }
-            sceneFunctionView.AddChidren(new Button { Height = Application.GetRealHeight(30) });
 
         }
 
@@ -348,7 +356,7 @@
             };
             var btnSceneGg = new ImageView()
             {
-                Radius = (uint)Application.GetRealWidth(16),
+                Radius = (uint)Application.GetRealWidth(12),
                 BorderColor = 0x00000000,
                 BorderWidth = 1,
             };
@@ -361,7 +369,7 @@
                 Button btnCoverd = new Button()
                 {
                     //UnSelectedImagePath = "Collection/SceneCovered.png",
-                    Radius = (uint)Application.GetRealWidth(16),
+                    Radius = (uint)Application.GetRealWidth(12),
                     BackgroundColor = 0x44000000,
                 };
                 view.AddChidren(btnCoverd);

--
Gitblit v1.8.0