From f222fb8ae7d265f094922f31970e1e805672ee01 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期二, 17 十月 2023 16:53:55 +0800
Subject: [PATCH] 2023年10月17日16:53:42
---
HDL_ON/UI/UI2/1-HomePage/MessageCenterPage.cs | 38 +++++++++++++++++++-------------------
1 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/HDL_ON/UI/UI2/1-HomePage/MessageCenterPage.cs b/HDL_ON/UI/UI2/1-HomePage/MessageCenterPage.cs
index 6bc91dc..1796050 100644
--- a/HDL_ON/UI/UI2/1-HomePage/MessageCenterPage.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/MessageCenterPage.cs
@@ -4,9 +4,9 @@
using System.Collections.Generic;
using System.Threading;
using HDL_ON.DAL.Server;
-#if DEBUG
-using Xamarin.Essentials;
-#endif
+//#if DEBUG
+//using Xamarin.Essentials;
+//#endif
namespace HDL_ON.UI
{
/// <summary>
@@ -124,10 +124,10 @@
//娴嬭瘯鎻愬墠褰撳墠鎺ㄩ�両D
allMenuButton.ImageButton.MouseLongEventHandler = (sender, e) =>
{
-#if DEBUG
+//#if DEBUG
- CopyToClipboard("鎺ㄩ�両D锛�" + OnAppConfig.Instance.PushId);
-#else
+// CopyToClipboard("鎺ㄩ�両D锛�" + OnAppConfig.Instance.PushId);
+//#else
//妫�娴嬫槸鍚﹁幏鍙栨帹閫両D鎴愬姛锛屾彁绀烘帹閫佹敞鍐屾槸鍚︽甯�
if (string.IsNullOrEmpty(OnAppConfig.Instance.PushId))
{
@@ -137,7 +137,7 @@
{
Utlis.ShowTip(Language.StringByID(StringId.PushNormal));
}
-#endif
+//#endif
};
#endregion
@@ -446,7 +446,7 @@
{
try
{
- return Utlis.UnixToDateTimeWithFormatMS(time, "yyyy-MM-dd HH:mm");
+ return Utlis.UnixToDateTimeWithFormatMS(time, "yyyy.MM.dd HH:mm");
}
catch (Exception ex)
{
@@ -864,18 +864,18 @@
HDLCommon.GetPushMessageAction = null;
}
-#if DEBUG
+//#if DEBUG
- /// <summary>
- /// 澶嶅埗鍒板壀鍒囨澘
- /// </summary>
- /// <param name="text"></param>
- void CopyToClipboard(string text)
- {
- Clipboard.SetTextAsync(text);
- Utlis.ShowTip(text + "\n" + Language.StringByID(StringId.CopySuccess));
- }
-#endif
+// /// <summary>
+// /// 澶嶅埗鍒板壀鍒囨澘
+// /// </summary>
+// /// <param name="text"></param>
+// void CopyToClipboard(string text)
+// {
+// Clipboard.SetTextAsync(text);
+// Utlis.ShowTip(text + "\n" + Language.StringByID(StringId.CopySuccess));
+// }
+//#endif
}
--
Gitblit v1.8.0