From 90d4fdb42a7f4818897ff76def0a151a99d2d9e1 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 23 十一月 2023 13:56:14 +0800 Subject: [PATCH] 2.4.2Google --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs | 78 +++++++++++++++++++------------------- 1 files changed, 39 insertions(+), 39 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs index 1228ec0..da39b77 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs @@ -709,52 +709,52 @@ #region 涓汉閫夐」-璁垮绠$悊 if (Entity.DB_ResidenceData.Instance.SupportVisitorManage)//鍒ゆ柇鏄惁鏀寔璁垮绠$悊 { - optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); +// optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); - visitorManagementView = new FrameLayout() - { - Height = Application.GetRealHeight(50), - }; - optionListView.AddChidren(visitorManagementView); +// visitorManagementView = new FrameLayout() +// { +// Height = Application.GetRealHeight(50), +// }; +// optionListView.AddChidren(visitorManagementView); - var btnVisitorManagementRight = new Button() - { - X = Application.GetRealWidth(339), - Gravity = Gravity.CenterVertical, - Width = Application.GetMinRealAverage(16), - Height = Application.GetMinRealAverage(16), - UnSelectedImagePath = "Public/Right.png", - }; - visitorManagementView.AddChidren(btnVisitorManagementRight); +// var btnVisitorManagementRight = new Button() +// { +// X = Application.GetRealWidth(339), +// Gravity = Gravity.CenterVertical, +// Width = Application.GetMinRealAverage(16), +// Height = Application.GetMinRealAverage(16), +// UnSelectedImagePath = "Public/Right.png", +// }; +// visitorManagementView.AddChidren(btnVisitorManagementRight); - btnisitorVManagementText = new Button() - { - X = Application.GetRealWidth(16), - TextAlignment = TextAlignment.CenterLeft, - TextColor = CSS_Color.FirstLevelTitleColor, - TextSize = CSS_FontSize.SubheadingFontSize, - TextID = StringId.VisitorManage, - }; - visitorManagementView.AddChidren(btnisitorVManagementText); +// btnisitorVManagementText = new Button() +// { +// X = Application.GetRealWidth(16), +// TextAlignment = TextAlignment.CenterLeft, +// TextColor = CSS_Color.FirstLevelTitleColor, +// TextSize = CSS_FontSize.SubheadingFontSize, +// TextID = StringId.VisitorManage, +// }; +// visitorManagementView.AddChidren(btnisitorVManagementText); - btnisitorVManagementText.MouseUpEventHandler = (sender, e) => - { +// btnisitorVManagementText.MouseUpEventHandler = (sender, e) => +// { -#if __IOS__ - ////鍒锋柊鎺ュ彛璇锋眰鎵�闇�瑕佺殑鍙傛暟 - //Foundation.NSDictionary info = new Foundation.NSDictionary("regionUrl", HttpUtil.GlobalRequestHttpsHost, "token", UserInfo.Current.LoginTokenString, "appkey", "HDL-HOME-APP-TEST", "secret", "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss", "refreshToken", UserInfo.Current.RefreshToken); - //Shared.IOS.HDLFVSDK.Video.RefreshInfo(info); - //////璺宠浆璁垮绠$悊鐣岄潰 - //Shared.IOS.HDLFVSDK.Video.ShowVisitorManager(); -#else - var page = new VisitorQRCodePage(); - MainPage.BasePageView.AddChidren(page); - page.LoadPage(); - MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; -#endif - }; +//#if __IOS__ +// ////鍒锋柊鎺ュ彛璇锋眰鎵�闇�瑕佺殑鍙傛暟 +// //Foundation.NSDictionary info = new Foundation.NSDictionary("regionUrl", HttpUtil.GlobalRequestHttpsHost, "token", UserInfo.Current.LoginTokenString, "appkey", "HDL-HOME-APP-TEST", "secret", "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss", "refreshToken", UserInfo.Current.RefreshToken); +// //Shared.IOS.HDLFVSDK.Video.RefreshInfo(info); +// //////璺宠浆璁垮绠$悊鐣岄潰 +// //Shared.IOS.HDLFVSDK.Video.ShowVisitorManager(); +//#else +// //var page = new VisitorQRCodePage(); +// //MainPage.BasePageView.AddChidren(page); +// //page.LoadPage(); +// //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; +//#endif +// }; } -- Gitblit v1.8.0