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/AboutOn/ComplaintsPage.cs | 28 +++++++++++++++------------- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs index dcc83fb..227a159 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/ComplaintsPage.cs @@ -1,7 +1,7 @@ 锘縰sing System; using Shared; using HDL_ON.UI.CSS; -using Xamarin.Essentials; +//using Xamarin.Essentials; namespace HDL_ON.UI { @@ -29,12 +29,14 @@ /// </summary> public void LoadPage() { - new TopViewDiv(bodyView, Language.StringByID(StringId.Complaints)).LoadTopView(); + var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.Complaints)); + topView.maginY = 10; + topView.LoadTopView(); #region 鎶曡瘔鑱旂郴 FrameLayout phoneRow = new FrameLayout() { - Y = Application.GetRealHeight(64), + Y = Application.GetRealHeight(64+10), Height = Application.GetRealWidth(50), }; bodyView.AddChidren(phoneRow); @@ -78,14 +80,14 @@ phoneRow.AddChidren(btnImage); phoneRow.AddChidren(new Button() { X = Application.GetRealWidth(16), Y = Application.GetRealWidth(49), Height = Application.GetRealHeight(1), BackgroundColor = CSS_Color.DividingLineColor }); - EventHandler<MouseEventArgs> eventHandler = (sender, e) => - { - PhoneDialer.Open(Constant.SUPPORT_TELEPHONENUMBER); - }; + //EventHandler<MouseEventArgs> eventHandler = (sender, e) => + //{ + // PhoneDialer.Open(Constant.SUPPORT_TELEPHONENUMBER); + //}; - phoneRow.MouseUpEventHandler = eventHandler; - btnPhoneText.MouseUpEventHandler = eventHandler; - btnImage.MouseUpEventHandler = eventHandler; + //phoneRow.MouseUpEventHandler = eventHandler; + //btnPhoneText.MouseUpEventHandler = eventHandler; + //btnImage.MouseUpEventHandler = eventHandler; #endregion #region 鑱旂郴閭 @@ -124,7 +126,7 @@ { X = btnEmailTitle.Right, Y = btnEmailText.Bottom + Application.GetRealWidth(4), - Height = Application.GetRealWidth(20), + Height = Application.GetRealWidth(25), Width = Application.GetRealWidth(266), TextAlignment = TextAlignment.TopLeft, TextSize = CSS_FontSize.PromptFontSize_SecondaryLevel, @@ -174,8 +176,8 @@ /// <param name="text"></param> void CopyToClipboard(string text) { - Clipboard.SetTextAsync(text); - Utlis.ShowTip(text + "\n" + Language.StringByID(StringId.CopySuccess)); + //Clipboard.SetTextAsync(text); + //Utlis.ShowTip(text + "\n" + Language.StringByID(StringId.CopySuccess)); } } -- Gitblit v1.8.0