From eb07d0be014b11568d4263b470d46b5cd427fe9b Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 17 七月 2025 08:49:45 +0800
Subject: [PATCH] 送货费用

---
 CY_ECommercePlatform/CY.WebForm/MainPage.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/MainPage.cs b/CY_ECommercePlatform/CY.WebForm/MainPage.cs
index a4ee718..f97f0b2 100644
--- a/CY_ECommercePlatform/CY.WebForm/MainPage.cs
+++ b/CY_ECommercePlatform/CY.WebForm/MainPage.cs
@@ -504,6 +504,13 @@
             {
                 page.Response.Write("<script>window.close();</script>");
             }
+
+            public static void CloseWindowAlert(string Message, Page page)
+            {
+                string jsfn = "window.close();";
+                string script = string.Format("alert('{0}');{1}", Message, jsfn);
+                JavaScript.ExecuteClientScript("key", script, page);
+            }
             #endregion
 
             #region 淇℃伅鏍煎紡鍖�

--
Gitblit v1.9.1