From 0de7ec38e4287d60074fcc6d9fd0cffd1d8bb489 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 6 Nov 2018 09:33:50 +0800 Subject: [PATCH] [Doc] reorganize components (#855) --- example/config.js | 97 ++++++++++++++------------- example/pages/card/index.json | 2 +- example/pages/goods-action/index.json | 2 +- packages/card/README.md | 2 +- packages/goods-action/README.md | 2 +- 5 files changed, 55 insertions(+), 50 deletions(-) diff --git a/example/config.js b/example/config.js index d4c950d3..457968e5 100644 --- a/example/config.js +++ b/example/config.js @@ -6,10 +6,6 @@ export default [ path: '/col', title: 'Layout 布局' }, - { - path: '/badge', - title: 'Badge 徽章' - }, { path: '/button', title: 'Button 按钮' @@ -22,46 +18,10 @@ export default [ path: '/icon', title: 'Icon 图标' }, - { - path: '/loading', - title: 'Loading 加载' - }, - { - path: '/nav-bar', - title: 'NavBar 导航栏' - }, - { - path: '/notice-bar', - title: 'NoticeBar 通告栏' - }, - { - path: '/panel', - title: 'Panel 面板' - }, { path: '/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', title: 'Transition 动画' @@ -98,11 +58,15 @@ export default [ { path: '/switch', title: 'Switch 开关' + }, + { + path: '/switch-cell', + title: 'SwitchCell 开关单元格' } ] }, { - groupName: '操作反馈', + groupName: '反馈组件', list: [ { path: '/action-sheet', @@ -112,6 +76,10 @@ export default [ path: '/dialog', title: 'Dialog 弹出框' }, + { + path: '/loading', + title: 'Loading 加载' + }, { path: '/toast', title: 'Toast 轻提示' @@ -123,15 +91,31 @@ export default [ ] }, { - groupName: '高阶组件', + groupName: '展示组件', list: [ + { + path: '/notice-bar', + title: 'NoticeBar 通告栏' + }, + { + path: '/panel', + title: 'Panel 面板' + }, + { + path: '/progress', + title: 'Progress 进度条' + }, + { + path: '/steps', + title: 'Steps 步骤条' + }, { path: '/swipe-cell', title: 'SwipeCell 滑动单元格' }, { - path: '/switch-cell', - title: 'SwitchCell 开关单元格' + path: '/tag', + title: 'Tag 标记' }, { 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: '业务组件', list: [ @@ -148,7 +153,7 @@ export default [ }, { path: '/card', - title: 'Card 卡片' + title: 'Card 商品卡片' }, { path: '/submit-bar', @@ -156,7 +161,7 @@ export default [ }, { path: '/goods-action', - title: 'GoodsAction 商品页行动点' + title: 'GoodsAction 商品导航' } ] } diff --git a/example/pages/card/index.json b/example/pages/card/index.json index 79a0a3c6..08d93c03 100644 --- a/example/pages/card/index.json +++ b/example/pages/card/index.json @@ -1,3 +1,3 @@ { - "navigationBarTitleText": "Card 卡片" + "navigationBarTitleText": "Card 商品卡片" } diff --git a/example/pages/goods-action/index.json b/example/pages/goods-action/index.json index 157b60be..b110624a 100644 --- a/example/pages/goods-action/index.json +++ b/example/pages/goods-action/index.json @@ -1,3 +1,3 @@ { - "navigationBarTitleText": "GoodsAction 商品页行动点" + "navigationBarTitleText": "GoodsAction 商品导航" } diff --git a/packages/card/README.md b/packages/card/README.md index ec856897..375ad714 100644 --- a/packages/card/README.md +++ b/packages/card/README.md @@ -1,4 +1,4 @@ -## Card 卡片 +## Card 商品卡片 ### 使用指南 diff --git a/packages/goods-action/README.md b/packages/goods-action/README.md index d4bd0aeb..f75b1180 100644 --- a/packages/goods-action/README.md +++ b/packages/goods-action/README.md @@ -1,4 +1,4 @@ -## goodsAction 商品页行动点 +## GoodsAction 商品导航 ### 使用指南 在 app.json 或 index.json 中引入组件