Former-commit-id: 8667ca696c40d1d398ef8ae0e3bebe7c1e31f7d9 Former-commit-id: 615014ac0c59293472eabd99941aecf6779c1425 Former-commit-id: 7f45572d695ccbf889ee84f41c52f012484aa3f1 Former-commit-id: 84d3f6c30ddc096b2f2dc44a3ab37f0b39ef8285 [formerly 0af90ce18a961631a2d7a13fd46d9a66ab0457e3] Former-commit-id: bf61aeb19b6514b94fc3364a1e8ade714dba6fe0 Former-commit-id: 9d8c1aef232b1fe36d50c1eb772d677b3bc6c1f4 Former-commit-id: f908f6732184bf4bc9c062f45e3f0c3cc297864b Former-commit-id: 4b9977850bc0a77613d6d8a4126d47622605b508 Former-commit-id: dfadf6968d87541ccf20818c9a5ade382e548ab7
90 lines
3.0 KiB
JavaScript
90 lines
3.0 KiB
JavaScript
export default {
|
|
path: '/demo/components',
|
|
title: '内置组件',
|
|
icon: 'puzzle-piece',
|
|
children: (pre => [
|
|
{ path: `${pre}index`, title: '扩展组件', icon: 'home' },
|
|
{
|
|
path: `${pre}container`,
|
|
title: '布局容器',
|
|
icon: 'window-restore',
|
|
children: [
|
|
{
|
|
title: '填充型',
|
|
children: [
|
|
{ path: `${pre}container/full`, title: '基础', icon: '' },
|
|
{ path: `${pre}container/full-slot`, title: '插槽', icon: '' },
|
|
{ path: `${pre}container/full-bs`, title: '滚动优化', icon: '' }
|
|
]
|
|
},
|
|
{
|
|
title: '隐形模式',
|
|
children: [
|
|
{ path: `${pre}container/ghost`, title: '基础', icon: '' },
|
|
{ path: `${pre}container/ghost-slot`, title: '插槽', icon: '' },
|
|
{ path: `${pre}container/ghost-bs`, title: '滚动优化', icon: '' }
|
|
]
|
|
},
|
|
{
|
|
title: '卡片型',
|
|
children: [
|
|
{ path: `${pre}container/card`, title: '基础', icon: '' },
|
|
{ path: `${pre}container/card-slot`, title: '插槽', icon: '' },
|
|
{ path: `${pre}container/card-bs`, title: '滚动优化', icon: '' }
|
|
]
|
|
},
|
|
{
|
|
title: '方法',
|
|
children: [
|
|
{ path: `${pre}container/api?bs=false`, title: '滚动控制', icon: '' },
|
|
{ path: `${pre}container/api?bs=true`, title: '滚动控制 BS', icon: '' }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}layout/grid`,
|
|
title: '高级布局',
|
|
icon: 'tasks',
|
|
children: [
|
|
{ path: `${pre}layout/grid`, title: '拖拽位置和大小' },
|
|
{ path: `${pre}layout/splitpane`, title: '区域划分' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}editor`,
|
|
title: '编辑器',
|
|
icon: 'pencil-square-o',
|
|
children: [
|
|
{ path: `${pre}editor-ueditor`, title: 'UEditor', icon: '' },
|
|
{ path: `${pre}editor-quill`, title: 'Quill', icon: '' },
|
|
{ path: `${pre}editor-simpleMDE`, title: 'simpleMDE', icon: '' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}icon`,
|
|
title: '图标',
|
|
icon: 'star',
|
|
children: [
|
|
{ path: `${pre}icon/icon`, title: '图标组件' },
|
|
{ path: `${pre}icon/icon-svg`, title: 'svg 图标组件' },
|
|
{ path: `${pre}icon/select`, title: '图标选择器' },
|
|
{ path: `${pre}icon/select-svg`, title: 'svg 图标选择器' },
|
|
{ path: `${pre}icon/list`, title: 'FontAwesome' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}markdown`,
|
|
title: 'markdown 解析',
|
|
icon: 'file-text-o',
|
|
children: [
|
|
{ path: `${pre}markdown/source`, title: '指定资源' },
|
|
{ path: `${pre}markdown/url`, title: '异步加载文件' }
|
|
]
|
|
},
|
|
{ path: `${pre}countup`, title: '数字动画', icon: 'motorcycle' },
|
|
{ path: `${pre}highlight`, title: '代码高亮显示', icon: 'code' },
|
|
{ path: `${pre}json-tree`, title: 'JSON 展示', icon: 'sitemap' }
|
|
])('/demo/components/')
|
|
}
|