From 955d02679c2c22bd3debd40a71510d78a8256cc4 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 07 十一月 2023 11:06:31 +0800
Subject: [PATCH] 场景使能自动化优化

---
 HDL_ON/UI/UI2/1-HomePage/MessageCenterPage.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/MessageCenterPage.cs b/HDL_ON/UI/UI2/1-HomePage/MessageCenterPage.cs
index 1796050..0ed2008 100644
--- a/HDL_ON/UI/UI2/1-HomePage/MessageCenterPage.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/MessageCenterPage.cs
@@ -73,7 +73,9 @@
         public void LoadPage(Action backAction)
         {
             this.backAction = backAction;
-            new TopViewDiv(bodyView, Language.StringByID(StringId.MessageCenter)).LoadTopView();
+            var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.MessageCenter));
+            topView.maginY = 10;
+            topView.LoadTopView();
 
             AddTopMenuView();
             AddMessageView();
@@ -92,7 +94,7 @@
 
             menuView = new HorizontalScrolViewLayout()
             {
-                Y = Application.GetRealHeight(64),
+                Y = Application.GetRealHeight(64+10),
                 Height = Application.GetRealWidth(117),
                 BackgroundColor = CSS_Color.MainBackgroundColor,
                 HorizontalScrollBarEnabled = false//闅愯棌婊氬姩鏉�

--
Gitblit v1.8.0