parent
e16214e2c6
commit
949db8a088
@ -0,0 +1,10 @@
|
||||
import { APP_PRESET_COLOR_LIST, ThemeEnum } from '~/constants'
|
||||
|
||||
export const namespace = 'nl'
|
||||
export const primaryColor = '#0960bd'
|
||||
export const darkMode = ThemeEnum.LIGHT
|
||||
|
||||
export {
|
||||
// app theme preset color
|
||||
APP_PRESET_COLOR_LIST,
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
export * from './design'
|
||||
export * from './project'
|
@ -0,0 +1,107 @@
|
||||
import { primaryColor } from './'
|
||||
import {
|
||||
AlignEnum,
|
||||
ContentLayoutEnum,
|
||||
MenuModeEnum,
|
||||
MixSidebarTriggerEnum,
|
||||
NavBarModeEnum,
|
||||
PermissionModeEnum,
|
||||
PlacementEnum,
|
||||
RouterTransitionEnum,
|
||||
SessionTimeoutProcessingEnum,
|
||||
SettingButtonPositionEnum,
|
||||
ThemeEnum,
|
||||
TriggerEnum,
|
||||
} from '~/constants'
|
||||
|
||||
// ! You need to clear the browser cache after the change
|
||||
export const projectSetting: DefineAppConfigOptions = {
|
||||
theme: ThemeEnum.LIGHT,
|
||||
navBarMode: NavBarModeEnum.SIDEBAR,
|
||||
themeColor: primaryColor,
|
||||
showThemeModeToggle: true,
|
||||
openKeepAlive: true,
|
||||
useOpenBackTop: true,
|
||||
closeMessageOnSwitch: false,
|
||||
removeAllHttpPending: true,
|
||||
// permissionCacheType: CacheTypeEnum.LOCAL,
|
||||
settingButtonPosition: SettingButtonPositionEnum.AUTO,
|
||||
openSettingDrawer: false,
|
||||
permissionMode: PermissionModeEnum.PERM,
|
||||
sessionTimeoutProcessing: SessionTimeoutProcessingEnum.ROUTE_JUMP,
|
||||
grayMode: false,
|
||||
colorWeak: false,
|
||||
lockTime: 0,
|
||||
useLockPage: false,
|
||||
canEmbedIFramePage: true,
|
||||
closeMixSidebarOnChange: false,
|
||||
sidebar: {
|
||||
theme: ThemeEnum.DARK,
|
||||
show: true,
|
||||
visible: true,
|
||||
fixed: false,
|
||||
width: 210,
|
||||
mixSidebarWidth: 80,
|
||||
collapsedWidth: 48,
|
||||
collapsed: false,
|
||||
trigger: TriggerEnum.CENTER,
|
||||
},
|
||||
menu: {
|
||||
show: true,
|
||||
canDrag: false,
|
||||
split: false,
|
||||
mode: MenuModeEnum.VERTICAL,
|
||||
accordion: false,
|
||||
collapsedShowTitle: false,
|
||||
mixSideTrigger: MixSidebarTriggerEnum.CLICK,
|
||||
mixSideFixed: false,
|
||||
topMenuAlign: AlignEnum.START,
|
||||
dropdownPlacement: PlacementEnum.TOP_START,
|
||||
subMenuWidth: 0,
|
||||
},
|
||||
header: {
|
||||
theme: ThemeEnum.DARK,
|
||||
show: true,
|
||||
visible: true,
|
||||
fixed: false,
|
||||
height: 48,
|
||||
showDoc: true,
|
||||
showBreadCrumb: true,
|
||||
showBreadCrumbIcon: true,
|
||||
showFullScreen: true,
|
||||
showNotice: true,
|
||||
showSearch: true,
|
||||
showLocalePicker: true,
|
||||
showSetting: true,
|
||||
},
|
||||
logo: {
|
||||
show: true,
|
||||
visible: true,
|
||||
showTitle: true,
|
||||
},
|
||||
tabTar: {
|
||||
show: true,
|
||||
visible: true,
|
||||
height: 36,
|
||||
cache: true,
|
||||
canDrag: false,
|
||||
showFold: true,
|
||||
showQuick: true,
|
||||
showRedo: true,
|
||||
},
|
||||
content: {
|
||||
fullScreen: false,
|
||||
mode: ContentLayoutEnum.FULL,
|
||||
},
|
||||
footer: {
|
||||
height: 60,
|
||||
show: false,
|
||||
visible: false,
|
||||
},
|
||||
transition: {
|
||||
enable: true,
|
||||
basicTransition: RouterTransitionEnum.FADE_SIDE,
|
||||
openPageLoading: true,
|
||||
openNProgress: false,
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue