Components
- Introduction
- vc-button
- vc-icon
- vc-checkbox
- vc-radio
- vc-buttonGroup
- vc-cascader
- vc-datepicker
- timepicker
- vc-easyclearinput
- vc-inputNumber
- vc-select
- vc-alert
- vc-badge
- vc-card
- vc-carousel
- vc-dropdown
- vc-toast
- vc-notification
- vc-modal
- vc-dialog
- vc-confrim
- vc-popover
- vc-tooltip
- vc-progress
- vc-table
- vc-tag
- vc-breadcrumb
- vc-pagination
- vc-steps
- vc-tabs
- vc-backtop
- vc-loading
- vc-panel
vc-pagination
Install
|
|
|
|
Usage
props
simple
普通版本
- type:
Boolean
, - default:
false
align
- type:
String
, - default:
'center'
prevText
- type:
String
, - default:
'‹'
nextText
- type:
String
, - default:
'›'
firstPageText
- type:
String
, - default:
'首页'
lastPageText
- type:
String
, - default:
'末页'
displayNum
可看见的页码数目
- type:
Number
, - default: 6
edgeNum
页码较多时,前后空余的可选页码数量
- type:
Number
, - default:
2
current
当前页码数
- twoWay:
true
, - type:
Number
, - default:
1
pageSize
页面数据量
- twoWay:
true
, - type:
Number
, - default:
10
total
全部结果集数目
- type:
Number
, - default:
0
onPageChange
- type:
Function
, - default:
function () {}
jumpable
是否显示跳转控件(页码输入框和跳转按钮)
- type:
Boolean
, - default:
true
goLabel
跳转按钮的文案
- type:
String
, - default:
'跳转'
invalidCallback: {
- type:
Function
, - default:
function () {}
pageSizeEditable
- type:
Boolean
, - default:
true
pageSizeArr
- type:
Array
, - default:
[10, 20, 40, 100]
onPageSizeChange
- type:
Function
, - default:
function () {}
example
- js
|
|