[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
+6 -4
View File
@@ -1,4 +1,4 @@
## Card
# Card
### Install
``` javascript
@@ -7,9 +7,9 @@ import { Card } from 'vant';
Vue.use(Card);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
```html
<van-card
@@ -21,7 +21,7 @@ Vue.use(Card);
/>
```
#### Advanced Usage
### Advanced Usage
Use slot to custom content.
@@ -42,6 +42,8 @@ Use slot to custom content.
</van-card>
```
## API
### Props
| Attribute | Description | Type | Default |