From efcffde735fa65ae34bae0bcc86313b74ed0e36c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 20 五月 2024 13:47:38 +0800
Subject: [PATCH] 优化离线数据

---
 HDL_ON/UI/UI2/4-PersonalCenter/CancelAccountPage.cs |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/CancelAccountPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/CancelAccountPage.cs
index d50a49e..3a6090b 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()
@@ -355,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 鑱旂郴閭
@@ -451,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