From 271015c6e90c195103cc7f34eda87966acd74dcc Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期日, 13 十二月 2020 20:46:12 +0800 Subject: [PATCH] 2020121301 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs index 0e83571..de9dd79 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs @@ -253,7 +253,7 @@ contentView.RemoveAll(); #region 浣忓畢淇℃伅鍖哄煙 - if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare) + if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) { residenceInfoView = new FrameLayout() { @@ -302,7 +302,7 @@ TextAlignment = TextAlignment.CenterLeft, TextColor = CSS_Color.FirstLevelTitleColor, TextSize = CSS_FontSize.EmphasisFontSize_FirstLevel, - Text = DB_ResidenceData.residenceData.residecenInfo.Name, + Text = DB_ResidenceData.Instance.CurrentRegion.Name, }; residenceInfoView.AddChidren(btnCurResidenceName); @@ -322,7 +322,7 @@ Y = Application.GetRealHeight(15), Width = Application.GetMinRealAverage(20), Height = Application.GetMinRealAverage(20), - UnSelectedImagePath = DB_ResidenceData.residenceData.residecenInfo.IsOthreShare + UnSelectedImagePath = DB_ResidenceData.Instance.CurrentRegion.IsOthreShare == false ? "PersonalCenter/AdminTypeIcon.png" : "PersonalCenter/MemberTypeIcon.png", }; userTypeView.AddChidren(btnUserTypeIcon); @@ -335,13 +335,13 @@ TextAlignment = TextAlignment.CenterLeft, TextColor = CSS_Color.MainBackgroundColor, TextSize = CSS_FontSize.PromptFontSize_FirstLevel, - TextID = DB_ResidenceData.residenceData.residecenInfo.IsOthreShare + TextID = DB_ResidenceData.Instance.CurrentRegion.IsOthreShare == false ? StringId.Administrators : StringId.Member }; userTypeView.AddChidren(btnUserTypeName); #endregion #region 浣忓畢绠$悊 - if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare) + if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) { #region ---浣忓畢绠$悊鍖哄煙 residenceManageView = new FrameLayout() -- Gitblit v1.8.0