From adc150efb13a0506f45a3c344c3ee2ef2dba8e90 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 01 七月 2021 15:19:13 +0800
Subject: [PATCH] 合并嘉乐lc代码

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 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..eee4090 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -234,6 +234,41 @@
 
             #endregion
 
+            //浣撻獙妯″紡
+            if(MainPage.NoLoginMode)
+            {
+                Button btnExit = new Button()
+                {
+                    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.WarningColor,
+                    TextSize = CSS_FontSize.SubheadingFontSize,
+                    TextID = StringId.NextStep,
+                    Radius = 10,
+                    BackgroundColor = CSS_Color.MainBackgroundColor,
+                    SelectedBackgroundColor = CSS_Color.MainBackgroundColor,
+                };
+                if(Language.CurrentLanguage =="Chinese")
+                {
+                    btnExit.Text = "閫�鍑轰綋楠屾ā寮�";
+                }
+                else
+                {
+                    btnExit.Text = "Exit dome";
+                }
+                btnExit.MouseUpEventHandler = (sender, e) =>
+                {
+                    UserInfo.Current.ClearUserInfo();
+                    HDLCommon.Current.Logout();
+                };
+                bodyView.AddChidren(btnExit);
+                return;
+            }
+
             contentView = new VerticalScrolViewLayout()
             {
                 Y = Application.GetRealHeight(8) + personalInfoView.Bottom,

--
Gitblit v1.8.0