From 4e71ed9ecd35d7acc3a7ed373d503159f36241cf Mon Sep 17 00:00:00 2001 From: OoO Date: Mon, 18 May 2026 09:54:45 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=94=B6=E6=96=82=E6=B4=BB=E5=8B=95?= =?UTF-8?q?=E7=9C=8B=E6=9D=BF=E5=89=8D=E7=AB=AF=E4=BA=8B=E4=BB=B6=E8=88=87?= =?UTF-8?q?=E5=9C=96=E8=A1=A8=E8=BC=89=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.py | 2 +- templates/edm_dashboard_v2.html | 31 +++++++------- web/static/css/page-edm-v2.css | 54 ++++++++++++++++++++++++ web/static/js/page-edm-v2.js | 75 ++++++++++++++++++--------------- 4 files changed, 111 insertions(+), 51 deletions(-) diff --git a/config.py b/config.py index 5480aee..c6c1538 100644 --- a/config.py +++ b/config.py @@ -320,7 +320,7 @@ YOUTUBE_API_KEY = os.getenv('YOUTUBE_API_KEY', '') # ========================================== # 系統版本與路徑 # ========================================== -SYSTEM_VERSION = "V10.169" +SYSTEM_VERSION = "V10.170" LOG_FILE_PATH = os.path.join(BASE_DIR, 'logs/system.log') public_url = PUBLIC_URL # 用於模板顯示 diff --git a/templates/edm_dashboard_v2.html b/templates/edm_dashboard_v2.html index 918fcc9..e808fd7 100644 --- a/templates/edm_dashboard_v2.html +++ b/templates/edm_dashboard_v2.html @@ -38,7 +38,7 @@
CAMPAIGN - ID · {{ current_promo_page|upper }} + ID · {{ current_promo_page|upper }}

{{ page_title }}

@@ -52,20 +52,20 @@
商品總數
-
{{ total_edm_products | number_format }}
+
{{ total_edm_products | number_format }}
{% if current_promo_page == 'edm' %} - - {% elif current_promo_page == 'festival' %} - {% endif %} @@ -85,15 +85,15 @@
新品
-
{{ current_stats.get('new', 0) | number_format }}
+
{{ current_stats.get('new', 0) | number_format }}
漲價
-
{{ current_stats.get('up', 0) | number_format }}
+
{{ current_stats.get('up', 0) | number_format }}
降價
-
{{ current_stats.get('down', 0) | number_format }}
+
{{ current_stats.get('down', 0) | number_format }}