From e43704188506f9f5e37fe7797c883fefa7b0f8cf Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 16 六月 2023 15:37:38 +0800
Subject: [PATCH] Bugly加上账号显示

---
 HDL_ON/UI/UI2/UserPage.cs |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs
index 78690ae..26bdd0d 100644
--- a/HDL_ON/UI/UI2/UserPage.cs
+++ b/HDL_ON/UI/UI2/UserPage.cs
@@ -91,7 +91,7 @@
         {
             try
             {
-                bodyView = this;
+                bodyView = this;//1
                 bodyView.BackgroundColor = CSS_Color.MainBackgroundColor;
                 ContextView = new FrameLayout()
                 {
@@ -104,12 +104,10 @@
                 {
                     Y = Application.GetRealHeight(607),
                     Height = Application.GetMinRealAverage(60),
-                    //BackgroundColor = CSS_Color.BackgroundColor
                 };
                 bodyView.AddChidren(navigationView);
                 if (MainPage.Increase)
                 {
-                    //ContextView.Height = Application.GetRealHeight(618 + 20);
                     navigationView.Y = Application.GetRealHeight(597 + 5);
                     navigationView.Height = Application.GetRealHeight(70 - 5);
                 }
@@ -117,9 +115,9 @@
 
                 LoadEventList();
 
-                var homePage = new HomePage();
-                ContextView.AddChidren(homePage);
-                homePage.LoadPage();
+                //var homePage = new HomePage();
+                //ContextView.AddChidren(homePage);
+                //homePage.LoadPage();
 
                 if (!MainPage.NoLoginMode)
                 {
@@ -135,9 +133,12 @@
                     if (DB_ResidenceData.Instance.CheckGPS_IsFirst)
                     {
                         DB_ResidenceData.Instance.CheckGPS_IsFirst = false;
+                        Console.WriteLine("寮�鍚畾浣嶆湇鍔�111111111");
                         Shared.Application.StartGPSLocationService();
+                        Console.WriteLine("寮�鍚畾浣嶆湇鍔�1111111112");
                     }
-                }catch(Exception ex)
+                }
+                catch(Exception ex)
                 {
                     MainPage.Log("寮�鍚畾浣嶆湇鍔″紓甯�:" + ex.Message);
                 }

--
Gitblit v1.8.0