| | |
| | | }; |
| | | roomManagementRow.AddChidren(btnRoomManagementSkinIcon); |
| | | #endregion |
| | | //已经交付 |
| | | if (DB_ResidenceData.Instance.CurrentRegion.deliverStatus == "Delivered" || DB_ResidenceData.Instance.CurrentRegion.deliverStatus == "SECONDARY_DEBUGGIN") |
| | | { |
| | | |
| | | if (DB_ResidenceData.Instance.CurrentRegion.deliverStatus == "PAID") |
| | | if (DB_ResidenceData.Instance.CurrentRegion.deliverStatus != "SECONDARY_DEBUGGIN") |
| | | { |
| | | #region 管理员权限迁移 |
| | | contentView.AddChidren(new Button() { Height = Application.GetRealHeight(8) }); |
| | |
| | | }; |
| | | transferRow.AddChidren(btnTrasferSkinIcon); |
| | | #endregion |
| | | |
| | | } |
| | | #region 调试权限 |
| | | |
| | | contentView.AddChidren(new Button() { Height = Application.GetRealHeight(8) }); |
| | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | |
| | | LoadEvent_SkipAdminMigrationConfirmPage(); |
| | | LoadEvent_SkipTransferConfirmPage(); |
| | | } |
| | | else |
| | | //调试完成 才能加载二维码 |
| | | else if (DB_ResidenceData.Instance.CurrentRegion.deliverStatus == "WAIT_DELIVERED") |
| | | { |
| | | #region 交付二维码 |
| | | contentView.AddChidren(new Button() { Height = Application.GetRealHeight(8) }); |
| | |
| | | deliveryQRcodeRow.AddChidren(btnDeliveryQRcodeRightIcon); |
| | | |
| | | |
| | | EventHandler<MouseEventArgs> eventHandler = (sender, e) => { |
| | | EventHandler<MouseEventArgs> eventHandler = (sender, e) => |
| | | { |
| | | var skipPage = new DeliveryQrCodePage(); |
| | | MainPage.BasePageView.AddChidren(skipPage); |
| | | skipPage.LoadPage(); |
| | |
| | | btnDeliveryQRcodeRightIcon.MouseUpEventHandler = eventHandler; |
| | | #endregion |
| | | } |
| | | else |
| | | { |
| | | #region 房屋状态提示 |
| | | contentView.AddChidren(new Button() { Height = Application.GetRealHeight(8) }); |
| | | var houseStatusTipRow = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(50), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | contentView.AddChidren(houseStatusTipRow); |
| | | |
| | | var btnHouseStatusTipTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Width = Application.GetRealWidth(308), |
| | | TextID = StringId.HouseStatus, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | }; |
| | | houseStatusTipRow.AddChidren(btnHouseStatusTipTitle); |
| | | |
| | | switch (DB_ResidenceData.Instance.CurrentRegion.deliverStatus) |
| | | { |
| | | case "To_Be_Debugged"://待调试 |
| | | btnHouseStatusTipTitle.Text += Language.StringByID(StringId.To_Be_Debugged); |
| | | break; |
| | | case "Debugging"://调试中 |
| | | btnHouseStatusTipTitle.Text += Language.StringByID(StringId.Debugging); |
| | | break; |
| | | case "INITIAL_TATE"://初始态 |
| | | btnHouseStatusTipTitle.Text += Language.StringByID(StringId.INITIAL_TATE); |
| | | break; |
| | | case "ACCEPTANCE"://验收 |
| | | btnHouseStatusTipTitle.Text += Language.StringByID(StringId.ACCEPTANCE); |
| | | break; |
| | | case "To_Be_Accepted"://待验收 |
| | | btnHouseStatusTipTitle.Text += Language.StringByID(StringId.To_Be_Accepted); |
| | | break; |
| | | default: |
| | | btnHouseStatusTipTitle.Text += Language.StringByID(StringId.INITIAL_TATE); |
| | | break; |
| | | } |
| | | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | } |
| | | LoadEventList(); |
| | | } |
| | | } |