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

怎么显示页码 #10

Open
asababy opened this issue Nov 20, 2024 · 2 comments
Open

怎么显示页码 #10

asababy opened this issue Nov 20, 2024 · 2 comments

Comments

@asababy
Copy link

asababy commented Nov 20, 2024

不用浏览器自带的, 怎么样才能显示 当前X页/共Y页

@Alessandro-Pang
Copy link
Owner

目前没有内置自定义页码的功能,你要实现这个需求,需要自行查阅一下相关方案。

@Alessandro-Pang
Copy link
Owner

Alessandro-Pang commented Nov 20, 2024

目前没有特别好的处理方式,要么手动计算分页,然后再页面底部手动 append, 要么使用 css 的@page 添加 counter, 但都有对应的问题

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

No branches or pull requests

2 participants