All Projects → TerryZ → V Region

TerryZ / V Region

Licence: mit
A simple region cascade selector, provide 4 levels Chinese administrative division data

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to V Region

Vue Star Rating
⭐️ A simple, highly customisable star rating component for Vue 2.x. / 3.x
Stars: ✭ 509 (-29.89%)
Mutual labels:  vue2
Vue Blog
A single-user blog built with vue2, koa2 and mongodb which supports Server-Side Rendering
Stars: ✭ 586 (-19.28%)
Mutual labels:  vue2
Vuebar
(🗃️ Archived) Vue 2 directive for custom scrollbar that uses native scroll behavior. Lightweight, performant, customizable and without dependencies. Used successfully in production on https://ggather.com
Stars: ✭ 650 (-10.47%)
Mutual labels:  vue2
Vue Quasar Admin
Vue 2.0 admin-dashboard based on Quasar-Framework
Stars: ✭ 516 (-28.93%)
Mutual labels:  vue2
Vuesax
New Framework Components for Vue.js 2
Stars: ✭ 5,293 (+629.06%)
Mutual labels:  vue2
Istock
👉一个基于spring boot 实现的java股票爬虫(仅支持A股),如果你❤️请⭐️ . V2升级版正在开发中!
Stars: ✭ 622 (-14.33%)
Mutual labels:  vue2
Dashboard
A dashboard scaffolding based on Vue.js 3.0 created by Vite.
Stars: ✭ 497 (-31.54%)
Mutual labels:  vue2
Vue Typer
Vue component that simulates a user typing, selecting, and erasing text.
Stars: ✭ 691 (-4.82%)
Mutual labels:  vue2
Vue Img Inputer
🏞 A graceful image type inputer / uploader
Stars: ✭ 548 (-24.52%)
Mutual labels:  vue2
Blog
前后端分离+服务端渲染的博客系统. 基于Vue2、Koa2、MongoDB、Redis
Stars: ✭ 644 (-11.29%)
Mutual labels:  vue2
Vuetron
A tool for testing and debugging your Vue + Vuex applications. 是一個可以幫助您 Vue.js 的項目測試及偵錯的工具, 也同時支持 Vuex及 Vue-Router.
Stars: ✭ 531 (-26.86%)
Mutual labels:  vue2
Vue Demi
🎩 Creates Universal Library for Vue 2 & 3
Stars: ✭ 544 (-25.07%)
Mutual labels:  vue2
Cordova Template Framework7 Vue Webpack
Framework7 - Vue - Webpack Cordova Template with Webpack Dev Server and Hot Module Replacement
Stars: ✭ 630 (-13.22%)
Mutual labels:  vue2
Stresstestplatform
基于Jmeter实现的在线压测和管理Jmx的平台。
Stars: ✭ 515 (-29.06%)
Mutual labels:  vue2
Vuex I18n
Localization plugin for vue.js 2.0 using vuex as store
Stars: ✭ 657 (-9.5%)
Mutual labels:  vue2
Pixel Web
一个 Vue 微博客户端
Stars: ✭ 500 (-31.13%)
Mutual labels:  vue2
Vue Apollo
🚀 Apollo/GraphQL integration for VueJS
Stars: ✭ 5,529 (+661.57%)
Mutual labels:  vue2
Vuejs Paginate
A Vue.js(v2.x+) component for creating pagination.
Stars: ✭ 697 (-3.99%)
Mutual labels:  vue2
Atui
A Vue.js 2.0 UI Toolkit for Web
Stars: ✭ 674 (-7.16%)
Mutual labels:  vue2
V Mask
🔡 Tiny input mask library for Vue.js (directive)
Stars: ✭ 630 (-13.22%)
Mutual labels:  vue2

v-region

circle ci code coverage npm version npm download JavaScript Style Guide

简洁强大的中国行政区划选择器,可选择 “省/直辖市”、“市”、“区/县”、“乡/镇/街道” 4 级行政区域

A simple region cascade selector for Vue2, provide 4 levels Chinese administrative division data

实例和文档(Examples and Documentation)

请浏览(Explorer on)

要求 Vuejs 版本 2.6.0+

功能特性(Featues)

  • 支持 “省/直辖市”、“市”、“区/县”、“乡/镇/街道” 4级行政区域选择
  • 传统表单多下拉列表(Select)多级联动模式
  • 下拉选择器模式
  • 多列竖排模式选择器模式
  • 下拉选择器模式自带默认呼出按钮,并允许自定义呼出对象(Slot)
  • 纯文本显示模式(指定初始值后)
  • 除省级以外,其它行政区域级别允许通过参数进行“打开/关闭”
  • 完整解决 “直辖市”、“特别行政区” 、 “地级市(直筒子市)” 和 “省辖县/省辖县级市” 的数据和内容的处理

插件预览(Plugin preview)

  • 纯文本显示模式 (plain text view mode)

text

  • 表单元素模式(form element mode)

base

  • 下拉选择器模式(dropdown selector mode)

ui

  • 多列竖排选择器模式 (selector with column group)

column

  • 城市选择器模式 (city picker selector mode)

city-picker

安装插件(Installation)

npm i -S v-region

Include plugin in your main.js file.

import Vue from 'vue'
import vRegion from 'v-region';
Vue.use(vRegion, { global config options });

在页面中使用(Usage)

<template>
  <v-region @values="regionChange"></v-region>
</template>

<script>
export default {
  methods: {
    //receive selected region entries
    regionChange (data) {
      console.log(data)
    }
  }
}
</script>

License

FOSSA Status

Star数趋势(Stargazers over time)

Stargazers over time

数据源(Data Source)

Region data come from repo: mumuy/data_location

数据说明
省、市、区数据来自于民政局、国务院公告、国家统计局,确保及时更新和权威;
街道(镇、乡)数据由于数据庞大,各地各级之前公函较多,无法保证及时有效(最新数据2016年7月31日);
数据是以行政区为单位的行政区划数据。行政管理区与行政区存在重合,不予收录;
(行政管理区通常包含:***经济特区/经济开发区/高新区/新区/工业区;亦有部分行政管理区升为行政区,需加以区分)

依赖(Dependencies)

Vue 插件作品集(Vue plugin series)

Plugin Status Description
v-page npm version A simple pagination bar, including length Menu, i18n support
v-dialogs npm version A simple and powerful dialog, including Modal, Alert, Mask and Toast modes
v-tablegrid npm version A simpler to use and practical datatable
v-uploader npm version A Vue2 plugin to make files upload simple and easier,
you can drag files or select file in dialog to upload
v-ztree npm version A simple tree for Vue2, support single or multiple(check) select tree,
and support server side data
v-gallery npm version A Vue2 plugin make browsing images in gallery
v-region npm version A simple region selector, provide Chinese administrative division data
v-selectpage npm version A powerful selector for Vue2, list or table view of pagination,
use tags for multiple selection, i18n and server side resources supports
v-suggest npm version A Vue2 plugin for input suggestions by autocomplete
v-playback npm version A Vue2 plugin to make video play easier
v-selectmenu npm version A simple, easier and highly customized menu solution
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].