From 70d2b7cd0c8fe5dfb29bb2baf96997575ade2bac Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 08 七月 2021 18:34:38 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/newBranch1' into WJC

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
index 6af040c..6c82a05 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -237,16 +237,18 @@
             //浣撻獙妯″紡
             if(MainPage.NoLoginMode)
             {
-
                 Button btnExit = new Button()
                 {
-                    Y = Application.GetRealHeight(58) + personalInfoView.Bottom,
-                    Height = Application.GetRealHeight(50),
+                    Y = Application.GetRealHeight(258) + personalInfoView.Bottom,
+                    Gravity = Gravity.CenterHorizontal,
+                    Height = Application.GetRealHeight(60),
+                    Width = Application.GetRealWidth(330),
                     TextAlignment = TextAlignment.Center,
                     SelectedTextColor = CSS_Color.MainColor,
-                    TextColor = CSS_Color.BackgroundColor,
+                    TextColor = CSS_Color.WarningColor,
                     TextSize = CSS_FontSize.SubheadingFontSize,
                     TextID = StringId.NextStep,
+                    Radius = 10,
                     BackgroundColor = CSS_Color.MainBackgroundColor,
                     SelectedBackgroundColor = CSS_Color.MainBackgroundColor,
                 };
@@ -260,9 +262,11 @@
                 }
                 btnExit.MouseUpEventHandler = (sender, e) =>
                 {
+                    MainPage.NoLoginMode = false;
+                    UserInfo.Current.ClearUserInfo();
                     HDLCommon.Current.Logout();
                 };
-
+                bodyView.AddChidren(btnExit);
                 return;
             }
 

--
Gitblit v1.8.0