Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

分页的建议 #648

Closed
002269 opened this issue Jul 25, 2021 · 4 comments
Closed

分页的建议 #648

002269 opened this issue Jul 25, 2021 · 4 comments
Labels
feature request New feature or request

Comments

@002269
Copy link

002269 commented Jul 25, 2021

This function solves the problem (这个功能解决的问题)

分页的建议

Expected API (期望的 API)

  1. 希望上一页下一页的内容可以自定义,而不仅仅是箭头
  2. 希望中间的一堆分页数字也有一个整体的开关,关闭的话,只显示上一页和下一页
    https://codesandbox.io/s/52zxc?file=/src/Demo.vue
    https://52zxc.csb.app/
  3. 希望上一页、下一页有 显示/不显示 的开关
  4. 希望跳转到 N 页的 input 后面可以有一个确定按钮的可选项,而不仅仅是回车跳转
    https://codesandbox.io/s/intelligent-merkle-0o6kw?file=/src/Demo.vue
    https://0o6kw.csb.app/
  5. 希望 show-quick-jumper 和 show-size-picker 和 分页部分 都支持前后缀插槽,而不仅仅是整体的分页
  6. 希望分页支持尺寸,和按钮一样

概述:

  1. 上一页下一页,中间的数字部分,页码选择,快速跳转,是四个独立的部分,应该分别支持显示/不显示,前后缀
  2. 快速跳转应该增加一个可选的“确定”按钮
  3. 分页支持尺寸调整,和按钮一样
@HarperGG
Copy link
Collaborator

@07akioni 上面这些api都需要支持吗 🧐

@07akioni
Copy link
Collaborator

@07akioni 上面这些api都需要支持吗 🧐

这个相关的我来搞吧,看起来有点复杂

@HarperGG
Copy link
Collaborator

好滴

@07akioni
Copy link
Collaborator

07akioni commented Aug 14, 2022

目前看来多数比较重要的都有了,如果具体哪个还缺少的话可以再提 issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants