[Doc] component order (#945)

This commit is contained in:
neverland 2018-11-24 08:38:24 +08:00 committed by GitHub
parent 1dc0e43daa
commit 5934e9e18f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 13 deletions

View File

@ -2,10 +2,6 @@ export default [
{ {
groupName: '基础组件', groupName: '基础组件',
list: [ list: [
{
path: '/col',
title: 'Layout 布局'
},
{ {
path: '/button', path: '/button',
title: 'Button 按钮' title: 'Button 按钮'
@ -18,6 +14,10 @@ export default [
path: '/icon', path: '/icon',
title: 'Icon 图标' title: 'Icon 图标'
}, },
{
path: '/col',
title: 'Layout 布局'
},
{ {
path: '/popup', path: '/popup',
title: 'Popup 弹出层' title: 'Popup 弹出层'
@ -88,6 +88,10 @@ export default [
path: '/loading', path: '/loading',
title: 'Loading 加载' title: 'Loading 加载'
}, },
{
path: '/notify',
title: 'Notify 消息通知'
},
{ {
path: '/swipe-cell', path: '/swipe-cell',
title: 'SwipeCell 滑动单元格' title: 'SwipeCell 滑动单元格'
@ -95,24 +99,20 @@ export default [
{ {
path: '/toast', path: '/toast',
title: 'Toast 轻提示' title: 'Toast 轻提示'
},
{
path: '/notify',
title: 'Notify 消息通知'
} }
] ]
}, },
{ {
groupName: '展示组件', groupName: '展示组件',
list: [ list: [
{
path: '/notice-bar',
title: 'NoticeBar 通告栏'
},
{ {
path: '/collapse', path: '/collapse',
title: 'Collapse 折叠面板' title: 'Collapse 折叠面板'
}, },
{
path: '/notice-bar',
title: 'NoticeBar 通告栏'
},
{ {
path: '/panel', path: '/panel',
title: 'Panel 面板' title: 'Panel 面板'

View File

@ -17,7 +17,7 @@
```js ```js
import Notify from 'path/to/vant-weapp/dist/notify/notify'; import Notify from 'path/to/vant-weapp/dist/notify/notify';
Notify('通知内容') Notify('通知内容');
``` ```
```html ```html