From 5de5a26d3825b3182a7d3a18ed1cbdbb78a3f9aa Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 23 七月 2020 16:39:59 +0800 Subject: [PATCH] 2020-07-23 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs index 0f6b5af..7025ad9 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs @@ -245,7 +245,7 @@ #endregion #region 浣忓畢淇℃伅鍖哄煙 - if (MainPage.LoginUser.accountType == 0) + if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare) { residenceInfoView = new FrameLayout() { @@ -316,7 +316,8 @@ Y = Application.GetRealHeight(15), Width = Application.GetMinRealAverage(20), Height = Application.GetMinRealAverage(20), - UnSelectedImagePath = MainPage.LoginUser.accountType == 0 ? "PersonalCenter/AdminTypeIcon.png" : "PersonalCenter/MemberTypeIcon.png", + UnSelectedImagePath = DB_ResidenceData.residenceData.residecenInfo.IsOthreShare + == false ? "PersonalCenter/AdminTypeIcon.png" : "PersonalCenter/MemberTypeIcon.png", }; userTypeView.AddChidren(btnUserTypeIcon); @@ -328,12 +329,13 @@ TextAlignment = TextAlignment.CenterLeft, TextColor = CSS_Color.MainBackgroundColor, TextSize = CSS_FontSize.PromptFontSize_FirstLevel, - Text = MainPage.LoginUser.accountType == 0 ? "绠$悊鍛�" : "鎴愬憳" + Text = DB_ResidenceData.residenceData.residecenInfo.IsOthreShare + == false ? "绠$悊鍛�" : "鎴愬憳" }; userTypeView.AddChidren(btnUserTypeName); #endregion #region 浣忓畢绠$悊 - if (MainPage.LoginUser.accountType == 0) + if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare) { #region ---浣忓畢绠$悊鍖哄煙 residenceManageView = new FrameLayout() @@ -693,7 +695,6 @@ #endregion - #region 鑾峰彇鏀寔 supportView = new FrameLayout() { @@ -731,7 +732,6 @@ supportView.AddChidren(btnSupportText); #endregion - LoadEventList(); } -- Gitblit v1.8.0