From 6a9ad7ec93218913a2ce3b898bb036f18f8f0da4 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 13 八月 2020 17:06:36 +0800 Subject: [PATCH] 20200813 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs | 20 +++++++++----------- 1 files changed, 9 insertions(+), 11 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs index e664751..d53ebbd 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs @@ -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