| | |
| | | |
| | | #region 访客记录按钮 |
| | | bodyView.BackgroundColor = CSS_Color.BackgroundColor; |
| | | new TopViewDiv(bodyView, Language.StringByID(StringId.VisitorInvitation)).LoadTopView(); |
| | | new TopViewDiv(bodyView, Language.StringByID(StringId.VisitorRecord)).LoadTopView(); |
| | | #endregion |
| | | |
| | | bodyScrolView = new VerticalScrolViewLayout() |
| | |
| | | { |
| | | Height = Application.GetRealWidth(20), |
| | | Y = Application.GetRealWidth(6), |
| | | Text = Language.StringByID(StringId.VisitorQRCode), |
| | | Text = Language.StringByID(StringId.VisitorInvitationRecord), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.text1Color, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | |
| | | itemLayout.AddChidren(btn);//+= (sender, e) |
| | | btn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | #if __IOS__ |
| | | #else |
| | | VisitorQRCodePage page = new VisitorQRCodePage(action, temPwd); |
| | | MainPage.BasePageView.AddChidren(page); |
| | | page.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | #endif |
| | | }; |
| | | bodyScrolView.AddChidren(itemLayout); |
| | | } |