You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.1 KiB
72 lines
1.1 KiB
// 系统设置
|
|
interface DefaultSettings {
|
|
/**
|
|
* 系统title
|
|
*/
|
|
title: string;
|
|
|
|
/**
|
|
* 是否显示设置
|
|
*/
|
|
showSettings: boolean;
|
|
/**
|
|
* 是否显示多标签导航
|
|
*/
|
|
tagsView: boolean;
|
|
/**
|
|
*是否固定头部
|
|
*/
|
|
fixedHeader: boolean;
|
|
/**
|
|
* 是否显示侧边栏Logo
|
|
*/
|
|
sidebarLogo: boolean;
|
|
/**
|
|
* 是否深色侧边栏
|
|
*/
|
|
sidebarDark: boolean;
|
|
/**
|
|
* 登录是否显示视频背景
|
|
*/
|
|
showVideo: boolean;
|
|
/**
|
|
* 导航栏布局
|
|
*/
|
|
layout: string;
|
|
/**
|
|
* 主题模式
|
|
*/
|
|
theme: string;
|
|
|
|
/**
|
|
* 布局大小
|
|
*/
|
|
size: string;
|
|
|
|
/**
|
|
* 语言
|
|
*/
|
|
language: string;
|
|
}
|
|
|
|
const defaultSettings: DefaultSettings = {
|
|
title: '联美运营驾驶舱管理系统',
|
|
showSettings: true,
|
|
tagsView: true,
|
|
fixedHeader: false,
|
|
sidebarLogo: true,
|
|
sidebarDark: true,
|
|
showVideo: true,
|
|
layout: 'left',
|
|
/**
|
|
* 主题模式
|
|
*
|
|
* dark:暗黑模式
|
|
* light: 明亮模式
|
|
*/
|
|
theme: 'dark',
|
|
size: 'default', // default |large |small
|
|
language: 'zh-cn' // zh-cn| en
|
|
};
|
|
|
|
export default defaultSettings;
|