From 61f9792395547b12974baf0d8658efd5ca9262a1 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Mon, 13 Apr 2026 10:10:56 +0800
Subject: [PATCH] 新增标签页样式chrome风格
---
ruoyi-ui/src/settings.js | 48 +++++++++++++++++++++++++++++++++++++++---------
1 files changed, 39 insertions(+), 9 deletions(-)
diff --git a/ruoyi-ui/src/settings.js b/ruoyi-ui/src/settings.js
index 8eb9294..edfabf7 100644
--- a/ruoyi-ui/src/settings.js
+++ b/ruoyi-ui/src/settings.js
@@ -1,5 +1,8 @@
module.exports = {
- title: '若依管理系统',
+ /**
+ * 网页标题
+ */
+ title: process.env.VUE_APP_TITLE,
/**
* 侧边栏主题 深色主题theme-dark,浅色主题theme-light
@@ -7,9 +10,14 @@
sideTheme: 'theme-dark',
/**
- * 是否系统布局配置
+ * 系统布局配置
*/
- showSettings: false,
+ showSettings: true,
+
+ /**
+ * 菜单导航模式 1、纯左侧 2、混合(左侧+顶部) 3、纯顶部
+ */
+ navType: 1,
/**
* 是否显示 tagsView
@@ -17,9 +25,24 @@
tagsView: true,
/**
+ * 持久化标签页
+ */
+ tagsViewPersist: false,
+
+ /**
+ * 显示页签图标
+ */
+ tagsIcon: false,
+
+ /**
+ * 标签页样式:card 卡片(默认)、chrome 谷歌浏览器风格
+ */
+ tagsViewStyle: 'card',
+
+ /**
* 是否固定头部
*/
- fixedHeader: false,
+ fixedHeader: true,
/**
* 是否显示logo
@@ -27,10 +50,17 @@
sidebarLogo: true,
/**
- * @type {string | array} 'production' | ['production', 'development']
- * @description Need show err logs component.
- * The default is only used in the production env
- * If you want to also use it in dev, you can pass ['production', 'development']
+ * 是否显示动态标题
*/
- errorLog: 'production'
+ dynamicTitle: false,
+
+ /**
+ * 是否显示底部版权
+ */
+ footerVisible: false,
+
+ /**
+ * 底部版权文本内容
+ */
+ footerContent: 'Copyright © 2018-2026 RuoYi. All Rights Reserved.'
}
--
Gitblit v1.9.3