[Doc] new theme
This commit is contained in:
@@ -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 |
|
||||
|
||||
@@ -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
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|
||||
Reference in New Issue
Block a user