From 2bec9c838d2d688025698de8ec1de401ffd7dd1f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 11 八月 2020 14:13:55 +0800
Subject: [PATCH] 20200811
---
HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
index 1ec1302..bd5af18 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -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)
@@ -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,
@@ -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