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/CancelAccountPage.cs |   32 +++++++++++++++-----------------
 1 files changed, 15 insertions(+), 17 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/CancelAccountPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/CancelAccountPage.cs
index 754dec1..ee4adf6 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/CancelAccountPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/CancelAccountPage.cs
@@ -1,7 +1,7 @@
 锘縰sing System;
 using Shared;
 using HDL_ON.UI.CSS;
-using Xamarin.Essentials;
+//using Xamarin.Essentials;
 using HDL_ON.DAL.Server;
 
 namespace HDL_ON.UI
@@ -87,7 +87,10 @@
 
         public void InitView_PreRelease()
         {
-            new TopViewDiv(bodyView, Language.StringByID(StringId.CancelAccount)).LoadTopView(CSS_Color.MainBackgroundColor);
+            var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.CancelAccount));
+            topView.maginY = 10;
+            topView.LoadTopView(CSS_Color.MainBackgroundColor);
+
             bodyView.BackgroundColor = CSS_Color.BackgroundColor;
 
             var textView = new Button()
@@ -225,11 +228,7 @@
             btnLogin.MouseUpEventHandler = (sender,e) =>{
                 if (btnLogin.IsSelected)
                 {
-                    var tipMsg = "*鎮ㄥ綋鍓嶆鍦ㄦ敞閿�璐︽埛锛屾敞閿�瀹屾垚鍚庯紝鎮ㄧ殑鎵�鏈夋暟鎹潎浼氳鍒犻櫎锛岃璋ㄦ厧鎿嶄綔銆�";
-                    if(Language.CurrentLanguage!= "Chinese")
-                    {
-                        tipMsg = "*You are currently canceling your account. After completing the cancellation, all your data will be deleted.Please operate with caution.";
-                    }
+                    var tipMsg = "*鎮ㄥ綋鍓嶆鍦ㄦ敞閿�璐︽埛锛屾敞閿�瀹屾垚鍚庯紝鎮ㄥ湪App鐨勬墍鏈夋暟鎹潎浼氳鍒犻櫎锛岃璋ㄦ厧鎿嶄綔銆�";
                     Action action = () => {
                         var loading = new Loading();
                         this.AddChidren(loading);
@@ -253,7 +252,6 @@
                                     {
                                         var tip = new Tip()
                                         {
-                            MaxWidth = Application.GetRealWidth(300),
                                             Text = pack.message,
                                             CloseTime = 3,
                                             Direction = AMPopTipDirection.None
@@ -360,14 +358,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 鑱旂郴閭
@@ -456,8 +454,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