Former-commit-id: d120f41c803d47690de8893477c756e6ffb83db2 [formerly d120f41c803d47690de8893477c756e6ffb83db2 [formerly d120f41c803d47690de8893477c756e6ffb83db2 [formerly d120f41c803d47690de8893477c756e6ffb83db2 [formerly 2f749745ee9ff29e12160add58eec22290864fb8 [formerly 4e13189cb5c790327bfb4e2077f5c56f15435e5b]]]]] Former-commit-id: 44d5e2001b4fb2600683ae59cb344d11d2ce14ae Former-commit-id: b2cce82b9b00f5e03464736de4d49d0244afdecb Former-commit-id: ff18a6bc3834a98e2e40d1c7b5d36ef2bc445cac [formerly 3b1706d464f22a040836545bd1c3b9d3615791b6] Former-commit-id: e4ed2abcdedf4064d8a610e529e2deb9304f869c Former-commit-id: 2268aacbbc45cd16be1db1eeecc59c0b86206afd Former-commit-id: 92d4ed88a305128f919d14c1af2f3a164657bcc4 Former-commit-id: ac16e300526c7dcf20d84bc95347be9f8e11216d Former-commit-id: 3a9646f02accd23e664068d42efa5b7d057889bc
94 lines
3.3 KiB
JavaScript
94 lines
3.3 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}icon`,
|
|
title: '图标',
|
|
icon: 'star',
|
|
children: [
|
|
{ path: `${pre}icon/icon`, title: '图标组件' },
|
|
{ path: `${pre}icon/list`, title: 'FontAwesome' },
|
|
{ path: `${pre}icon/select`, title: '图标选择器' },
|
|
{ path: `${pre}icon/svg`, title: 'SVG图标组件' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}markdown`,
|
|
title: 'markdown 解析',
|
|
icon: 'file-text-o',
|
|
children: [
|
|
{ path: `${pre}markdown/source`, title: '指定资源' },
|
|
{ path: `${pre}markdown/url`, title: '异步加载文件' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}contextmenu`,
|
|
title: '右键菜单',
|
|
icon: 'mouse-pointer',
|
|
children: [
|
|
{ path: `${pre}contextmenu/simple`, title: '基础' },
|
|
{ path: `${pre}contextmenu/divier`, title: '分割线' },
|
|
{ path: `${pre}contextmenu/group`, title: '按钮组' },
|
|
{ path: `${pre}contextmenu/submenu`, title: '子菜单' },
|
|
{ path: `${pre}contextmenu/disabled`, title: '禁用' },
|
|
{ path: `${pre}contextmenu/custom-trigger`, title: '自定义事件' }
|
|
]
|
|
},
|
|
{ path: `${pre}countup`, title: '数字动画', icon: 'motorcycle' },
|
|
{ path: `${pre}editor-quill`, title: '富文本编辑器', icon: 'pencil-square-o (edit, edit)' },
|
|
{ path: `${pre}editor-simpleMDE`, title: 'markdown编辑器', icon: 'font' },
|
|
{ path: `${pre}highlight`, title: '代码高亮显示', icon: 'code' },
|
|
{ path: `${pre}json-tree`, title: 'JSON 展示', icon: 'sitemap' }
|
|
])('/demo/components/')
|
|
}
|