Docs: 新增组件文档显示 (#58)

* 新增 toptips readme

* add toptips readme

* add readme

* add readme
This commit is contained in:
Yao 2017-11-17 20:19:07 +08:00 committed by GitHub
parent 99c5e20dd4
commit 12ace17fdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 68 additions and 0 deletions

View File

@ -41,6 +41,30 @@ npm run dev
我们推荐在你的`app.wxss`直接引入`zanui-weapp/dist/index.wxss`
#### 具体组件文档
* [Badge - 徽章](./packages/badge/README.md)
* [Button - 按钮](./packages/btn/README.md)
* [Capsule - 胶囊](./packages/capsule/README.md)
* [Card - 卡片](./packages/card/README.md)
* [Cell - 单元格](./packages/cell/README.md)
* [Helper - 基础样式](./packages/helper/README.md)
* [Icon - 图标](./packages/icon/README.md)
* [Label - 标签](./packages/label/README.md)
* [Layout - 布局](./packages/row/README.md)
* [Loadmore - 加载](./packages/loadmore/README.md)
* [Noticebar - 通告栏](./packages/noticebar/README.md)
* [Panel - 面板](./packages/panel/README.md)
* [Popup - 弹出层](./packages/popup/README.md)
* [Quantity - 计数器](./packages/quantity/README.md)
* [Select - 选择](./packages/select/README.md)
* [Steps - 步骤条](./packages/steps/README.md)
* [Switch - 开关](./packages/switch/README.md)
* [Tab - 标签](./packages/tab/README.md)
* [Field - 输入框](./packages/field/README.md)
* [Dialog - 弹出框](./packages/dialog/README.md)
* [Toast - 轻提示](./packages/toast/README.md)
* [Toptips - 顶部提示](./packages/toptips/README.md)
根据功能的不同可以将组件大致的分为4类
#### 1. 简单组件

View File

@ -38,3 +38,5 @@
```html
<button class="zan-btn zan-btn--loading">确认付款</button>
```
![](https://img.yzcdn.cn/public_files/2017/02/08/1b1e39ed3dc6b63519a68ba1e2650cfc.png)

View File

@ -0,0 +1,3 @@
## Dialog 弹出框
文档补充中

3
packages/field/README.md Normal file
View File

@ -0,0 +1,3 @@
## Field 输入框
文档补充中

View File

@ -0,0 +1,3 @@
## Helper 基础样式
文档补充中

3
packages/icon/README.md Normal file
View File

@ -0,0 +1,3 @@
## Icon 图标
文档补充中

3
packages/label/README.md Normal file
View File

@ -0,0 +1,3 @@
## Label 标签
文档补充中

View File

@ -0,0 +1,3 @@
## Loadmore 加载
文档补充中

View File

@ -0,0 +1,3 @@
## Noticebar 通告栏
文档补充中

3
packages/panel/README.md Normal file
View File

@ -0,0 +1,3 @@
## Panel 面板
文档补充中

3
packages/popup/README.md Normal file
View File

@ -0,0 +1,3 @@
## Popup 弹出层
文档补充中

View File

@ -0,0 +1,3 @@
## Quantity 计数器
文档补充中

3
packages/row/README.md Normal file
View File

@ -0,0 +1,3 @@
## Layout 布局
文档补充中

View File

@ -0,0 +1,3 @@
## Select 选择
文档补充中

3
packages/steps/README.md Normal file
View File

@ -0,0 +1,3 @@
## Steps 步骤条
文档补充中

View File

@ -0,0 +1,3 @@
## Switch 开关
文档补充中