From 6c1e5bd3e0c80517adf92bd8f34565dc29a65e09 Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <1152958806@qq.com> Date: Sun, 13 Aug 2023 23:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E5=BE=80=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 26 ++++++++++++++++++++------ templates/modules/widgets/console.html | 2 +- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/settings.yaml b/settings.yaml index 611bc992..9c5ce5c9 100644 --- a/settings.yaml +++ b/settings.yaml @@ -57,9 +57,9 @@ spec: key: travelling label: 开往按钮 options: - - label: 打开 + - label: 显示 value: true - - label: 关闭 + - label: 隐藏 value: false - $formkit: url if: $get(travelling).value @@ -72,19 +72,33 @@ spec: label: 随机文章 help: 右上角随机文章按钮 options: - - label: 打开 + - label: 显示 value: true - - label: 关闭 + - label: 隐藏 value: false - $formkit: radio name: darkMode label: 切换模式 help: 右上角切换主题模式按钮 options: - - label: 打开 + - label: 显示 value: true - - label: 关闭 + - label: 隐藏 value: false + - $formkit: group + name: console + label: 中控台 + value: + consoleLink: false + children: + - $formkit: radio + name: consoleLink + label: 前往控制台 + options: + - label: 显示 + value: true + - label: 隐藏 + value: false - group: top label: 顶部 diff --git a/templates/modules/widgets/console.html b/templates/modules/widgets/console.html index 46e0970a..01730683 100644 --- a/templates/modules/widgets/console.html +++ b/templates/modules/widgets/console.html @@ -131,7 +131,7 @@ -
+