From 6d3ba9484472d090532434e53667c096652149ce Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 25 九月 2020 09:56:14 +0800 Subject: [PATCH] 202009251 --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePage.cs | 98 ++++++++++++++++++++++++------------------------ 1 files changed, 49 insertions(+), 49 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePage.cs index f60948b..fa90b58 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePage.cs @@ -117,6 +117,8 @@ }; residenceNameRow.AddChidren(btnEditResidenceNameIcon); + #endregion +#if stage2 residenceNameRow.AddChidren( new Button() { @@ -126,54 +128,52 @@ Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor, }); - #endregion - #region 浣忓畢鍦板潃 - var residenceAddressRow = new FrameLayout() - { - Y = residenceNameRow.Bottom, - Height = Application.GetRealHeight(50), - BackgroundColor = CSS_Color.MainBackgroundColor, - }; - bodyView.AddChidren(residenceAddressRow); + var residenceAddressRow = new FrameLayout() + { + Y = residenceNameRow.Bottom, + Height = Application.GetRealHeight(50), + BackgroundColor = CSS_Color.MainBackgroundColor, + }; + bodyView.AddChidren(residenceAddressRow); - var btnResidenceAddressTitle = new Button() - { - X = Application.GetRealWidth(16), - Width = Application.GetRealWidth(78), - TextID = StringId.ResidenceAddress, - TextAlignment = TextAlignment.CenterLeft, - TextSize = CSS_FontSize.SubheadingFontSize, - TextColor = CSS_Color.FirstLevelTitleColor, - }; - residenceAddressRow.AddChidren(btnResidenceAddressTitle); + var btnResidenceAddressTitle = new Button() + { + X = Application.GetRealWidth(16), + Width = Application.GetRealWidth(78), + TextID = StringId.ResidenceAddress, + TextAlignment = TextAlignment.CenterLeft, + TextSize = CSS_FontSize.SubheadingFontSize, + TextColor = CSS_Color.FirstLevelTitleColor, + }; + residenceAddressRow.AddChidren(btnResidenceAddressTitle); - btnLocationAddressIcon = new Button() - { - X = Application.GetRealWidth(333), - Gravity = Gravity.CenterVertical, - Width = Application.GetMinRealAverage(28), - Height = Application.GetMinRealAverage(28), - UnSelectedImagePath = "Public/LocationAddressIcon.png", - }; - residenceAddressRow.AddChidren(btnLocationAddressIcon); + btnLocationAddressIcon = new Button() + { + X = Application.GetRealWidth(333), + Gravity = Gravity.CenterVertical, + Width = Application.GetMinRealAverage(28), + Height = Application.GetMinRealAverage(28), + UnSelectedImagePath = "Public/LocationAddressIcon.png", + }; + residenceAddressRow.AddChidren(btnLocationAddressIcon); - btnResidenceAddress = new Button() - { - X = Application.GetRealWidth(2) + btnResidenceNameTitle.Right, - Width = Application.GetRealWidth(200), - Text = DB_ResidenceData.residenceData.residecenInfo.Address, - TextSize = CSS_FontSize.TextFontSize, - TextAlignment = TextAlignment.CenterLeft, - TextColor = CSS_Color.TextualColor, - }; - residenceAddressRow.AddChidren(btnResidenceAddress); + btnResidenceAddress = new Button() + { + X = Application.GetRealWidth(2) + btnResidenceNameTitle.Right, + Width = Application.GetRealWidth(200), + Text = DB_ResidenceData.residenceData.residecenInfo.Address, + TextSize = CSS_FontSize.TextFontSize, + TextAlignment = TextAlignment.CenterLeft, + TextColor = CSS_Color.TextualColor, + }; + residenceAddressRow.AddChidren(btnResidenceAddress); #endregion - +#endif #region 妤煎眰绠$悊 floorManagementRow = new FrameLayout() { - Y = Application.GetRealHeight(8) + residenceAddressRow.Bottom, + Y = Application.GetRealHeight(8) + residenceNameRow.Bottom,// residenceAddressRow.Bottom, Height = Application.GetRealHeight(50), BackgroundColor = CSS_Color.MainBackgroundColor, }; @@ -209,9 +209,9 @@ Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor, }); - #endregion +#endregion - #region 鎴块棿绠$悊 +#region 鎴块棿绠$悊 roomManagementRow = new FrameLayout() { Y = floorManagementRow.Bottom, @@ -240,9 +240,9 @@ UnSelectedImagePath = "Public/RightIcon.png", }; roomManagementRow.AddChidren(btnRoomManagementSkinIcon); - #endregion +#endregion - #region 绠$悊鍛樻潈闄愯縼绉� +#region 绠$悊鍛樻潈闄愯縼绉� FrameLayout administratorPermissionMigrationRow; administratorPermissionMigrationRow = new FrameLayout() { @@ -298,9 +298,9 @@ Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor, }); - #endregion +#endregion - #region 杩囨埛 +#region 杩囨埛 FrameLayout transferRow; transferRow = new FrameLayout() { @@ -346,9 +346,9 @@ UnSelectedImagePath = "Public/RightIcon.png", }; transferRow.AddChidren(btnTrasferSkinIcon); - #endregion +#endregion - #region 璋冭瘯鏉冮檺 +#region 璋冭瘯鏉冮檺 FrameLayout commissioningAuthorityRow; commissioningAuthorityRow = new FrameLayout() { @@ -396,7 +396,7 @@ }; commissioningAuthorityRow.AddChidren(btnCommissioningAuthoritySwitchIcon); - #endregion +#endregion LoadEventList(); -- Gitblit v1.8.0