From 691dbe24f5724f153e07947c7b75bdfea5f0b6d5 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 24 九月 2024 16:15:15 +0800 Subject: [PATCH] 离线控制模式 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs | 69 ++-------------------------------- 1 files changed, 5 insertions(+), 64 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs index 1228ec0..d62276a 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs @@ -242,7 +242,7 @@ if (MainPage.Increase) { - bodyScrolView.Height = Application.GetRealHeight(541); + bodyScrolView.Height = Application.GetRealHeight(541-10); } headPortraitView = new FrameLayout() @@ -444,7 +444,7 @@ userEmailInfoView.AddChidren(btnUserEmailRight); optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); #endregion -#region 涓汉閫夐」-鎵嬫満淇℃伅鍖哄煙 + #region 涓汉閫夐」-鎵嬫満淇℃伅鍖哄煙 /// <summary> /// 涓汉閫夐」-鎵嬫満淇℃伅鍖哄煙 /// </summary> @@ -559,11 +559,11 @@ resetPasswordView.AddChidren(btnResetPasswordRight); optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); #endregion - + #region 涓汉閫夐」-娣诲姞浣忓畢 addResidenceView = new FrameLayout() { - Height = Application.GetRealHeight(50), + Height = Application.GetRealHeight(50), }; optionListView.AddChidren(addResidenceView); btnAddResidenceScan = new Button() @@ -766,58 +766,6 @@ }; bodyScrolView.AddChidren(topPaddingView2); -#region 瑙i攣璁剧疆鍖哄煙 - ///// <summary> - ///// 瑙i攣璁剧疆鍖哄煙 - ///// </summary> - //interpretationSettingsView = new FrameLayout() - //{ - // BackgroundColor = CSS_Color.MainBackgroundColor, - // Height = Application.GetRealHeight(70), - //}; - //bodyScrolView.AddChidren(interpretationSettingsView); - //if(Language.CurrentLanguage != "Chinese") - //{ - // interpretationSettingsView.Height = Application.GetRealHeight(80); - //} - - //btnInterpretationSettingsTitle = new Button() - //{ - // X = Application.GetRealWidth(16), - // Height = Application.GetRealHeight(32), - // TextAlignment = TextAlignment.BottomLeft, - // TextColor = CSS_Color.FirstLevelTitleColor, - // TextSize = CSS_FontSize.SubheadingFontSize, - // TextID = StringId.InterpretationSettings, - //}; - //interpretationSettingsView.AddChidren(btnInterpretationSettingsTitle); - - //btnInterpretationSettingsTip = new Button() - //{ - // X = Application.GetRealWidth(16), - // Y = btnInterpretationSettingsTitle.Bottom, - // Height = Application.GetRealHeight(32), - // Width = Application.GetRealWidth(310), - // TextAlignment = TextAlignment.TopLeft, - // TextColor = CSS_Color.PromptingColor1, - // TextSize = CSS_FontSize.TextFontSize, - // TextID = StringId.AppUnlockSettingsTip, - // IsMoreLines = true, - //}; - //interpretationSettingsView.AddChidren(btnInterpretationSettingsTip); - - //btnInterpretationSettingsRight = new Button() - //{ - // X = Application.GetRealWidth(339), - // Gravity = Gravity.CenterVertical, - // Width = Application.GetMinRealAverage(16), - // Height = Application.GetMinRealAverage(16), - // UnSelectedImagePath = "Public/Right.png", - //}; - //interpretationSettingsView.AddChidren(btnInterpretationSettingsRight); - //interpretationSettingsView.AddChidren(new LineView(interpretationSettingsView.Height)); -#endregion - #region 鏈嶅姟鍣ㄤ俊鎭� ListCellView myServerInfoCellView = new ListCellView() { @@ -858,16 +806,9 @@ #endregion - bodyView.AddChidren(new Button() - { - Y = Application.GetRealHeight(622), - Height = 1, - BackgroundColor = CSS_Color.DividingLineColor, - }); - btnLogout = new Button() { - Y = Application.GetRealHeight(623), + Y = Application.GetRealHeight(624), Height = Application.GetRealHeight(50), TextAlignment = TextAlignment.Center, TextSize = CSS_FontSize.SubheadingFontSize, -- Gitblit v1.8.0