mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 22:30:19 +08:00
feat(projects): add 'vertical-hybrid-header-first' layout mode
This commit is contained in:
@@ -43,6 +43,11 @@ const layoutConfig: LayoutConfig = {
|
||||
menuClass: 'w-1/4 h-full',
|
||||
mainClass: 'w-2/3 h-3/4'
|
||||
},
|
||||
'vertical-hybrid-header-first': {
|
||||
placement: 'bottom',
|
||||
menuClass: 'w-1/4 h-full',
|
||||
mainClass: 'w-2/3 h-3/4'
|
||||
},
|
||||
horizontal: {
|
||||
placement: 'bottom',
|
||||
menuClass: 'w-full h-1/4',
|
||||
|
||||
@@ -30,6 +30,14 @@ const themeStore = useThemeStore();
|
||||
<div class="layout-main"></div>
|
||||
</div>
|
||||
</template>
|
||||
<template #vertical-hybrid-header-first>
|
||||
<div class="layout-sider h-full w-8px !bg-primary"></div>
|
||||
<div class="layout-sider h-full w-16px !bg-primary-300"></div>
|
||||
<div class="vertical-wrapper">
|
||||
<div class="layout-header bg-primary"></div>
|
||||
<div class="layout-main"></div>
|
||||
</div>
|
||||
</template>
|
||||
<template #horizontal>
|
||||
<div class="layout-header !bg-primary"></div>
|
||||
<div class="horizontal-wrapper">
|
||||
|
||||
Reference in New Issue
Block a user