[Doc] reorganize components (#855)

This commit is contained in:
neverland 2018-11-06 09:33:50 +08:00 committed by GitHub
parent bc2b5ef02e
commit 0de7ec38e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 55 additions and 50 deletions

View File

@ -6,10 +6,6 @@ export default [
path: '/col', path: '/col',
title: 'Layout 布局' title: 'Layout 布局'
}, },
{
path: '/badge',
title: 'Badge 徽章'
},
{ {
path: '/button', path: '/button',
title: 'Button 按钮' title: 'Button 按钮'
@ -22,46 +18,10 @@ export default [
path: '/icon', path: '/icon',
title: 'Icon 图标' title: 'Icon 图标'
}, },
{
path: '/loading',
title: 'Loading 加载'
},
{
path: '/nav-bar',
title: 'NavBar 导航栏'
},
{
path: '/notice-bar',
title: 'NoticeBar 通告栏'
},
{
path: '/panel',
title: 'Panel 面板'
},
{ {
path: '/popup', path: '/popup',
title: 'Popup 弹出层' title: 'Popup 弹出层'
}, },
{
path: '/progress',
title: 'Progress 进度条'
},
{
path: '/steps',
title: 'Steps 步骤条'
},
{
path: '/tag',
title: 'Tag 标记'
},
{
path: '/tab',
title: 'Tab 标签页'
},
{
path: '/tabbar',
title: 'Tabbar 标签栏'
},
{ {
path: '/transition', path: '/transition',
title: 'Transition 动画' title: 'Transition 动画'
@ -98,11 +58,15 @@ export default [
{ {
path: '/switch', path: '/switch',
title: 'Switch 开关' title: 'Switch 开关'
},
{
path: '/switch-cell',
title: 'SwitchCell 开关单元格'
} }
] ]
}, },
{ {
groupName: '操作反馈', groupName: '反馈组件',
list: [ list: [
{ {
path: '/action-sheet', path: '/action-sheet',
@ -112,6 +76,10 @@ export default [
path: '/dialog', path: '/dialog',
title: 'Dialog 弹出框' title: 'Dialog 弹出框'
}, },
{
path: '/loading',
title: 'Loading 加载'
},
{ {
path: '/toast', path: '/toast',
title: 'Toast 轻提示' title: 'Toast 轻提示'
@ -123,15 +91,31 @@ export default [
] ]
}, },
{ {
groupName: '高阶组件', groupName: '展示组件',
list: [ list: [
{
path: '/notice-bar',
title: 'NoticeBar 通告栏'
},
{
path: '/panel',
title: 'Panel 面板'
},
{
path: '/progress',
title: 'Progress 进度条'
},
{
path: '/steps',
title: 'Steps 步骤条'
},
{ {
path: '/swipe-cell', path: '/swipe-cell',
title: 'SwipeCell 滑动单元格' title: 'SwipeCell 滑动单元格'
}, },
{ {
path: '/switch-cell', path: '/tag',
title: 'SwitchCell 开关单元格' title: 'Tag 标记'
}, },
{ {
path: '/tree-select', path: '/tree-select',
@ -139,6 +123,27 @@ export default [
} }
] ]
}, },
{
groupName: '导航组件',
list: [
{
path: '/badge',
title: 'Badge 徽章'
},
{
path: '/nav-bar',
title: 'NavBar 导航栏'
},
{
path: '/tab',
title: 'Tab 标签页'
},
{
path: '/tabbar',
title: 'Tabbar 标签栏'
}
]
},
{ {
groupName: '业务组件', groupName: '业务组件',
list: [ list: [
@ -148,7 +153,7 @@ export default [
}, },
{ {
path: '/card', path: '/card',
title: 'Card 卡片' title: 'Card 商品卡片'
}, },
{ {
path: '/submit-bar', path: '/submit-bar',
@ -156,7 +161,7 @@ export default [
}, },
{ {
path: '/goods-action', path: '/goods-action',
title: 'GoodsAction 商品页行动点' title: 'GoodsAction 商品导航'
} }
] ]
} }

View File

@ -1,3 +1,3 @@
{ {
"navigationBarTitleText": "Card 卡片" "navigationBarTitleText": "Card 商品卡片"
} }

View File

@ -1,3 +1,3 @@
{ {
"navigationBarTitleText": "GoodsAction 商品页行动点" "navigationBarTitleText": "GoodsAction 商品导航"
} }

View File

@ -1,4 +1,4 @@
## Card 卡片 ## Card 商品卡片
### 使用指南 ### 使用指南

View File

@ -1,4 +1,4 @@
## goodsAction 商品页行动点 ## GoodsAction 商品导航
### 使用指南 ### 使用指南
在 app.json 或 index.json 中引入组件 在 app.json 或 index.json 中引入组件