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

如何将滚动显示变为分页? #101

Closed
SNOWandwhite opened this issue Mar 20, 2023 · 4 comments
Closed

如何将滚动显示变为分页? #101

SNOWandwhite opened this issue Mar 20, 2023 · 4 comments
Assignees

Comments

@SNOWandwhite
Copy link

我在整个文档中发现,滚动功能属于自定义封装,现在像将其改为分页,请问怎样做?
(我在其他文件中发现了分页功能的代码,但存在bug)

@raincolor
Copy link
Contributor

Currently, card pages in the open source version only support scrolling pagination. If you want to replace it with paging bar paging function (currently we only have paging bar paging for table type pages), you can delete the scrolling paging component ScrollContainer on the outer layer of the element that needs paging, and introduce our custom paging component 'xtreme1\frontend\main \src\components\Table\src\ThePagination.vue' is enough, or you can also encapsulate or import the third-party library pagination component yourself

@SNOWandwhite
Copy link
Author

SNOWandwhite commented Mar 20, 2023

ThePagination
ImgCard
/ThePagination
就像这样,但是它什么都没有显示在web界面上(如果我加上<>,这样的示例在评论区无法显示)

@raincolor
Copy link
Contributor

After introducing the corresponding paging component bar, you need to do some other things, such as passing in the corresponding props

@xtreme1-io xtreme1-io deleted a comment from SNOWandwhite Mar 20, 2023
@SNOWandwhite
Copy link
Author

After introducing the corresponding paging component bar, you need to do some other things, such as passing in the corresponding props

我正在对其进行尝试,希望能够成功

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

No branches or pull requests

4 participants