From 3111c926ed09afc9052f03bfdcf19b18745504ca Mon Sep 17 00:00:00 2001 From: liuxuewen <947752894@qq.com> Date: Thu, 21 Dec 2023 12:35:48 +0800 Subject: [PATCH] =?UTF-8?q?change:=20=E4=BC=98=E5=8C=96=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F=E4=B8=AD=E2=80=9C=E7=88=B1=E5=8F=91=E7=94=B5=E2=80=9D?= =?UTF-8?q?=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/js/halo.js | 6 +++--- templates/modules/variables/site-config.html | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/assets/js/halo.js b/templates/assets/js/halo.js index 54284d05..6023c537 100644 --- a/templates/assets/js/halo.js +++ b/templates/assets/js/halo.js @@ -379,13 +379,13 @@ let halo = { var data = getArrayItems(values, 1); let powerStar = document.getElementById("power-star") if (values.length===0){ - powerStar.href = "/" + powerStar.href = GLOBAL_CONFIG.source.power.powerLink powerStar.innerHTML = `
-
暂无赞赏,骚年请加油💪
-
更多支持,为爱发电
+
还没有人赞助~
+
为爱发电,点击赞助
`; }else { if (powerStar) { diff --git a/templates/modules/variables/site-config.html b/templates/modules/variables/site-config.html index f866c176..9beb872a 100644 --- a/templates/modules/variables/site-config.html +++ b/templates/modules/variables/site-config.html @@ -53,6 +53,7 @@ }, source: { power:{ + powerLink: [[${theme.config.sidebar.power.powerLink}]], url:[[${theme.config.sidebar.power.url}]], userId:[[${theme.config.sidebar.power.userId}]], showNum:[[${theme.config.sidebar.power.showNum}]] @@ -129,4 +130,4 @@ }; - \ No newline at end of file +