From ea0b1e8e5f43c5fd0a7d479e25ede3b8cbea464a Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期一, 02 十二月 2024 17:17:19 +0800 Subject: [PATCH] tcp;可视对讲; --- 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 c60655c..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); @@ -61,7 +63,7 @@ TextAlignment = TextAlignment.CenterLeft, TextSize = CSS_FontSize.TextFontSize, TextColor = CSS_Color.FirstLevelTitleColor, - Text = "13828070886", + Text = "400 855 8535", }; phoneRow.AddChidren(btnPhoneText); /// <summary> @@ -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 鑱旂郴閭 @@ -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