From 94405ed24bdbe9ea4b1da6c93bdc04037943fb56 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期二, 22 七月 2025 09:24:46 +0800
Subject: [PATCH] 新增倒计时弹窗
---
src/main/webapp/views/index.html | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index ee9c0c7..f29622c 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -168,6 +168,20 @@
if (res.code == 200) {
let days = res.data
if (days <= 30) {
+ // 寮瑰嚭涓�涓畝鍗曠殑鎻愮ず妗�
+ layer.alert(`
+ <div style="font-size: 100px; text-align: center; line-height: 1.8; color: red">
+ 璁稿彲璇佹湁鏁堟湡涓猴細${days}
+ </div>
+`, {
+ area: ['1000px', '800px'],
+ btn: '纭畾',
+ btnAlign: 'c', // 鎸夐挳灞呬腑锛堥粯璁ゆ槸鍙冲榻愶級
+ yes: function(index) {
+ layer.msg('璇疯仈绯荤珛搴撳叕鍙稿晢鍔$画绾�');
+ layer.close(index);
+ }
+ });
$("#licenseShow").show()
$("#licenseDays").html(days)
}
--
Gitblit v1.9.1