feat(projects): 添加多页签风格:按钮和浏览器两种风格

This commit is contained in:
Soybean
2021-09-20 02:48:53 +08:00
parent 03ebd49c86
commit 3cfa0f103c
40 changed files with 601 additions and 167 deletions

View File

@ -1,5 +1,5 @@
import type { ThemeSettings } from '../interface';
import { EnumAnimate } from '../enum';
import { EnumAnimate, EnumMultiTabMode } from '../enum';
const themeColorList = [
'#409EFF',
@ -48,9 +48,14 @@ const themeSettings: ThemeSettings = {
bgColor: '#fff'
},
multiTabStyle: {
height: 44,
height: 48,
visible: true,
bgColor: '#fff'
bgColor: '#fff',
mode: 'browser',
modeList: [
{ value: 'button', label: EnumMultiTabMode.button },
{ value: 'browser', label: EnumMultiTabMode.browser }
]
},
crumbsStyle: {
visible: true,