[Doc] optimzie doc detail (#413)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user