| | |
| | | #endregion |
| | | |
| | | #region 住宅信息区域 |
| | | if (MainPage.LoginUser.accountType == 0) |
| | | if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare) |
| | | { |
| | | residenceInfoView = new FrameLayout() |
| | | { |
| | |
| | | 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); |
| | | |
| | |
| | | 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() |