From af1cb3ecd0f4b0589e00b28f7f9edccf39e6e12b Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 10 九月 2020 16:15:11 +0800
Subject: [PATCH] 202009101
---
HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs | 30 ++++++++++++++++++------------
1 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
index 1ec1302..aace3fc 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -187,7 +187,7 @@
Gravity = Gravity.CenterHorizontal,
Y = Application.GetRealHeight(94),
BackgroundColor = CSS_Color.MainBackgroundColor,
- Radius = (uint)Application.GetRealHeight(5),
+ Radius = (uint)Application.GetRealHeight(12),
BorderColor = 0x00FFFFFF,
BorderWidth = 0,
};
@@ -206,7 +206,7 @@
personalInfoView.AddChidren(btnUserName);
if (!string.IsNullOrEmpty(MainPage.LoginUser.userName))
{
- btnUserName.Text = MainPage.LoginUser.userName;;
+ btnUserName.Text = MainPage.LoginUser.userName; ;
}
btnEmail = new Button()
{
@@ -245,6 +245,12 @@
Height = Application.GetRealHeight(400),
};
bodyView.AddChidren(contentView);
+ LoadContentView();
+ }
+
+ public void LoadContentView()
+ {
+ contentView.RemoveAll();
#region 浣忓畢淇℃伅鍖哄煙
if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare)
@@ -255,7 +261,7 @@
Width = Application.GetRealWidth(343),
Height = Application.GetRealHeight(213),
BackgroundColor = CSS_Color.MainBackgroundColor,
- Radius = (uint)Application.GetRealHeight(5),
+ Radius = (uint)Application.GetRealHeight(12),
BorderColor = 0x00FFFFFF,
BorderWidth = 0,
};
@@ -269,7 +275,7 @@
Width = Application.GetRealWidth(343),
Height = Application.GetRealHeight(144),
BackgroundColor = CSS_Color.MainBackgroundColor,
- Radius = (uint)Application.GetRealHeight(5),
+ Radius = (uint)Application.GetRealHeight(12),
BorderColor = 0x00FFFFFF,
BorderWidth = 0,
};
@@ -623,7 +629,7 @@
Width = Application.GetRealWidth(343),
Height = Application.GetRealWidth(88),
BackgroundColor = CSS_Color.MainBackgroundColor,
- Radius = (uint)Application.GetRealHeight(5),
+ Radius = (uint)Application.GetRealHeight(12),
BorderColor = 0x00FFFFFF,
BorderWidth = 0,
};
@@ -643,7 +649,7 @@
{
X = Application.GetRealWidth(48),
Width = Application.GetRealWidth(270),
- Height = Application.GetRealHeight(44),
+ Height = Application.GetRealWidth(44),
TextID = StringId.NightView,
TextColor = CSS_Color.FirstLevelTitleColor,
TextSize = CSS_FontSize.TextFontSize,
@@ -673,7 +679,7 @@
Button btnGeneralSettingsIcon = new Button()
{
X = Application.GetRealWidth(12),
- Y = Application.GetRealHeight(54),
+ Y = Application.GetRealWidth(54),
Width = Application.GetMinRealAverage(24),
Height = Application.GetMinRealAverage(24),
UnSelectedImagePath = "PersonalCenter/GeneralSettingsIcon.png",
@@ -685,7 +691,7 @@
X = Application.GetRealWidth(48),
Y = btnSoftSettingViewLine.Bottom,
Width = Application.GetRealWidth(270),
- Height = Application.GetRealHeight(44),
+ Height = Application.GetRealWidth(44),
TextID = StringId.GeneralSettings,
TextColor = CSS_Color.FirstLevelTitleColor,
TextAlignment = TextAlignment.CenterLeft,
@@ -712,7 +718,7 @@
Width = Application.GetRealWidth(343),
Height = Application.GetRealWidth(88),
BackgroundColor = CSS_Color.MainBackgroundColor,
- Radius = (uint)Application.GetRealHeight(5),
+ Radius = (uint)Application.GetRealHeight(12),
BorderColor = 0x00FFFFFF,
BorderWidth = 0,
};
@@ -732,7 +738,7 @@
{
X = Application.GetRealWidth(48),
Width = Application.GetRealWidth(270),
- Height = Application.GetRealHeight(44),
+ Height = Application.GetRealWidth(44),
TextID = StringId.GetSupport,
TextColor = CSS_Color.FirstLevelTitleColor,
TextAlignment = TextAlignment.CenterLeft,
@@ -763,7 +769,7 @@
Button btnAboutOnIcon = new Button()
{
X = Application.GetRealWidth(12),
- Y = Application.GetRealHeight(54),
+ Y = Application.GetRealWidth(54),
Width = Application.GetMinRealAverage(24),
Height = Application.GetMinRealAverage(24),
UnSelectedImagePath = "PersonalCenter/InfoOnIcon.png",
@@ -775,7 +781,7 @@
X = Application.GetRealWidth(48),
Y = btnSoftSettingViewLine.Bottom,
Width = Application.GetRealWidth(270),
- Height = Application.GetRealHeight(44),
+ Height = Application.GetRealWidth(44),
TextID = StringId.AboutOn,
TextColor = CSS_Color.FirstLevelTitleColor,
TextAlignment = TextAlignment.CenterLeft,
--
Gitblit v1.8.0