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 @@