[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 |
+7 -5
View File
@@ -1,15 +1,15 @@
## Card 卡片
# Card 卡片
### 使用指南
### 引入
``` javascript
import { Card } from 'vant';
Vue.use(Card);
```
### 代码演示
## 代码演示
#### 基础用法
### 基础用法
```html
<van-card
@@ -21,7 +21,7 @@ Vue.use(Card);
/>
```
#### 高级用法
### 高级用法
可以通过具名插槽添加定制内容
@@ -42,6 +42,8 @@ Vue.use(Card);
</van-card>
```
## API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |