build docs

This commit is contained in:
cookfront
2017-03-22 17:35:58 +08:00
parent 5c41e13357
commit 1828753011
6 changed files with 51 additions and 55 deletions

View File

@@ -17,11 +17,13 @@
## Button 按钮
### 按钮功能
### 使用指南
只接受`primary`, `default`, `danger`三种类型,默认`default`
一些使用指南
:::demo 按钮功能
### 代码示例
:::demo 按钮功能只接受primary, default, danger三种类型默认default。
```html
<zan-row>
<zan-col span="24">
@@ -37,8 +39,6 @@
```
:::
### 禁用状态
:::demo 禁用状态
```html
<zan-row>
@@ -49,11 +49,7 @@
```
:::
### 按钮尺寸
只接受`large`, `normal`, `small`, `mini`四种尺寸,默认`normal`
:::demo 按钮尺寸
:::demo 按钮尺寸,只接受`large`, `normal`, `small`, `mini`四种尺寸,默认`normal`
```html
<zan-row>
<zan-col span="24">
@@ -74,11 +70,7 @@
```
:::
### 自定义按钮标签
按钮默认是`button`标签,可以使用`tag`属性修改为一个`a`标签。
:::demo 自定义按钮标签
:::demo 自定义按钮标签,按钮默认是`button`标签,可以使用`tag`属性修改为一个`a`标签。
```html
<zan-row>
<zan-col span="24">
@@ -88,10 +80,6 @@
```
:::
### loading按钮
表示`loading`状态
:::demo loading按钮
```html
<zan-row>
@@ -105,10 +93,6 @@
```
:::
### button group
一组按钮。
:::demo button group
```html
<div class="button-group">