{"id":13535950,"url":"https://github.com/sinchang/vue-laypage","last_synced_at":"2025-05-12T22:18:29.488Z","repository":{"id":85836579,"uuid":"81448022","full_name":"sinchang/vue-laypage","owner":"sinchang","description":"📃 A simple pagination component for Vue.js 2.x","archived":false,"fork":false,"pushed_at":"2019-09-02T08:56:05.000Z","size":497,"stargazers_count":26,"open_issues_count":1,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T22:18:23.688Z","etag":null,"topics":["component","laypage","pagination","vue"],"latest_commit_sha":null,"homepage":"https://vue-laypage.netlify.com","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/sinchang.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-02-09T12:28:42.000Z","updated_at":"2023-06-20T05:10:35.000Z","dependencies_parsed_at":"2024-01-07T01:44:10.733Z","dependency_job_id":"83d31b0f-e458-4626-956c-53df605636f3","html_url":"https://github.com/sinchang/vue-laypage","commit_stats":{"total_commits":12,"total_committers":3,"mean_commits":4.0,"dds":0.25,"last_synced_commit":"12200678be8a073d91d024d82814c9e72d4bbf96"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Fvue-laypage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Fvue-laypage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Fvue-laypage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Fvue-laypage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinchang","download_url":"https://codeload.github.com/sinchang/vue-laypage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253831017,"owners_count":21971009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["component","laypage","pagination","vue"],"created_at":"2024-08-01T09:00:32.564Z","updated_at":"2025-05-12T22:18:29.470Z","avatar_url":"https://github.com/sinchang.png","language":"Vue","funding_links":[],"categories":["UI组件","Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)"],"sub_categories":["Libraries \u0026 Plugins"],"readme":"## vue-laypage\n\n\u003e A simple pagination component for Vue.js, Based on [layPage](http://laypage.layui.com/)\n\n[![NPM version](https://img.shields.io/npm/v/vue-laypage.svg?style=flat)](https://npmjs.com/package/vue-laypage) \n[![Vue 2.x](https://img.shields.io/badge/Vue-2.x-brightgreen.svg)](https://vuejs.org/v2/guide/)\n[![NPM downloads](https://img.shields.io/npm/dm/vue-laypage.svg?style=flat)](https://npmjs.com/package/vue-laypage) \n\n## Installation and Use\n\n```\n$ npm install vue-laypage --save\n```\n\n```\nimport Laypage from 'vue-laypage'\nimport 'vue-laypage/vue-laypage.css'\n\nexport default {\n  components: {\n    Laypage\n  }\n}\n```\n\nor\n\n```\nimport Vue from 'vue'\nimport Laypage from 'vue-laypage'\nimport 'vue-laypage/vue-laypage.css'\n\nVue.use(Laypage)\n```\n## Props\n| Name | Type | Description |\n| --- | --- | --- |\n| pages | Number | 总页数，必填 |\n| groups | Number | 一组显示几页，默认为5 |\n| prev | String, Number, Boolean | 上一页按钮的文字，false 不显示 |\n| next | String, Number, Boolean | 下一页按钮的文字，false 不显示 |\n| first | String, Number, Boolean | 首页按钮的文字，false 不显示 |\n| last | String, Number, Boolean | 尾页按钮的文字，false 不显示 |\n| skin | String | 按钮高亮的颜色，默认#42b983 |\n| skip | Boolean | 是否显示跳转 |\n| jump | Function | 触发分页后的回调，返回当前页 |\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinchang%2Fvue-laypage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinchang%2Fvue-laypage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinchang%2Fvue-laypage/lists"}