[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
+8 -5
View File
@@ -1,15 +1,16 @@
## Pagination
# Pagination
### Install
``` javascript
import { Pagination } from 'vant';
Vue.use(Pagination);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
```html
<van-pagination
@@ -29,7 +30,7 @@ export default {
}
```
#### Simple mode
### Simple mode
```html
<van-pagination
@@ -39,7 +40,7 @@ export default {
/>
```
#### Show ellipses
### Show ellipses
```html
<van-pagination
@@ -50,6 +51,8 @@ export default {
/>
```
## API
### Props
| Attribute | Description | Type | Default |
+9 -7
View File
@@ -1,17 +1,17 @@
## Pagination 分页
# Pagination 分页
### 引入
### 使用指南
``` javascript
import { Pagination } from 'vant';
Vue.use(Pagination);
```
### 代码演示
#### 基础用法
## 代码演示
### 基础用法
```html
<van-pagination
@@ -31,7 +31,7 @@ export default {
}
```
#### 简单模式
### 简单模式
```html
<van-pagination
@@ -41,7 +41,7 @@ export default {
/>
```
#### 显示省略号
### 显示省略号
```html
<van-pagination
@@ -52,6 +52,8 @@ export default {
/>
```
## API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |