From 1de638833e4b07b5e6c272cf5c8474b5c92ce42f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 05 九月 2023 15:21:48 +0800 Subject: [PATCH] 删除音乐权限申请 --- OnPro/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs | 212 ---------------------------------------------------- 1 files changed, 3 insertions(+), 209 deletions(-) diff --git a/OnPro/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/OnPro/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs index 7745f79..22e233c 100644 --- a/OnPro/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs +++ b/OnPro/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs @@ -3,10 +3,6 @@ using HDL_ON.UI; using HDL_ON.UI.CSS; using Shared; -using HDL_ON.UI.UI2.PersonalCenter.Visitor; -#if IOS -using Foundation; -#endif namespace HDL_ON.UI { public partial class PersonalDataPage : FrameLayout @@ -150,10 +146,11 @@ /// </summary> Button btnResetPasswordText; Button btnResetPasswordRight; -#endregion + #endregion + #endregion -#region 涓汉閫夐」-鏂板浣忓畢 + #region 涓汉閫夐」-鏂板浣忓畢 /// <summary> /// 涓汉閫夐」-鏂板浣忓畢鍖哄煙 /// </summary> @@ -166,41 +163,7 @@ #endregion -#region 涓汉閫夐」-浜鸿劯閫氳绠$悊 - /// <summary> - /// 涓汉閫夐」-浜鸿劯閫氳绠$悊琛� - /// </summary> - FrameLayout faceManagementView; - /// <summary> - /// 浜鸿劯閫氳绠$悊鏂囨湰 - /// </summary> - Button btnFaceManagementText; -#endregion -#region 涓汉閫夐」-璁垮绠$悊 - /// <summary> - /// 涓汉閫夐」-璁垮绠$悊 - /// - /// </summary> - FrameLayout visitorManagementView; - /// <summary> - /// 浜鸿劯閫氳绠$悊鏂囨湰isitor - /// </summary> - Button btnisitorVManagementText; -#endregion - -#endregion - -#endregion - -#region 瑙i攣璁剧疆鍖哄煙 - /// <summary> - /// 瑙i攣璁剧疆鍖哄煙 - /// </summary> - //FrameLayout interpretationSettingsView; - //Button btnInterpretationSettingsTitle; - //Button btnInterpretationSettingsTip; - //Button btnInterpretationSettingsRight; #endregion /// <summary> @@ -660,182 +623,13 @@ #endregion - if (Entity.DB_ResidenceData.Instance.SupportFacePass) - { -#region 涓汉閫夐」-浜鸿劯閫氳绠$悊 - optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); - faceManagementView = new FrameLayout() - { - Height = Application.GetRealHeight(50), - }; - optionListView.AddChidren(faceManagementView); - - var btnFaceManagementRight = new Button() - { - X = Application.GetRealWidth(339), - Gravity = Gravity.CenterVertical, - Width = Application.GetMinRealAverage(16), - Height = Application.GetMinRealAverage(16), - UnSelectedImagePath = "Public/Right.png", - }; - faceManagementView.AddChidren(btnFaceManagementRight); - - btnFaceManagementText = new Button() - { - X = Application.GetRealWidth(16), - TextAlignment = TextAlignment.CenterLeft, - TextColor = CSS_Color.FirstLevelTitleColor, - TextSize = CSS_FontSize.SubheadingFontSize, - TextID = StringId.FacePassageSetting, - }; - faceManagementView.AddChidren(btnFaceManagementText); - - btnFaceManagementText.MouseUpEventHandler = (sender, e) => - { - var page = new FacePassagePage(); - MainPage.BasePageView.AddChidren(page); - page.LoadPage(); - MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; - }; - -#endregion - - } - - //璁垮绠$悊 -#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 }); - - 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); - - 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) => - { - - -#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 - }; - } - - -#endregion #endregion var topPaddingView2 = new FrameLayout() { Height = Application.GetRealHeight(8) }; bodyScrolView.AddChidren(topPaddingView2); - -#region 瑙i攣璁剧疆鍖哄煙 - ///// <summary> - ///// 瑙i攣璁剧疆鍖哄煙 - ///// </summary> - //interpretationSettingsView = new FrameLayout() - //{ - // BackgroundColor = CSS_Color.MainBackgroundColor, - // Height = Application.GetRealHeight(70), - //}; - //bodyScrolView.AddChidren(interpretationSettingsView); - //if(Language.CurrentLanguage != "Chinese") - //{ - // interpretationSettingsView.Height = Application.GetRealHeight(80); - //} - - //btnInterpretationSettingsTitle = new Button() - //{ - // X = Application.GetRealWidth(16), - // Height = Application.GetRealHeight(32), - // TextAlignment = TextAlignment.BottomLeft, - // TextColor = CSS_Color.FirstLevelTitleColor, - // TextSize = CSS_FontSize.SubheadingFontSize, - // TextID = StringId.InterpretationSettings, - //}; - //interpretationSettingsView.AddChidren(btnInterpretationSettingsTitle); - - //btnInterpretationSettingsTip = new Button() - //{ - // X = Application.GetRealWidth(16), - // Y = btnInterpretationSettingsTitle.Bottom, - // Height = Application.GetRealHeight(32), - // Width = Application.GetRealWidth(310), - // TextAlignment = TextAlignment.TopLeft, - // TextColor = CSS_Color.PromptingColor1, - // TextSize = CSS_FontSize.TextFontSize, - // TextID = StringId.AppUnlockSettingsTip, - // IsMoreLines = true, - //}; - //interpretationSettingsView.AddChidren(btnInterpretationSettingsTip); - - //btnInterpretationSettingsRight = new Button() - //{ - // X = Application.GetRealWidth(339), - // Gravity = Gravity.CenterVertical, - // Width = Application.GetMinRealAverage(16), - // Height = Application.GetMinRealAverage(16), - // UnSelectedImagePath = "Public/Right.png", - //}; - //interpretationSettingsView.AddChidren(btnInterpretationSettingsRight); - //interpretationSettingsView.AddChidren(new LineView(interpretationSettingsView.Height)); -#endregion - -#region 鏈嶅姟鍣ㄤ俊鎭� - ListCellView myServerInfoCellView = new ListCellView() - { - }; - bodyScrolView.AddChidren(myServerInfoCellView); - //璺宠浆鏈嶅姟鍣ㄤ俊鎭� - Action selectAction = () => - { - var myServerInfoPage = new MyServerInfoPage(); - MainPage.BasePageView.AddChidren(myServerInfoPage); - myServerInfoPage.LoadPage(); - MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; - - }; - myServerInfoCellView.GoAction = selectAction; - myServerInfoCellView.BtnTilte.Text = Language.StringByID(StringId.ServerInformation); - //myServerInfoCellView.LineView.RemoveFromParent(); - -#endregion - #region 娉ㄩ攢璐﹀彿 ListCellView logOffView = new ListCellView() -- Gitblit v1.8.0