1.0.7 • Published 5 years ago

pages-plugin v1.0.7

Weekly downloads
2
License
ISC
Repository
-
Last release
5 years ago

pages-plugin

描述

基于vue 的一款分页组件。
(1) 国际化支持;
(2) 分页插件: 支持国际化, 支持每页显示条数切换,上一页,下一页, 跳转到 指定页;


使用说明

 *  import PagesPlugin form 'pages-plugin'
 *  Vue.use(PagesPlugin)
 *  支持国际化(默认中文)
 *  在你的组件中如何使用:  
    使用该插件支持在标签内自定义设置国际化属性(不设置则默认中文文本):  
 *  <pages-plugin :page-count="count" :page-size="pageSize" :call-back="pageChangeCB" :size-array="[10, 20]">
  *   <template slot="rowscount">Show row number(显示行数):</template>
      <template slot="prvpage">Previous page(上一页)</template>
      <template slot="page">Page(页)</template>
      <template slot="total">Total(共)</template>
      <template slot="the">The(第)</template>
      <template slot="goto">Jump to(跳到第)</template>
      <template slot="nextpage">Next page(下一页)</template>
    </pages-plugin>
****

展示效果简述

显示条数 10 20 30 50 上一页 总共x页 第x页 下一页 转到第 | x | 页

github 地址:

源码地址:https://gitee.com/chenzhizhuo/pages-plugin

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago