From 7457a300dc5ce86660a95f10b31e737e4d0d2be2 Mon Sep 17 00:00:00 2001 From: mjsoftware <1406993111@qq.com> Date: Mon, 16 Dec 2024 18:08:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=99=BB=E5=BD=95=E6=89=A9?= =?UTF-8?q?=E5=B1=95=E8=83=BD=E5=8A=9B=E5=8F=AF=E9=80=89=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=EF=BC=8C=E6=9C=AA=E5=AE=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 10 ++++++---- templates/common/navbar.html | 12 +++++++----- templates/main/article.html | 9 +++++---- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/settings.yaml b/settings.yaml index 34efbb8..99cf713 100644 --- a/settings.yaml +++ b/settings.yaml @@ -200,12 +200,14 @@ spec: name: expand_login_skill label: 扩展登录后能力 help: 开启后,在文章详情界面,根据作者身份显示编辑按钮。控制台按钮 - 登录组件样式 添加 新建文章 和 发布瞬间 菜单项。登录用户需要具有进入控制台的权限。 - value: true + value: 'console' options: - - label: 开启 - value: true + - label: 控制台 + value: 'console' + - label: 个人 + value: 'uc' - label: 关闭 - value: false + value: 'none' - $formkit: radio name: load_progress label: 加载进度条 diff --git a/templates/common/navbar.html b/templates/common/navbar.html index 2b89ac5..ce3894b 100644 --- a/templates/common/navbar.html +++ b/templates/common/navbar.html @@ -75,18 +75,20 @@ th:title="${theme.config.basic_style.console.console_title}"> -