From 24068547ed1396034f56c7bd34ecbd2891f00653 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期一, 10 五月 2021 17:39:28 +0800 Subject: [PATCH] 代码优化 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs index 5587946..eabce7a 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs @@ -308,7 +308,7 @@ BackgroundImagePath = "PersonalCenter/UserTypebg.png", }; residenceInfoView.AddChidren(userTypeView); - if (Language.CurrentLanguage != "Chinese" && !DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) + if (Language.CurrentLanguage != "Chinese" )//&& !DB_ResidenceData.Instance.CurrentRegion.isOtherShare) { userTypeView.X = Application.GetRealWidth(200); userTypeView.Width = Application.GetRealWidth(180); @@ -321,7 +321,7 @@ Y = Application.GetRealHeight(15), Width = Application.GetMinRealAverage(20), Height = Application.GetMinRealAverage(20), - UnSelectedImagePath = DB_ResidenceData.Instance.CurrentRegion.IsOthreShare + UnSelectedImagePath = DB_ResidenceData.Instance.CurrentRegion.isOtherShare == false ? "PersonalCenter/AdminTypeIcon.png" : "PersonalCenter/MemberTypeIcon.png", }; userTypeView.AddChidren(btnUserTypeIcon); @@ -333,14 +333,14 @@ TextAlignment = TextAlignment.CenterLeft, TextColor = CSS_Color.MainBackgroundColor, TextSize = CSS_FontSize.PromptFontSize_FirstLevel, - TextID = DB_ResidenceData.Instance.CurrentRegion.IsOthreShare + TextID = DB_ResidenceData.Instance.CurrentRegion.isOtherShare == false ? StringId.Administrators : StringId.Member }; userTypeView.AddChidren(btnUserTypeName); #endregion #region 浣忓畢绠$悊 - if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) + if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) { #region ---浣忓畢绠$悊鍖哄煙 residenceManageView = new FrameLayout() -- Gitblit v1.8.0