File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 106106<!-- prettier-ignore -->
107107| 参数 | 说明 | 类型 | 默认值 |
108108| --- | --- | --- | --- |
109- | x | x | x | x |
109+ | ` total ` | 数据总数 | ` number ` | - |
110+ | ` page-count ` | 页码总数, ` total ` 和 ` page-count ` 设置任意一个就可以达到显示页码的功能 | ` number ` | - |
111+ | ` page-size ` | 每页的数据条数 | ` number ` | ` 10 ` |
112+ | ` default-current-page ` | 当前页数的默认初始值,不设置时默认为 1 | ` number ` | ` 1 ` |
113+ | ` align ` | 对齐方式 | ` start \| center \| end ` | ` start ` |
114+ | ` hide-on-single-page ` | 只有一页时是否隐藏分页器 | ` boolean ` | ` false ` |
115+ | ` simple ` | 简单分页 | ` boolean ` | ` false ` |
116+ | ` page \| v-model:page ` | 当前页数[ 受控模式] | ` number ` | - |
117+
118+ ### Pagination Emits
119+
120+ <!-- prettier-ignore -->
121+ | 事件名 | 说明 | 回调参数 |
122+ | --- | --- | --- |
123+ | ` change ` | 当前页改变时触发 | ` currentPage: number ` |
Original file line number Diff line number Diff line change 2828<!-- prettier-ignore -->
2929| 参数 | 说明 | 类型 | 默认值 |
3030| --- | --- | --- | --- |
31- | x | x | x | x |
31+ | ` type ` | 类型 | ` primary ` | ` primary ` |
32+ | ` color ` | 颜色, 自定义颜色 | ` string ` | - |
33+
34+ ### Css Variables
35+
36+ <!-- prettier-ignore -->
37+ | 变量 | 默认值 | 说明 |
38+ | --- | --- | --- |
39+ | ` --nt-tag-bg ` | ` var(--nt-primary-color-light5, #f6ffed) ` | 标签背景色 |
40+ | ` --nt-tag-color ` | ` var(--nt-primary-color, #52c41a) ` | 标签文本颜色 |
41+ | ` --nt-tag-border-color ` | ` var(--nt-primary-color-light3, #b7eb8f) ` | 标签边框颜色 |
You can’t perform that action at this time.
0 commit comments