From d41f1d4a478c1afcc43f3a5abb0ba76e376bc7c1 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 09 三月 2021 15:23:25 +0800
Subject: [PATCH] 2

---
 HDL_ON/UI/MainPage.cs |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/MainPage.cs b/HDL_ON/UI/MainPage.cs
index 3592ab2..b365695 100644
--- a/HDL_ON/UI/MainPage.cs
+++ b/HDL_ON/UI/MainPage.cs
@@ -26,7 +26,7 @@
         /// <summary>
         /// 鐗堟湰鍙�
         /// </summary>
-        public static string VersionString = "1.0.1225";
+        public static string VersionString = "1.1.0309";
         ///// <summary>
         ///// 瀹㈡埛绔被鍨�
         ///// </summary>
@@ -53,6 +53,14 @@
         /// 鏄惁杩涘叆鍚庡彴
         /// </summary>
         public static bool IsEnterBackground = false;
+        /// <summary>
+        /// 褰撳墠鍒嗛〉绱㈠紩
+        /// 0:鏀惰棌
+        /// 1:鍒嗙被
+        /// 2:鏅鸿兘
+        /// 3:涓汉
+        /// </summary>
+        public static int CurPageIndex = 9999;
 
         ///// <summary>
         ///// 鍏徃浠g爜
@@ -91,6 +99,12 @@
                 BaseView = Application.MainPage;
                 Application.MainPage.BackgroundColor = CSS_Color.MainBackgroundColor;
 
+
+                //#region 娴嬭瘯
+                //var ddd = new UI.test.TestDialog();
+                //ddd.InitView();
+                //return;
+                //#endregion
 
                 if (string.IsNullOrEmpty(OnAppConfig.Instance.LastLoginUserId))
                 {
@@ -165,7 +179,6 @@
                 addResidencePage.LoadView();
                 return;
             }
-
             new System.Threading.Thread(() =>
             {
                 try
@@ -203,11 +216,14 @@
                         };
                         BaseView.AddChidren(BasePageView);
 
+                      
                         //璺宠浆椤甸潰----
                         var UserBasePage = new UserPage();
                         BasePageView.AddChidren(UserBasePage);
                         UserBasePage.LoadPage();
                         BasePageView.PageIndex = 0;
+
+                   
 
                         if (isFirstOpen)
                         {
@@ -226,11 +242,16 @@
                 {
                     Application.RunOnMainThread(() =>
                     {
+                      
+
                         if (downloadData)
                         {
                             ///鍒濆鍖朼pp鏁版嵁
                             Common.ApiUtlis.Ins.DownloadData();
                         };
+
+                       
+
                     });
                 }
             }).Start();

--
Gitblit v1.8.0