From 43b0d5870d528f23ecd6aeceb6cfd4325188b46f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 七月 2021 15:50:43 +0800 Subject: [PATCH] Revert "1" --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs | 13 ++++++++----- 1 files changed, 8 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..eee4090 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,10 @@ } btnExit.MouseUpEventHandler = (sender, e) => { + UserInfo.Current.ClearUserInfo(); HDLCommon.Current.Logout(); }; - + bodyView.AddChidren(btnExit); return; } -- Gitblit v1.8.0