From f718d23a262a5a8e1241fdeaeb4153399f95e79d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 21 四月 2020 09:19:05 +0800 Subject: [PATCH] 20200421 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs index db9f46b..7373002 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs @@ -168,19 +168,22 @@ /// 鏇存柊澶村儚鐨勫洖璋冨嚱鏁� /// </summary> Action updataHeadImage; + /// <summary> + /// 鏇存柊鐢ㄦ埛鍚嶇О鐨勫洖璋冨嚱鏁� + /// </summary> + Action updataUserName; - public PersonalDataPage(Action upHeadImage) + public PersonalDataPage(Action upHeadImage,Action upUserName) { updataHeadImage = upHeadImage; + updataUserName = upUserName; bodyView = this; } public void LoadView() { bodyView.BackgroundColor = CSS_Color.BackgroundColor; - new TopViewDiv(bodyView, Language.StringByID(StringId.PersonalCenter)).LoadTopView(); - //new PublicAssmebly().LoadTopView(bodyView, Language.StringByID(StringId.PersonalCenter)); headPortraitView = new FrameLayout() { @@ -504,7 +507,7 @@ TextAlignment = TextAlignment.TopLeft, TextColor = CSS_Color.PromptingColor1, TextSize = CSS_FontSize.TextFontSize, - TextID = StringId.InterpretationSettingsTip + TextID = StringId.AppUnlockSettingsTip }; interpretationSettingsView.AddChidren(btnInterpretationSettingsTip); @@ -531,6 +534,12 @@ }; bodyView.AddChidren(btnLogout); + if(MainPage.Increase) + { + btnLogout.Y = Application.GetRealHeight(613); + btnLogout.Height = Application.GetRealHeight(50); + } + LoadEventList(); } -- Gitblit v1.8.0