From f9181a9c8125136f597add7c30cb2ff508d54ba7 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 25 七月 2024 17:34:32 +0800 Subject: [PATCH] 2024年07月25日17:33:40 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs | 60 ++++++++++++++++++++++++++++-------------------------------- 1 files changed, 28 insertions(+), 32 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs index c46f3a9..85a2377 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs @@ -228,19 +228,21 @@ public void LoadView() { bodyView.BackgroundColor = CSS_Color.BackgroundColor; - new TopViewDiv(bodyView, Language.StringByID(StringId.PersonalCenter)).LoadTopView(); + var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.PersonalCenter)); + topView.maginY = 10; + topView.LoadTopView(); bodyScrolView = new VerticalScrolViewLayout() { - Y = Application.GetRealHeight(64), + Y = Application.GetRealHeight(64+10), VerticalScrollBarEnabled = false, - Height = Application.GetRealHeight(551), + Height = Application.GetRealHeight(551-10), }; bodyView.AddChidren(bodyScrolView); if (MainPage.Increase) { - bodyScrolView.Height = Application.GetRealHeight(541); + bodyScrolView.Height = Application.GetRealHeight(541-10); } headPortraitView = new FrameLayout() @@ -262,7 +264,7 @@ }; headPortraitView.AddChidren(userHeadImageView); -#region 涓汉淇℃伅閫夐」鍖哄煙 + #region 涓汉淇℃伅閫夐」鍖哄煙 var topPaddingView = new FrameLayout() { Height = Application.GetRealHeight(8) @@ -296,7 +298,7 @@ optionListView.Height = Application.GetRealHeight(51 * (6 + addRow)); -#region 涓汉閫夐」-鍚嶅瓧鍖哄煙 + #region 涓汉閫夐」-鍚嶅瓧鍖哄煙 /// <summary> /// 涓汉閫夐」-鍚嶅瓧鍖哄煙 /// </summary> @@ -344,8 +346,8 @@ }; userNameView.AddChidren(btnEditUserNameIcon); optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); -#endregion -#region 涓汉閫夐」-浜岀淮鐮佸尯鍩� + #endregion + #region 涓汉閫夐」-浜岀淮鐮佸尯鍩� /// <summary> /// 涓汉閫夐」-浜岀淮鐮佸尯鍩� /// </summary> @@ -392,8 +394,8 @@ UnSelectedImagePath = "Public/Right.png", }; _QRcodeView.AddChidren(btnQRcodeRight); -#endregion -#region 涓汉閫夐」-閭淇℃伅鍖哄煙 + #endregion + #region 涓汉閫夐」-閭淇℃伅鍖哄煙 /// <summary> /// 涓汉閫夐」-閭淇℃伅鍖哄煙 /// </summary> @@ -441,7 +443,7 @@ }; userEmailInfoView.AddChidren(btnUserEmailRight); optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); -#endregion + #endregion #region 涓汉閫夐」-鎵嬫満淇℃伅鍖哄煙 /// <summary> /// 涓汉閫夐」-鎵嬫満淇℃伅鍖哄煙 @@ -741,11 +743,11 @@ #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(); + ////鍒锋柊鎺ュ彛璇锋眰鎵�闇�瑕佺殑鍙傛暟 + //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); @@ -824,13 +826,10 @@ //璺宠浆鏈嶅姟鍣ㄤ俊鎭� Action selectAction = () => { - //var myServerInfoPage = new MyServerInfoPage(); - //MainPage.BasePageView.AddChidren(myServerInfoPage); - //myServerInfoPage.LoadPage(); - //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; - - //钀ょ煶涓存椂瀵嗙爜 - EZSDK.IOS.EZSDK.SharedInstance().ToTemPassView("1638782606240137218"); + var myServerInfoPage = new MyServerInfoPage(); + MainPage.BasePageView.AddChidren(myServerInfoPage); + myServerInfoPage.LoadPage(); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; }; myServerInfoCellView.GoAction = selectAction; @@ -848,23 +847,20 @@ //娉ㄩ攢璐﹀彿鐣岄潰 Action logOffAction = () => { - //var myServerInfoPage = new CancelAccountPage(); - //MainPage.BasePageView.AddChidren(myServerInfoPage); - //myServerInfoPage.LoadPage(); - //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; - - //钀ょ煶鍘嗗彶璁板綍 - EZSDK.IOS.EZSDK.SharedInstance().ToDeviceMsgListView("1638782606240137218"); + var myServerInfoPage = new CancelAccountPage(); + MainPage.BasePageView.AddChidren(myServerInfoPage); + myServerInfoPage.LoadPage(); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; }; logOffView.GoAction = logOffAction; logOffView.BtnTilte.Text = Language.StringByID(StringId.CancelAccount); logOffView.LineView.RemoveFromParent(); -#endregion + #endregion btnLogout = new Button() { - Y = Application.GetRealHeight(623), + Y = Application.GetRealHeight(624), Height = Application.GetRealHeight(50), TextAlignment = TextAlignment.Center, TextSize = CSS_FontSize.SubheadingFontSize, -- Gitblit v1.8.0