[Doc] reorganize components (#2032)

This commit is contained in:
neverland 2018-11-06 09:32:58 +08:00 committed by GitHub
parent ee567ae7db
commit d237a374fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 169 additions and 167 deletions

View File

@ -74,14 +74,6 @@ module.exports = {
{ {
groupName: '基础组件', groupName: '基础组件',
list: [ list: [
{
path: '/col',
title: 'Layout 布局'
},
{
path: '/badge',
title: 'Badge 徽章'
},
{ {
path: '/button', path: '/button',
title: 'Button 按钮' title: 'Button 按钮'
@ -90,77 +82,17 @@ module.exports = {
path: '/cell', path: '/cell',
title: 'Cell 单元格' title: 'Cell 单元格'
}, },
{
path: '/circle',
title: 'Circle 环形进度条'
},
{
path: '/collapse',
title: 'Collapse 折叠面板'
},
{ {
path: '/icon', path: '/icon',
title: 'Icon 图标' title: 'Icon 图标'
}, },
{ {
path: '/lazyload', path: '/col',
title: 'Lazyload 图片懒加载' title: 'Layout 布局'
},
{
path: '/list',
title: 'List 列表'
},
{
path: '/loading',
title: 'Loading 加载'
},
{
path: '/nav-bar',
title: 'NavBar 导航栏'
},
{
path: '/notice-bar',
title: 'NoticeBar 通告栏'
},
{
path: '/pagination',
title: 'Pagination 分页'
},
{
path: '/panel',
title: 'Panel 面板'
}, },
{ {
path: '/popup', path: '/popup',
title: 'Popup 弹出层' title: 'Popup 弹出层'
},
{
path: '/progress',
title: 'Progress 进度条'
},
{
path: '/steps',
title: 'Steps 步骤条'
},
{
path: '/swipe',
title: 'Swipe 轮播'
},
{
path: '/tab',
title: 'Tab 标签页'
},
{
path: '/tabbar',
title: 'Tabbar 标签栏'
},
{
path: '/tag',
title: 'Tag 标记'
},
{
path: '/waterfall',
title: 'Waterfall 瀑布流'
} }
] ]
}, },
@ -171,6 +103,10 @@ module.exports = {
path: '/checkbox', path: '/checkbox',
title: 'Checkbox 复选框' title: 'Checkbox 复选框'
}, },
{
path: '/datetime-picker',
title: 'DatetimePicker 时间选择'
},
{ {
path: '/field', path: '/field',
title: 'Field 输入框' title: 'Field 输入框'
@ -183,6 +119,10 @@ module.exports = {
path: '/password-input', path: '/password-input',
title: 'PasswordInput 密码输入框' title: 'PasswordInput 密码输入框'
}, },
{
path: '/picker',
title: 'Picker 选择器'
},
{ {
path: '/radio', path: '/radio',
title: 'Radio 单选框' title: 'Radio 单选框'
@ -207,6 +147,10 @@ module.exports = {
path: '/switch', path: '/switch',
title: 'Switch 开关' title: 'Switch 开关'
}, },
{
path: '/switch-cell',
title: 'SwitchCell 开关单元格'
},
{ {
path: '/uploader', path: '/uploader',
title: 'Uploader 图片上传' title: 'Uploader 图片上传'
@ -214,28 +158,28 @@ module.exports = {
] ]
}, },
{ {
groupName: '操作反馈', groupName: '反馈组件',
list: [ list: [
{ {
path: '/actionsheet', path: '/actionsheet',
title: 'Actionsheet 上拉菜单' title: 'Actionsheet 上拉菜单'
}, },
{
path: '/datetime-picker',
title: 'DatetimePicker 时间选择'
},
{ {
path: '/dialog', path: '/dialog',
title: 'Dialog 弹出框' title: 'Dialog 弹出框'
}, },
{ {
path: '/picker', path: '/loading',
title: 'Picker 选择器' title: 'Loading 加载'
}, },
{ {
path: '/pull-refresh', path: '/pull-refresh',
title: 'PullRefresh 下拉刷新' title: 'PullRefresh 下拉刷新'
}, },
{
path: '/swipe-cell',
title: 'SwipeCell 滑动单元格'
},
{ {
path: '/toast', path: '/toast',
title: 'Toast 轻提示' title: 'Toast 轻提示'
@ -243,19 +187,76 @@ module.exports = {
] ]
}, },
{ {
groupName: '高阶组件', groupName: '展示组件',
list: [ list: [
{
path: '/circle',
title: 'Circle 环形进度条'
},
{
path: '/collapse',
title: 'Collapse 折叠面板'
},
{ {
path: '/image-preview', path: '/image-preview',
title: 'ImagePreview 图片预览' title: 'ImagePreview 图片预览'
}, },
{ {
path: '/swipe-cell', path: '/lazyload',
title: 'SwipeCell 滑动单元格' title: 'Lazyload 图片懒加载'
}, },
{ {
path: '/switch-cell', path: '/list',
title: 'SwitchCell 开关单元格' title: 'List 列表'
},
{
path: '/notice-bar',
title: 'NoticeBar 通告栏'
},
{
path: '/panel',
title: 'Panel 面板'
},
{
path: '/progress',
title: 'Progress 进度条'
},
{
path: '/steps',
title: 'Steps 步骤条'
},
{
path: '/swipe',
title: 'Swipe 轮播'
},
{
path: '/tag',
title: 'Tag 标记'
}
]
},
{
groupName: '导航组件',
list: [
{
path: '/badge',
title: 'Badge 徽章'
},
{
path: '/nav-bar',
title: 'NavBar 导航栏'
},
{
path: '/pagination',
title: 'Pagination 分页'
},
{
path: '/tab',
title: 'Tab 标签页'
},
{
path: '/tabbar',
title: 'Tabbar 标签栏'
}, },
{ {
path: '/tree-select', path: '/tree-select',
@ -292,7 +293,7 @@ module.exports = {
}, },
{ {
path: '/goods-action', path: '/goods-action',
title: 'GoodsAction 商品页行动点' title: 'GoodsAction 商品导航'
}, },
{ {
path: '/submit-bar', path: '/submit-bar',
@ -300,7 +301,7 @@ module.exports = {
}, },
{ {
path: '/sku', path: '/sku',
title: 'Sku 商品规格弹层' title: 'Sku 商品规格'
} }
] ]
} }
@ -370,14 +371,6 @@ module.exports = {
{ {
groupName: 'Basic Components', groupName: 'Basic Components',
list: [ list: [
{
path: '/col',
title: 'Layout'
},
{
path: '/badge',
title: 'Badge'
},
{ {
path: '/button', path: '/button',
title: 'Button' title: 'Button'
@ -386,77 +379,17 @@ module.exports = {
path: '/cell', path: '/cell',
title: 'Cell' title: 'Cell'
}, },
{
path: '/circle',
title: 'Circle'
},
{
path: '/collapse',
title: 'Collapse'
},
{ {
path: '/icon', path: '/icon',
title: 'Icon' title: 'Icon'
}, },
{ {
path: '/lazyload', path: '/col',
title: 'Lazyload' title: 'Layout'
},
{
path: '/list',
title: 'List'
},
{
path: '/loading',
title: 'Loading'
},
{
path: '/nav-bar',
title: 'NavBar'
},
{
path: '/notice-bar',
title: 'NoticeBar'
},
{
path: '/pagination',
title: 'Pagination'
},
{
path: '/panel',
title: 'Panel'
}, },
{ {
path: '/popup', path: '/popup',
title: 'Popup' title: 'Popup'
},
{
path: '/progress',
title: 'Progress'
},
{
path: '/steps',
title: 'Steps'
},
{
path: '/swipe',
title: 'Swipe'
},
{
path: '/tab',
title: 'Tab'
},
{
path: '/tabbar',
title: 'Tabbar'
},
{
path: '/tag',
title: 'Tag'
},
{
path: '/waterfall',
title: 'Waterfall'
} }
] ]
}, },
@ -467,6 +400,10 @@ module.exports = {
path: '/checkbox', path: '/checkbox',
title: 'Checkbox' title: 'Checkbox'
}, },
{
path: '/datetime-picker',
title: 'DatetimePicker'
},
{ {
path: '/field', path: '/field',
title: 'Field' title: 'Field'
@ -479,6 +416,10 @@ module.exports = {
path: '/password-input', path: '/password-input',
title: 'PasswordInput' title: 'PasswordInput'
}, },
{
path: '/picker',
title: 'Picker'
},
{ {
path: '/radio', path: '/radio',
title: 'Radio' title: 'Radio'
@ -503,6 +444,10 @@ module.exports = {
path: '/switch', path: '/switch',
title: 'Switch' title: 'Switch'
}, },
{
path: '/switch-cell',
title: 'SwitchCell'
},
{ {
path: '/uploader', path: '/uploader',
title: 'Uploader' title: 'Uploader'
@ -516,22 +461,22 @@ module.exports = {
path: '/actionsheet', path: '/actionsheet',
title: 'Actionsheet' title: 'Actionsheet'
}, },
{
path: '/datetime-picker',
title: 'DatetimePicker'
},
{ {
path: '/dialog', path: '/dialog',
title: 'Dialog' title: 'Dialog'
}, },
{ {
path: '/picker', path: '/loading',
title: 'Picker' title: 'Loading'
}, },
{ {
path: '/pull-refresh', path: '/pull-refresh',
title: 'PullRefresh' title: 'PullRefresh'
}, },
{
path: '/swipe-cell',
title: 'SwipeCell'
},
{ {
path: '/toast', path: '/toast',
title: 'Toast' title: 'Toast'
@ -539,19 +484,76 @@ module.exports = {
] ]
}, },
{ {
groupName: 'Advanced Components', groupName: 'Display Components',
list: [ list: [
{ {
path: '/swipe-cell', path: '/circle',
title: 'SwipeCell' title: 'Circle'
},
{
path: '/collapse',
title: 'Collapse'
}, },
{ {
path: '/image-preview', path: '/image-preview',
title: 'ImagePreview' title: 'ImagePreview'
}, },
{ {
path: '/switch-cell', path: '/lazyload',
title: 'SwitchCell' title: 'Lazyload'
},
{
path: '/list',
title: 'List'
},
{
path: '/notice-bar',
title: 'NoticeBar'
},
{
path: '/panel',
title: 'Panel'
},
{
path: '/progress',
title: 'Progress'
},
{
path: '/steps',
title: 'Steps'
},
{
path: '/swipe',
title: 'Swipe'
},
{
path: '/tag',
title: 'Tag'
}
]
},
{
groupName: 'Navigation Components',
list: [
{
path: '/badge',
title: 'Badge'
},
{
path: '/nav-bar',
title: 'NavBar'
},
{
path: '/pagination',
title: 'Pagination'
},
{
path: '/tab',
title: 'Tab'
},
{
path: '/tabbar',
title: 'Tabbar'
}, },
{ {
path: '/tree-select', path: '/tree-select',

View File

@ -1,4 +1,4 @@
## GoodsAction 商品页行动点 ## GoodsAction 商品导航
### 使用指南 ### 使用指南
``` javascript ``` javascript

View File

@ -1,4 +1,4 @@
## Sku 商品购买组件 ## Sku 商品规格
### 使用指南 ### 使用指南
```javascript ```javascript