From f544a5c515a77af610374df896e128fdff2040f8 Mon Sep 17 00:00:00 2001 From: j m <1406993111@qq.com> Date: Thu, 13 Mar 2025 22:27:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=AE=89=E5=85=A8=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E8=B7=B3=E8=BD=AC=E6=97=B6=E9=97=B4=E5=B0=8F=E4=BA=8E?= =?UTF-8?q?=E7=AD=89=E4=BA=8E0=E6=97=B6=E5=85=B3=E9=97=AD=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E8=B7=B3=E8=BD=AC=20=E6=8F=90=E5=8D=87=E7=AB=99?= =?UTF-8?q?=E7=82=B9=E5=9B=BE=E6=A0=87=E4=B8=8E=E7=AB=99=E7=82=B9=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E7=9A=84=E4=B8=8B=E8=BE=B9=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- settings.yaml | 2 +- templates/security_link.html | 35 +++++++++++++++++++---------------- theme.yaml | 2 +- 4 files changed, 23 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index df1f00d..8ed908c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ .idea/ node_modules/ dist/ -package-lock.json \ No newline at end of file +package-lock.json +templates/assets/js/dshare.min.js.LICENSE.txt \ No newline at end of file diff --git a/settings.yaml b/settings.yaml index 3a858fb..eaf01a4 100644 --- a/settings.yaml +++ b/settings.yaml @@ -1475,7 +1475,7 @@ spec: value: 5 validation: required placeholder: '请输入安全链接页面自动跳转时间(秒)' - help: '输入安全链接页面自动跳转时间(秒),默认5秒。' + help: '输入安全链接页面自动跳转时间(秒),默认5秒,小于等于0时关闭自动跳转。' - $formkit: code name: security_link_jump_desc if: $get(enable_security_link).value diff --git a/templates/security_link.html b/templates/security_link.html index f9c485a..6fd2f30 100644 --- a/templates/security_link.html +++ b/templates/security_link.html @@ -180,8 +180,8 @@ right: -6px; bottom: -6px; border-radius: 26px; - background: linear-gradient(145deg, - rgba(255,255,255,0.3) 0%, + background: linear-gradient(145deg, + rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%); z-index: -1; } @@ -192,7 +192,7 @@ } html.dark .loading::before { - background: linear-gradient(145deg, + background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%); } @@ -203,7 +203,6 @@ border-radius: 50%; margin-bottom: 15px; display: block; - margin: 0 auto; border: 3px solid rgba(255, 255, 255, 0.3); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; @@ -369,18 +368,22 @@ diff --git a/theme.yaml b/theme.yaml index bb84928..1dcb455 100644 --- a/theme.yaml +++ b/theme.yaml @@ -30,7 +30,7 @@ spec: settingName: theme-dream2-plus-setting configMapName: theme-dream2-plus-configMap # 版本号 - version: 1.4.1 + version: 1.4.2.beta1 # 最低支持的 Halo 版本 require: ">=2.20.0" # 许可