From 7d005a7618e3d7a80d8ede3baf6ecc4bf8019cd5 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 01 九月 2020 15:22:09 +0800 Subject: [PATCH] 2020-09-01 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs | 22 ++++++++++------------ 1 files changed, 10 insertions(+), 12 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs index e664751..bad22e4 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs @@ -31,7 +31,7 @@ /// </summary> void LoadEvent_SwitchHome() { -#if DEBUG +#if DEBUG111 btnUserTypeName.MouseUpEventHandler = (sender, e) => { var pm = new DAL.Server.HttpServerRequest(); @@ -111,7 +111,7 @@ var dispalyView = new FrameLayout() { X = Application.GetRealWidth(10), - Y = Application.GetRealHeight(100), + Y = Application.GetRealHeight(268), Width = Application.GetRealWidth(160), Height = Application.GetRealHeight(110), BackgroundImagePath = "PersonalCenter/HomeList1bg.png", @@ -121,22 +121,22 @@ var contentView = new VerticalScrolViewLayout() { X = Application.GetRealWidth(22), - Y = Application.GetRealHeight(268), + Y = Application.GetRealHeight(15), Width = Application.GetRealWidth(150), - Height = Application.GetRealHeight(45 * 2), + Height = Application.GetRealHeight(45 ), ScrollEnabled = false }; dispalyView.AddChidren(contentView); - if (MainPage.LoginUser.regionList.Count < 2) + if (MainPage.LoginUser.regionList.Count < 3) { } - else if (MainPage.LoginUser.regionList.Count < 3) + else if (MainPage.LoginUser.regionList.Count < 4) { dispalyView = new FrameLayout() { X = Application.GetRealWidth(10), - Y = Application.GetRealHeight(100), + Y = Application.GetRealHeight(268), Width = Application.GetRealWidth(160), Height = Application.GetRealHeight(155), BackgroundImagePath = "PersonalCenter/HomeList2bg.png", @@ -146,12 +146,12 @@ contentView.Height = Application.GetRealHeight(45 * 3); dispalyView.AddChidren(contentView); } - else if (MainPage.LoginUser.regionList.Count < 4) + else if (MainPage.LoginUser.regionList.Count < 5) { dispalyView = new FrameLayout() { X = Application.GetRealWidth(10), - Y = Application.GetRealHeight(100), + Y = Application.GetRealHeight(268), Width = Application.GetRealWidth(160), Height = Application.GetRealHeight(200), BackgroundImagePath = "PersonalCenter/HomeList3bg.png", @@ -166,7 +166,7 @@ dispalyView = new FrameLayout() { X = Application.GetRealWidth(10), - Y = Application.GetRealHeight(100), + Y = Application.GetRealHeight(268), Width = Application.GetRealWidth(160), Height = Application.GetRealHeight(245), BackgroundImagePath = "PersonalCenter/HomeList4bg.png", @@ -184,7 +184,6 @@ { var btnHomeName = new Button() { - Gravity = Gravity.CenterHorizontal, Width = Application.GetRealWidth(112), Height = Application.GetRealHeight(44), TextAlignment = TextAlignment.CenterLeft, @@ -202,7 +201,6 @@ { contentView.AddChidren(new Button() { - Gravity = Gravity.CenterHorizontal, Width = Application.GetRealWidth(112), Height = Application.GetRealHeight(1), BackgroundColor = CSS.CSS_Color.BackgroundColor -- Gitblit v1.8.0