[Doc] optimzie doc detail (#413)

This commit is contained in:
neverland
2017-12-12 13:13:35 +08:00
committed by GitHub
parent 6f2b4c99da
commit a57887919d
5 changed files with 22 additions and 22 deletions
+9 -9
View File
@@ -14,8 +14,8 @@ Vue.use(CellGroup);
```html
<van-cell-group>
<van-cell title="Cell title" value="Content"></van-cell>
<van-cell title="Cell title" value="Content" label="Description"></van-cell>
<van-cell title="Cell title" value="Content" />
<van-cell title="Cell title" value="Content" label="Description" />
</van-cell-group>
```
@@ -23,7 +23,7 @@ Vue.use(CellGroup);
```html
<van-cell-group>
<van-cell value="Content"></van-cell>
<van-cell value="Content" />
</van-cell-group>
```
@@ -31,7 +31,7 @@ Vue.use(CellGroup);
```html
<van-cell-group>
<van-cell title="Cell title" icon="location"></van-cell>
<van-cell title="Cell title" icon="location" />
</van-cell-group>
```
@@ -39,8 +39,8 @@ Vue.use(CellGroup);
```html
<van-cell-group>
<van-cell title="Cell title" is-link></van-cell>
<van-cell title="Cell title" is-link value="Content"></van-cell>
<van-cell title="Cell title" isLink />
<van-cell title="Cell title" isLink value="Content" />
</van-cell-group>
```
@@ -48,16 +48,16 @@ Vue.use(CellGroup);
```html
<van-cell-group>
<van-cell value="Content" icon="shop" is-link>
<van-cell value="Content" icon="shop" isLink>
<template slot="title">
<span class="van-cell-text">Cell title</span>
<van-tag type="danger">Tag</van-tag>
</template>
</van-cell>
<van-cell title="Cell title" icon="location" is-link></van-cell>
<van-cell title="Cell title" icon="location" isLink />
<van-cell title="Cell title">
<template slot="right-icon">
<van-icon name="search" class="van-cell__right-icon"></van-icon>
<van-icon name="search" class="van-cell__right-icon" />
</template>
</van-cell>
</van-cell-group>