Skip to content

Commit

Permalink
Merge pull request #248 from Tencent/docs/update-category
Browse files Browse the repository at this point in the history
docs: update component category
  • Loading branch information
LeeJim authored Jul 21, 2022
2 parents 4967cd1 + 929585b commit f78db59
Showing 1 changed file with 60 additions and 54 deletions.
114 changes: 60 additions & 54 deletions site/docs.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ export default {
path: '/mobile-vue/components/button',
component: () => import('@/button/button.md'),
},
{
title: 'Divider 分割符',
name: 'divider',
path: '/mobile-vue/components/divider',
component: () => import('@/divider/divider.md'),
},
{
title: 'Fab 悬浮按钮',
name: 'fab',
Expand All @@ -54,6 +48,30 @@ export default {
},
],
},
{
title: '布局',
type: 'component', // 组件文档
children: [
{
title: 'Divider 分割符',
name: 'divider',
path: '/mobile-vue/components/divider',
component: () => import('@/divider/divider.md'),
},
{
title: 'Cell 单元格',
name: 'cell',
path: '/mobile-vue/components/cell',
component: () => import('@/cell/cell.md'),
},
{
title: 'Grid 宫格',
name: 'grid',
path: '/mobile-vue/components/grid',
component: () => import('@/grid/grid.md'),
},
]
},
{
title: '导航',
type: 'component',
Expand Down Expand Up @@ -88,6 +106,18 @@ export default {
path: '/mobile-vue/components/tabs',
component: () => import('@/tabs/tabs.md'),
},
{
title: 'DropdownMenu 下拉菜单',
name: 'dropdown-menu',
path: '/mobile-vue/components/dropdown-menu',
component: () => import('@/dropdown-menu/dropdown-menu.md'),
},
{
title: 'Sticky 吸顶容器',
name: 'sticky',
path: '/mobile-vue/components/sticky',
component: () => import('@/sticky/sticky.md'),
},
],
},
{
Expand Down Expand Up @@ -196,12 +226,6 @@ export default {
path: '/mobile-vue/components/count-down',
component: () => import('@/count-down/count-down.md'),
},
{
title: 'DropdownMenu 下拉菜单',
name: 'dropdown-menu',
path: '/mobile-vue/components/dropdown-menu',
component: () => import('@/dropdown-menu/dropdown-menu.md'),
},
{
title: 'Tag 标签',
name: 'tag',
Expand All @@ -214,24 +238,6 @@ export default {
path: '/mobile-vue/components/collapse',
component: () => import('@/collapse/collapse.md'),
},
{
title: 'Cell 单元格',
name: 'cell',
path: '/mobile-vue/components/cell',
component: () => import('@/cell/cell.md'),
},
{
title: 'NoticeBar 公告栏',
name: 'notice-bar',
path: '/mobile-vue/components/notice-bar',
component: () => import('@/notice-bar/notice-bar.md'),
},
{
title: 'SwipeCell 滑动单元格',
name: 'swipe-cell',
path: '/mobile-vue/components/swipe-cell',
component: () => import('@/swipe-cell/swipe-cell.md'),
},
{
title: 'Swiper 轮播',
name: 'swiper',
Expand All @@ -244,48 +250,30 @@ export default {
path: '/mobile-vue/components/image-viewer',
component: () => import('@/image-viewer/image-viewer.md'),
},
{
title: 'Drawer 抽屉',
name: 'drawer',
path: '/mobile-vue/components/drawer',
component: () => import('@/drawer/drawer.md'),
},
{
title: 'Skeleton 骨架屏',
name: 'skeleton',
path: '/mobile-vue/components/skeleton',
component: () => import('@/skeleton/skeleton.md'),
},
{
title: 'Grid 宫格',
name: 'grid',
path: '/mobile-vue/components/grid',
component: () => import('@/grid/grid.md'),
},
{
title: 'Sticky 吸顶容器',
name: 'sticky',
path: '/mobile-vue/components/sticky',
component: () => import('@/sticky/sticky.md'),
},
{
title: 'List 列表',
name: 'list',
path: '/mobile-vue/components/list',
component: () => import('@/list/list.md'),
},
{
title: 'Loading 加载中',
name: 'loading',
path: '/mobile-vue/components/loading',
component: () => import('@/loading/loading.md'),
},
],
},
{
title: '消息提醒',
type: 'component', // 组件文档
children: [
{
title: 'Drawer 抽屉',
name: 'drawer',
path: '/mobile-vue/components/drawer',
component: () => import('@/drawer/drawer.md'),
},
{
title: 'Progress 进度条',
name: 'progress',
Expand Down Expand Up @@ -341,6 +329,24 @@ export default {
path: '/mobile-vue/components/overlay',
component: () => import('@/overlay/overlay.md'),
},
{
title: 'SwipeCell 滑动单元格',
name: 'swipe-cell',
path: '/mobile-vue/components/swipe-cell',
component: () => import('@/swipe-cell/swipe-cell.md'),
},
{
title: 'NoticeBar 公告栏',
name: 'notice-bar',
path: '/mobile-vue/components/notice-bar',
component: () => import('@/notice-bar/notice-bar.md'),
},
{
title: 'Loading 加载中',
name: 'loading',
path: '/mobile-vue/components/loading',
component: () => import('@/loading/loading.md'),
},
],
},
],
Expand Down

0 comments on commit f78db59

Please sign in to comment.