[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 |