代码拉取完成,页面将自动刷新
基于 Vue2 强大的选择器, 可分页的列表或表格展现形式,
使用标签形式的多选模式, 国际化 i18n 和服务端数据源支持
请浏览
jQuery 版本: SelectPage
If you think this project is helpful, please star it.
Plugin | Status | Description |
---|---|---|
v-page | A simple pagination bar, including length Menu, i18n support | |
v-dialogs | A simple and powerful dialog, including Modal, Alert, Mask and Toast modes | |
v-tablegrid | A simpler to use and practical datatable | |
v-uploader | A Vue2 plugin to make files upload simple and easier, you can drag files or select file in dialog to upload |
|
v-ztree | A simple tree for Vue2, support single or multiple(check) select tree, and support server side data |
|
v-gallery | A Vue2 plugin make browsing images in gallery | |
v-region | A simple region selector, provide Chinese administrative division data | |
v-selectpage | A powerful selector for Vue2, list or table view of pagination, use tags for multiple selection, i18n and server side resources supports |
列表视图单选模式
列表视图使用标签的多选模式
表格视图
npm install v-selectpage --save
在项目入口 main.js
中引入
import Vue from 'vue'
import vSelectPage from 'v-selectpage';
Vue.use(vSelectPage);
template
<template>
<v-selectpage :data="list" key-field="id" show-field="name" class="form-control"></v-selectpage>
</template>
script
export default {
data(){
return {
list: [
{id:1 ,name:'Chicago Bulls',desc:'芝加哥公牛'},
{id:2 ,name:'Cleveland Cavaliers',desc:'克里夫兰骑士'},
{...}
]
}
}
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。