From 531f1380ec8478e109118cf96bc2c9f31e9278d1 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 23 六月 2021 09:27:23 +0800
Subject: [PATCH] 代码同步

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

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
index 7390c4d..6af040c 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -234,6 +234,38 @@
 
             #endregion
 
+            //浣撻獙妯″紡
+            if(MainPage.NoLoginMode)
+            {
+
+                Button btnExit = new Button()
+                {
+                    Y = Application.GetRealHeight(58) + personalInfoView.Bottom,
+                    Height = Application.GetRealHeight(50),
+                    TextAlignment = TextAlignment.Center,
+                    SelectedTextColor = CSS_Color.MainColor,
+                    TextColor = CSS_Color.BackgroundColor,
+                    TextSize = CSS_FontSize.SubheadingFontSize,
+                    TextID = StringId.NextStep,
+                    BackgroundColor = CSS_Color.MainBackgroundColor,
+                    SelectedBackgroundColor = CSS_Color.MainBackgroundColor,
+                };
+                if(Language.CurrentLanguage =="Chinese")
+                {
+                    btnExit.Text = "閫�鍑轰綋楠屾ā寮�";
+                }
+                else
+                {
+                    btnExit.Text = "Exit dome";
+                }
+                btnExit.MouseUpEventHandler = (sender, e) =>
+                {
+                    HDLCommon.Current.Logout();
+                };
+
+                return;
+            }
+
             contentView = new VerticalScrolViewLayout()
             {
                 Y = Application.GetRealHeight(8) + personalInfoView.Bottom,

--
Gitblit v1.8.0