[Doc] new theme

This commit is contained in:
陈嘉涵
2019-05-15 20:53:04 +08:00
parent 3cae4288f2
commit d0f4169c86
130 changed files with 1460 additions and 1147 deletions
+12 -10
View File
@@ -1,4 +1,4 @@
## Cell
# Cell
### Install
``` javascript
@@ -7,9 +7,9 @@ import { Cell, CellGroup } from 'vant';
Vue.use(Cell).use(CellGroup);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
```html
<van-cell-group>
@@ -18,7 +18,7 @@ Vue.use(Cell).use(CellGroup);
</van-cell-group>
```
#### Size
### Size
```html
<van-cell-group>
@@ -27,7 +27,7 @@ Vue.use(Cell).use(CellGroup);
</van-cell-group>
```
#### Left Icon
### Left Icon
```html
<van-cell-group>
@@ -35,7 +35,7 @@ Vue.use(Cell).use(CellGroup);
</van-cell-group>
```
#### Value only
### Value only
```html
<van-cell-group>
@@ -43,7 +43,7 @@ Vue.use(Cell).use(CellGroup);
</van-cell-group>
```
#### Link
### Link
```html
<van-cell-group>
@@ -53,7 +53,7 @@ Vue.use(Cell).use(CellGroup);
</van-cell-group>
```
#### Router
### Router
```html
<van-cell-group>
@@ -62,7 +62,7 @@ Vue.use(Cell).use(CellGroup);
</van-cell-group>
```
#### Group Title
### Group Title
```html
<van-cell-group title="Group 1">
@@ -73,7 +73,7 @@ Vue.use(Cell).use(CellGroup);
</van-cell-group>
```
#### Advanced Usage
### Advanced Usage
```html
<van-cell-group>
@@ -90,6 +90,8 @@ Vue.use(Cell).use(CellGroup);
</van-cell-group>
```
## API
### CellGroup Props
| Attribute | Description | Type | Default |