{"id":16417021,"url":"https://github.com/nejinn/vue-bootstrap-pagination","last_synced_at":"2026-03-18T19:31:06.277Z","repository":{"id":39245484,"uuid":"237403184","full_name":"nejinn/vue-bootstrap-pagination","owner":"nejinn","description":"vue bootstrap 分页,可自定义按钮操作函数,自动监测每页数据数量修改，可修改分页元素显示数量","archived":false,"fork":false,"pushed_at":"2023-01-05T06:14:47.000Z","size":4478,"stargazers_count":0,"open_issues_count":27,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T11:23:11.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nejinn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-31T09:59:45.000Z","updated_at":"2020-01-31T10:30:25.000Z","dependencies_parsed_at":"2023-02-03T15:15:38.581Z","dependency_job_id":null,"html_url":"https://github.com/nejinn/vue-bootstrap-pagination","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nejinn/vue-bootstrap-pagination","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nejinn%2Fvue-bootstrap-pagination","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nejinn%2Fvue-bootstrap-pagination/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nejinn%2Fvue-bootstrap-pagination/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nejinn%2Fvue-bootstrap-pagination/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nejinn","download_url":"https://codeload.github.com/nejinn/vue-bootstrap-pagination/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nejinn%2Fvue-bootstrap-pagination/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29942890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T07:10:45.977Z","updated_at":"2026-02-28T16:33:02.098Z","avatar_url":"https://github.com/nejinn.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-bootstrap-pagination\nvue bootstrap有一个很强大的组件bootstrap-vue。但是这个组件的分页貌似并不支持前后端分离的分页。\n我至少是每页看出来。如果有看出来的请告诉我。\n如果有用这个组件的同学可以跟我交流。\nQQ：871966163\n直通车[bootstrap-vue](https://bootstrap-vue.js.org/docs/)\n\n自己写了个分页组件，开箱即用。\n\n\n## 参数\n\n组件参数 | 类型 |  默认值 | 描述|  \n-|-|- |-|\ntotal | 数字、字符串 | 1 | 数据总量 |\nsize | 数字、字符串 | 10 | 每页数量 |\ncurrentPage | 数字、字符串 | 1 | 当前页码 |\nlimit | 数字、字符串 | 5 | 分页元素 |\nalign | 字符串 |  | 分页位置，默认是左边，可以选'left','center','right' |\nfirstFunction | 函数 |  | 第一页按钮函数 |\nprevFunction | 函数 |  | 上一页按钮函数 |\ncurrentFunction | 函数 |  | 点击页码函数 |\nnextFunction | 函数 |  | 下一页页码函数 |\nlastFunction | 函数 |  | 最后一页页码函数 |\nsizeFunction | 函数 |  | 修改每页数量自动执行函数 |\n\n## 函数\n名称 | 描述|  \n-|-|\ngetCurrentPage | 获取分页当前页码 |\n\n\n## 效果图\n\n![效果图](https://github.com/nejinn/vue-bootstrap-pagination/blob/master/pg.gif)\n\n\n## Project setup\n```\nnpm install\n```\n\n### Compiles and hot-reloads for development\n```\nnpm run serve\n```\n\n打开\n```\nhttp://localhost:8080/pagination\n\n```\n可以查看demo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnejinn%2Fvue-bootstrap-pagination","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnejinn%2Fvue-bootstrap-pagination","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnejinn%2Fvue-bootstrap-pagination/lists"}