## Card ### Install ``` javascript import { Card } from 'vant'; Vue.component(Card.name, Card); ``` ### Usage #### Basic Usage :::demo Basic Usage ```html ``` ::: #### Advanced Usage Use `slot` to custom content. :::demo Advanced Usage ```html
Button Button
``` ::: ### API | Attribute | Description | Type | Default | Accepted Values | |-----------|-----------|-----------|-------------|-------------| | thumb | Left thumb | `String` | - | - | | title | Title | `String` | - | - | | desc | Description | `String` | - | - | | num | Number of goods | `String | Number` | - | - | | price | Price of goods | `String | Number` | - | - | | centered | Whether content vertical centered | `String` | `false` | - | ### Slot | name | Description | |-----------|-----------| | title | Custom title | | desc | Custom description | | tags | Custom tags | | thumb | Custom thumb | | footer | Custom footer |