From 4c6e206414c31b4e4b06fd5125b84d14199b7ba7 Mon Sep 17 00:00:00 2001 From: UPToZ Date: Wed, 18 Dec 2024 14:05:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BE=A7=E6=A0=8F=E4=B8=AD?= =?UTF-8?q?=E7=88=B1=E5=8F=91=E7=94=B5=E8=AE=BF=E9=97=AE=E5=8F=91=E7=94=B5?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=B8=BB=E9=A1=B5=E6=8E=A5=E5=8F=A3=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E5=A4=B1=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 1 + templates/assets/js/halo.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/settings.yaml b/settings.yaml index d6e1b6c..072b270 100644 --- a/settings.yaml +++ b/settings.yaml @@ -756,6 +756,7 @@ spec: - $formkit: url name: powerLink label: 赞助地址 + help: https://ifdian.net/a/uptoz - $formkit: text name: url label: 接口地址 diff --git a/templates/assets/js/halo.js b/templates/assets/js/halo.js index b0cecbf..3159c40 100644 --- a/templates/assets/js/halo.js +++ b/templates/assets/js/halo.js @@ -429,7 +429,7 @@ let halo = { `; } else { if (powerStar) { - powerStar.href = "https://afdian.net/u/" + data[0]["user"].user_id + powerStar.href = "https://ifdian.net/u/" + data[0]["user"].user_id powerStar.innerHTML = `
@@ -447,7 +447,7 @@ let halo = { break; } htmlText += - ` ${value["user"]["name"]}`; + ` ${value["user"]["name"]}`; i = i + 1; } if (document.getElementById("power-item-link")) {