From e72fbaf98a09446cabacdbd9b31d1f7a6bb10648 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Sat, 10 Jan 2026 16:20:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B6=E9=83=A8=E5=AF=BC=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../model/ThemeConfigModel.php | 2 ++ .../theme_configurator/template/admin/index.html | 6 ++++++ public/header.html | 16 +++++----------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/plugins/addon/theme_configurator/model/ThemeConfigModel.php b/plugins/addon/theme_configurator/model/ThemeConfigModel.php index 6303e4a..675db31 100644 --- a/plugins/addon/theme_configurator/model/ThemeConfigModel.php +++ b/plugins/addon/theme_configurator/model/ThemeConfigModel.php @@ -140,6 +140,8 @@ class ThemeConfigModel 'enterprise_mailbox' => 'support@example.com', 'enterprise_qrcode' => '/upload/qrcode.png', 'official_website_logo' => '/upload/logo.png', + // Logo 链接配置(独立于导航数组) + 'logo_link' => 'index.html', // 在线客服链接,对应原主题中的 online_customer_service_link 'online_customer_service_link' => 'http://www.test.com', 'icp_info' => '京ICP备示例号', diff --git a/plugins/addon/theme_configurator/template/admin/index.html b/plugins/addon/theme_configurator/template/admin/index.html index 6c69fff..3cc7f2b 100644 --- a/plugins/addon/theme_configurator/template/admin/index.html +++ b/plugins/addon/theme_configurator/template/admin/index.html @@ -119,6 +119,11 @@
建议尺寸: 200×60 像素
+
+ + +
点击Logo跳转的链接地址,默认为首页
+
@@ -185,6 +190,7 @@

顶部导航

+

配置网站顶部导航栏菜单项,支持添加子菜单。注意:Logo链接已在"基础配置"中独立设置,所有导航项都会正常显示。

diff --git a/public/header.html b/public/header.html index 9f2ad6f..89285bf 100644 --- a/public/header.html +++ b/public/header.html @@ -2,20 +2,19 @@