Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2020-10-02 08:50:37 +08:00
57 changed files with 500 additions and 270 deletions
+5 -5
View File
@@ -45,7 +45,7 @@ export default {
/>
```
### Custom Render
### Custom Button
```html
<van-pagination v-model="currentPage" :total-items="50" :show-page-size="5">
@@ -83,8 +83,8 @@ export default {
### Slots
| Name | Description | Default |
| Name | Description | SlotProps |
| --- | --- | --- |
| prev-text | custom prev slot | `-` |
| next-text | custom next slot | `-` |
| page | pagination item slot | `{ number: number, text: string, active: boolean }` |
| page `v2.10.9` | Custom pagination item | _{ number: number, text: string, active: boolean }_ |
| prev-text `v2.10.9` | Custom prev text | `-` |
| next-text `v2.10.9` | Custom next text | `-` |