vue.js模仿京东省市区三级联动的选择组件实例代码

前言

在最近的工作中需要一个盒京东购物车地址选择相似的一个省市区三级联动选择组件,google查了下都是下拉框形式的,于是自己写了一个,希望对使用vue开发项目的朋友有帮助,下面话不多说了,来一起看看详细的介绍吧。

显示效果如下:

注意:使用vue2.0开发

实例代码

html代码如下

<!--居住地址三级联动选项-->

<section class="showChose" v-show="showChose">

<section class="address">

<section class="title">

<h4>居住地址</h4>

<span @click="closeAdd()">×</span>

</section>

<section class="title">

<div class="area" @click="provinceSelected()">{{Province?Province:info[province-1].name}}</div>

<div class="area" @click="citySelected()" :class="City?'':'active'">{{City?City:'请选择'}}</div>

<div class="area" @click="districtSelected()" :class="District?'':'active'" v-show="City">{{District?District:'请选择'}}</div>

</section>

<ul>

<li class="addList" v-for="(v,k) in info" @click="getProvinceId(v.id, v.name, k)" v-show="showProvince" :class="v.selected ? 'active' : ''">{{v.name}}</li>

<li class="addList" v-for="(v,k) in showCityList" @click="getCityId(v.id, v.name, k)" v-show="showCity" :class="v.selected ? 'active' : ''">{{v.name}}</li>

<li class="addList" v-for="(v,k) in showDistrictList" @click="getDistrictId(v.id, v.name, k)" v-show="showDistrict" :class="v.selected ? 'active' : ''">{{v.name}}</li>

</ul>

</section>

</section>

js代码:

export default {

name: 'myAddress',

data () {

return {

showChose: false,

showProvince: true,

showCity: false,

showDistrict: false,

showCityList: false,

showDistrictList: false,

province: 5,

city: 3,

district: 57,

GetProvinceId: 2,

District: false,

Province: false,

City: false,

// v-for循环判断是否为当前

selected: false,

info: [

{id: 1, name: '北京', city: [

{id: 1, name: '北京市', district: [

{id: 1, name: '东城区'},

{id: 2, name: '西城区'},

{id: 3, name: '崇文区'},

{id: 4, name: '宣武区'},

{id: 5, name: '朝阳区'},

{id: 6, name: '丰台区'},

{id: 7, name: '石景山区'},

{id: 8, name: '海淀区'},

{id: 9, name: '门头沟区'},

{id: 10, name: '房山区'},

{id: 11, name: '通州区'},

{id: 12, name: '顺义区'},

{id: 13, name: '昌平区'},

{id: 14, name: '大兴区'},

{id: 15, name: '怀柔区'},

{id: 16, name: '平谷区'},

{id: 17, name: '密云县'},

{id: 18, name: '延庆县'}

]}

]},

{id: 2, name: '天津', city: [

{id: 2, name: '天津市', district: [

{id: 19, name: '和平区'},

{id: 20, name: '河东区'},

{id: 21, name: '河西区'},

{id: 22, name: '南开区'},

{id: 23, name: '河北区'},

{id: 24, name: '红桥区'},

{id: 25, name: '塘沽区'},

{id: 26, name: '汉沽区'},

{id: 27, name: '大港区'},

{id: 28, name: '东丽区'},

{id: 29, name: '西青区'},

{id: 30, name: '津南区'},

{id: 31, name: '北辰区'},

{id: 32, name: '武清区'},

{id: 33, name: '宝坻区'},

{id: 34, name: '宁河县'},

{id: 35, name: '静海县'},

{id: 36, name: '蓟县'}

]}

]},

{id: 3, name: '河北', city: [

{id: 3, name: '石家庄市', district: [

{id: 37, name: '长安区'},

{id: 38, name: '桥东区'},

{id: 39, name: '桥西区'},

{id: 40, name: '新华区'},

{id: 41, name: '井陉矿区'},

{id: 42, name: '裕华区'},

{id: 43, name: '井陉县'},

{id: 44, name: '正定县'},

{id: 45, name: '栾城县'},

{id: 46, name: '行唐县'},

{id: 47, name: '灵寿县'},

{id: 48, name: '高邑县'},

{id: 49, name: '深泽县'},

{id: 50, name: '赞皇县'},

{id: 51, name: '无极县'},

{id: 52, name: '平山县'},

{id: 53, name: '元氏县'},

{id: 54, name: '赵县'},

{id: 55, name: '辛集市'},

{id: 56, name: '藁城市'},

{id: 57, name: '晋州市'},

{id: 58, name: '新乐市'},

{id: 59, name: '鹿泉市'}

]},

{id: 4, name: '唐山市', district: [

{id: 60, name: '路南区'},

{id: 61, name: '路北区'},

{id: 62, name: '古冶区'},

{id: 63, name: '开平区'},

{id: 64, name: '丰南区'},

{id: 65, name: '丰润区'},

{id: 66, name: '滦县'},

{id: 67, name: '滦南县'},

{id: 68, name: '乐亭县'},

{id: 69, name: '迁西县'},

{id: 70, name: '玉田县'},

{id: 71, name: '唐海县'},

{id: 72, name: '遵化市'},

{id: 73, name: '迁安市'}

]},

{id: 5, name: '秦皇岛市', district: [

{id: 74, name: '海港区'},

{id: 75, name: '山海关区'},

{id: 76, name: '北戴河区'},

{id: 77, name: '青龙满族自治县'},

{id: 78, name: '昌黎县'},

{id: 79, name: '抚宁县'},

{id: 80, name: '卢龙县'}

]},

{id: 6, name: '邯郸市', district: [

{id: 81, name: '邯山区'},

{id: 82, name: '丛台区'},

{id: 83, name: '复兴区'},

{id: 84, name: '峰峰矿区'},

{id: 85, name: '邯郸县'},

{id: 86, name: '临漳县'},

{id: 87, name: '成安县'},

{id: 88, name: '大名县'},

{id: 89, name: '涉县'},

{id: 90, name: '磁县'},

{id: 91, name: '肥乡县'},

{id: 92, name: '永年县'},

{id: 93, name: '邱县'},

{id: 94, name: '鸡泽县'},

{id: 95, name: '广平县'},

{id: 96, name: '馆陶县'},

{id: 97, name: '魏县'},

{id: 98, name: '曲周县'},

{id: 99, name: '武安市'}

]},

{id: 7, name: '邢台市', district: [

{id: 100, name: '桥东区'},

{id: 101, name: '桥西区'},

{id: 102, name: '邢台县'},

{id: 103, name: '临城县'},

{id: 104, name: '内丘县'},

{id: 105, name: '柏乡县'},

{id: 106, name: '隆尧县'},

{id: 107, name: '任县'},

{id: 108, name: '南和县'},

{id: 109, name: '宁晋县'},

{id: 110, name: '巨鹿县'},

{id: 111, name: '新河县'},

{id: 112, name: '广宗县'},

{id: 113, name: '平乡县'},

{id: 114, name: '威县'},

{id: 115, name: '清河县'},

{id: 116, name: '临西县'},

{id: 117, name: '南宫市'},

{id: 118, name: '沙河市'}

]},

{id: 8, name: '保定市', district: [

{id: 119, name: '新市区'},

{id: 120, name: '北市区'},

{id: 121, name: '南市区'},

{id: 122, name: '满城县'},

{id: 123, name: '清苑县'},

{id: 124, name: '涞水县'},

{id: 125, name: '阜平县'},

{id: 126, name: '徐水县'},

{id: 127, name: '定兴县'},

{id: 128, name: '唐县'},

{id: 129, name: '高阳县'},

{id: 130, name: '容城县'},

{id: 131, name: '涞源县'},

{id: 132, name: '望都县'},

{id: 133, name: '安新县'},

{id: 134, name: '易县'},

{id: 135, name: '曲阳县'},

{id: 136, name: '蠡县'},

{id: 137, name: '顺平县'},

{id: 138, name: '博野县'},

{id: 139, name: '雄县'},

{id: 140, name: '涿州市'},

{id: 141, name: '定州市'},

{id: 142, name: '安国市'},

{id: 143, name: '高碑店市'}

]},

{id: 9, name: '张家口市', district: [

{id: 144, name: '桥东区'},

{id: 145, name: '桥西区'},

{id: 146, name: '宣化区'},

{id: 147, name: '下花园区'},

{id: 148, name: '宣化县'},

{id: 149, name: '张北县'},

{id: 150, name: '康保县'},

{id: 151, name: '沽源县'},

{id: 152, name: '尚义县'},

{id: 153, name: '蔚县'},

{id: 154, name: '阳原县'},

{id: 155, name: '怀安县'},

{id: 156, name: '万全县'},

{id: 157, name: '怀来县'},

{id: 158, name: '涿鹿县'},

{id: 159, name: '赤城县'},

{id: 160, name: '崇礼县'}

]},

{id: 10, name: '承德市', district: [

{id: 161, name: '双桥区'},

{id: 162, name: '双滦区'},

{id: 163, name: '鹰手营子矿区'},

{id: 164, name: '承德县'},

{id: 165, name: '兴隆县'},

{id: 166, name: '平泉县'},

{id: 167, name: '滦平县'},

{id: 168, name: '隆化县'},

{id: 169, name: '丰宁满族自治县'},

{id: 170, name: '宽城满族自治县'},

{id: 171, name: '围场满族蒙古族自治县'}

]},

{id: 11, name: '沧州市', district: [

{id: 172, name: '新华区'},

{id: 173, name: '运河区'},

{id: 174, name: '沧县'},

{id: 175, name: '青县'},

{id: 176, name: '东光县'},

{id: 177, name: '海兴县'},

{id: 178, name: '盐山县'},

{id: 179, name: '肃宁县'},

{id: 180, name: '南皮县'},

{id: 181, name: '吴桥县'},

{id: 182, name: '献县'},

{id: 183, name: '孟村回族自治县'},

{id: 184, name: '泊头市'},

{id: 185, name: '任丘市'},

{id: 186, name: '黄骅市'},

{id: 187, name: '河间市'}

]},

{id: 12, name: '廊坊市', district: [

{id: 188, name: '安次区'},

{id: 189, name: '广阳区'},

{id: 190, name: '固安县'},

{id: 191, name: '永清县'},

{id: 192, name: '香河县'},

{id: 193, name: '大城县'},

{id: 194, name: '文安县'},

{id: 195, name: '大厂回族自治县'},

{id: 196, name: '霸州市'},

{id: 197, name: '三河市'}

]},

{id: 13, name: '衡水市', district: [

{id: 198, name: '桃城区'},

{id: 199, name: '枣强县'},

{id: 200, name: '武邑县'},

{id: 201, name: '武强县'},

{id: 202, name: '饶阳县'},

{id: 203, name: '安平县'},

{id: 204, name: '故城县'},

{id: 205, name: '景县'},

{id: 206, name: '阜城县'},

{id: 207, name: '冀州市'},

{id: 208, name: '深州市'}

]}

]},

{id: 4, name: '山西', city: [

{id: 14, name: '太原市', district: [

{id: 209, name: '小店区'},

{id: 210, name: '迎泽区'},

{id: 211, name: '杏花岭区'},

{id: 212, name: '尖草坪区'},

{id: 213, name: '万柏林区'},

{id: 214, name: '晋源区'},

{id: 215, name: '清徐县'},

{id: 216, name: '阳曲县'},

{id: 217, name: '娄烦县'},

{id: 218, name: '古交市'}

]},

{id: 15, name: '大同市', district: [

{id: 219, name: '城区'},

{id: 220, name: '矿区'},

{id: 221, name: '南郊区'},

{id: 222, name: '新荣区'},

{id: 223, name: '阳高县'},

{id: 224, name: '天镇县'},

{id: 225, name: '广灵县'},

{id: 226, name: '灵丘县'},

{id: 227, name: '浑源县'},

{id: 228, name: '左云县'},

{id: 229, name: '大同县'}

]},

{id: 16, name: '阳泉市', district: [

{id: 230, name: '城区'},

{id: 231, name: '矿区'},

{id: 232, name: '郊区'},

{id: 233, name: '平定县'},

{id: 234, name: '盂县'}

]},

{id: 17, name: '长治市', district: [

{id: 235, name: '城区'},

{id: 236, name: '郊区'},

{id: 237, name: '长治县'},

{id: 238, name: '襄垣县'},

{id: 239, name: '屯留县'},

{id: 240, name: '平顺县'},

{id: 241, name: '黎城县'},

{id: 242, name: '壶关县'},

{id: 243, name: '长子县'},

{id: 244, name: '武乡县'},

{id: 245, name: '沁县'},

{id: 246, name: '沁源县'},

{id: 247, name: '潞城市'}

]},

{id: 18, name: '晋城市', district: [

{id: 248, name: '城区'},

{id: 249, name: '沁水县'},

{id: 250, name: '阳城县'},

{id: 251, name: '陵川县'},

{id: 252, name: '泽州县'},

{id: 253, name: '高平市'}

]},

{id: 19, name: '朔州市', district: [

{id: 254, name: '朔城区'},

{id: 255, name: '平鲁区'},

{id: 256, name: '山阴县'},

{id: 257, name: '应县'},

{id: 258, name: '右玉县'},

{id: 259, name: '怀仁县'}

]},

{id: 20, name: '晋中市', district: [

{id: 260, name: '榆次区'},

{id: 261, name: '榆社县'},

{id: 262, name: '左权县'},

{id: 263, name: '和顺县'},

{id: 264, name: '昔阳县'},

{id: 265, name: '寿阳县'},

{id: 266, name: '太谷县'},

{id: 267, name: '祁县'},

{id: 268, name: '平遥县'},

{id: 269, name: '灵石县'},

{id: 270, name: '介休市'}

]},

{id: 21, name: '运城市', district: [

{id: 271, name: '盐湖区'},

{id: 272, name: '临猗县'},

{id: 273, name: '万荣县'},

{id: 274, name: '闻喜县'},

{id: 275, name: '稷山县'},

{id: 276, name: '新绛县'},

{id: 277, name: '绛县'},

{id: 278, name: '垣曲县'},

{id: 279, name: '夏县'},

{id: 280, name: '平陆县'},

{id: 281, name: '芮城县'},

{id: 282, name: '永济市'},

{id: 283, name: '河津市'}

]},

{id: 22, name: '忻州市', district: [

{id: 284, name: '忻府区'},

{id: 285, name: '定襄县'},

{id: 286, name: '五台县'},

{id: 287, name: '代县'},

{id: 288, name: '繁峙县'},

{id: 289, name: '宁武县'},

{id: 290, name: '静乐县'},

{id: 291, name: '神池县'},

{id: 292, name: '五寨县'},

{id: 293, name: '岢岚县'},

{id: 294, name: '河曲县'},

{id: 295, name: '保德县'},

{id: 296, name: '偏关县'},

{id: 297, name: '原平市'}

]},

{id: 23, name: '临汾市', district: [

{id: 298, name: '尧都区'},

{id: 299, name: '曲沃县'},

{id: 300, name: '翼城县'},

{id: 301, name: '襄汾县'},

{id: 302, name: '洪洞县'},

{id: 303, name: '古县'},

{id: 304, name: '安泽县'},

{id: 305, name: '浮山县'},

{id: 306, name: '吉县'},

{id: 307, name: '乡宁县'},

{id: 308, name: '大宁县'},

{id: 309, name: '隰县'},

{id: 310, name: '永和县'},

{id: 311, name: '蒲县'},

{id: 312, name: '汾西县'},

{id: 313, name: '侯马市'},

{id: 314, name: '霍州市'}

]},

{id: 24, name: '吕梁市', district: [

{id: 315, name: '离石区'},

{id: 316, name: '文水县'},

{id: 317, name: '交城县'},

{id: 318, name: '兴县'},

{id: 319, name: '临县'},

{id: 320, name: '柳林县'},

{id: 321, name: '石楼县'},

{id: 322, name: '岚县'},

{id: 323, name: '方山县'},

{id: 324, name: '中阳县'},

{id: 325, name: '交口县'},

{id: 326, name: '孝义市'},

{id: 327, name: '汾阳市'}

]}

]},

{id: 5, name: '内蒙古', city: [

{id: 25, name: '呼和浩特市', district: [

{id: 328, name: '新城区'},

{id: 329, name: '回民区'},

{id: 330, name: '玉泉区'},

{id: 331, name: '赛罕区'},

{id: 332, name: '土默特左旗'},

{id: 333, name: '托克托县'},

{id: 334, name: '和林格尔县'},

{id: 335, name: '清水河县'},

{id: 336, name: '武川县'}

]},

{id: 26, name: '包头市', district: [

{id: 337, name: '东河区'},

{id: 338, name: '昆都仑区'},

{id: 339, name: '青山区'},

{id: 340, name: '石拐区'},

{id: 341, name: '白云矿区'},

{id: 342, name: '九原区'},

{id: 343, name: '土默特右旗'},

{id: 344, name: '固阳县'},

{id: 345, name: '达尔罕茂明安联合旗'}

]},

{id: 27, name: '乌海市', district: [

{id: 346, name: '海勃湾区'},

{id: 347, name: '海南区'},

{id: 348, name: '乌达区'}

]},

{id: 28, name: '赤峰市', district: [

{id: 349, name: '红山区'},

{id: 350, name: '元宝山区'},

{id: 351, name: '松山区'},

{id: 352, name: '阿鲁科尔沁旗'},

{id: 353, name: '巴林左旗'},

{id: 354, name: '巴林右旗'},

{id: 355, name: '林西县'},

{id: 356, name: '克什克腾旗'},

{id: 357, name: '翁牛特旗'},

{id: 358, name: '喀喇沁旗'},

{id: 359, name: '宁城县'},

{id: 360, name: '敖汉旗'}

]},

{id: 29, name: '通辽市', district: [

{id: 361, name: '科尔沁区'},

{id: 362, name: '科尔沁左翼中旗'},

{id: 363, name: '科尔沁左翼后旗'},

{id: 364, name: '开鲁县'},

{id: 365, name: '库伦旗'},

{id: 366, name: '奈曼旗'},

{id: 367, name: '扎鲁特旗'},

{id: 368, name: '霍林郭勒市'}

]},

{id: 30, name: '鄂尔多斯市', district: [

{id: 369, name: '东胜区'},

{id: 370, name: '达拉特旗'},

{id: 371, name: '准格尔旗'},

{id: 372, name: '鄂托克前旗'},

{id: 373, name: '鄂托克旗'},

{id: 374, name: '杭锦旗'},

{id: 375, name: '乌审旗'},

{id: 376, name: '伊金霍洛旗'}

]},

{id: 31, name: '呼伦贝尔市', district: [

{id: 377, name: '海拉尔区'},

{id: 378, name: '阿荣旗'},

{id: 379, name: '莫力达瓦达斡尔族自治旗'},

{id: 380, name: '鄂伦春自治旗'},

{id: 381, name: '鄂温克族自治旗'},

{id: 382, name: '陈巴尔虎旗'},

{id: 383, name: '新巴尔虎左旗'},

{id: 384, name: '新巴尔虎右旗'},

{id: 385, name: '满洲里市'},

{id: 386, name: '牙克石市'},

{id: 387, name: '扎兰屯市'},

{id: 388, name: '额尔古纳市'},

{id: 389, name: '根河市'}

]},

{id: 32, name: '巴彦淖尔市', district: [

{id: 390, name: '临河区'},

{id: 391, name: '五原县'},

{id: 392, name: '磴口县'},

{id: 393, name: '乌拉特前旗'},

{id: 394, name: '乌拉特中旗'},

{id: 395, name: '乌拉特后旗'},

{id: 396, name: '杭锦后旗'}

]},

{id: 33, name: '乌兰察布市', district: [

{id: 397, name: '集宁区'},

{id: 398, name: '卓资县'},

{id: 399, name: '化德县'},

{id: 400, name: '商都县'},

{id: 401, name: '兴和县'},

{id: 402, name: '凉城县'},

{id: 403, name: '察哈尔右翼前旗'},

{id: 404, name: '察哈尔右翼中旗'},

{id: 405, name: '察哈尔右翼后旗'},

{id: 406, name: '四子王旗'},

{id: 407, name: '丰镇市'}

]},

{id: 34, name: '兴安盟', district: [

{id: 408, name: '乌兰浩特市'},

{id: 409, name: '阿尔山市'},

{id: 410, name: '科尔沁右翼前旗'},

{id: 411, name: '科尔沁右翼中旗'},

{id: 412, name: '扎赉特旗'},

{id: 413, name: '突泉县'}

]},

{id: 35, name: '锡林郭勒盟', district: [

{id: 414, name: '二连浩特市'},

{id: 415, name: '锡林浩特市'},

{id: 416, name: '阿巴嘎旗'},

{id: 417, name: '苏尼特左旗'},

{id: 418, name: '苏尼特右旗'},

{id: 419, name: '东乌珠穆沁旗'},

{id: 420, name: '西乌珠穆沁旗'},

{id: 421, name: '太仆寺旗'},

{id: 422, name: '镶黄旗'},

{id: 423, name: '正镶白旗'},

{id: 424, name: '正蓝旗'},

{id: 425, name: '多伦县'}

]},

{id: 36, name: '阿拉善盟', district: [

{id: 426, name: '阿拉善左旗'},

{id: 427, name: '阿拉善右旗'},

{id: 428, name: '额济纳旗'}

]}

]},

{id: 6, name: '辽宁', city: [

{id: 37, name: '沈阳市', district: [

{id: 429, name: '和平区'},

{id: 430, name: '沈河区'},

{id: 431, name: '大东区'},

{id: 432, name: '皇姑区'},

{id: 433, name: '铁西区'},

{id: 434, name: '苏家屯区'},

{id: 435, name: '东陵区'},

{id: 436, name: '新城子区'},

{id: 437, name: '于洪区'},

{id: 438, name: '辽中县'},

{id: 439, name: '康平县'},

{id: 440, name: '法库县'},

{id: 441, name: '新民市'}

]},

{id: 38, name: '大连市', district: [

{id: 442, name: '中山区'},

{id: 443, name: '西岗区'},

{id: 444, name: '沙河口区'},

{id: 445, name: '甘井子区'},

{id: 446, name: '旅顺口区'},

{id: 447, name: '金州区'},

{id: 448, name: '长海县'},

{id: 449, name: '瓦房店市'},

{id: 450, name: '普兰店市'},

{id: 451, name: '庄河市'}

]},

{id: 39, name: '鞍山市', district: [

{id: 452, name: '铁东区'},

{id: 453, name: '铁西区'},

{id: 454, name: '立山区'},

{id: 455, name: '千山区'},

{id: 456, name: '台安县'},

{id: 457, name: '岫岩满族自治县'},

{id: 458, name: '海城市'}

]},

{id: 40, name: '抚顺市', district: [

{id: 459, name: '新抚区'},

{id: 460, name: '东洲区'},

{id: 461, name: '望花区'},

{id: 462, name: '顺城区'},

{id: 463, name: '抚顺县'},

{id: 464, name: '新宾满族自治县'},

{id: 465, name: '清原满族自治县'}

]},

{id: 41, name: '本溪市', district: [

{id: 466, name: '平山区'},

{id: 467, name: '溪湖区'},

{id: 468, name: '明山区'},

{id: 469, name: '南芬区'},

{id: 470, name: '本溪满族自治县'},

{id: 471, name: '桓仁满族自治县'}

]},

{id: 42, name: '丹东市', district: [

{id: 472, name: '元宝区'},

{id: 473, name: '振兴区'},

{id: 474, name: '振安区'},

{id: 475, name: '宽甸满族自治县'},

{id: 476, name: '东港市'},

{id: 477, name: '凤城市'}

]},

{id: 43, name: '锦州市', district: [

{id: 478, name: '古塔区'},

{id: 479, name: '凌河区'},

{id: 480, name: '太和区'},

{id: 481, name: '黑山县'},

{id: 482, name: '义县'},

{id: 483, name: '凌海市'},

{id: 484, name: '北宁市'}

]},

{id: 44, name: '营口市', district: [

{id: 485, name: '站前区'},

{id: 486, name: '西市区'},

{id: 487, name: '鲅鱼圈区'},

{id: 488, name: '老边区'},

{id: 489, name: '盖州市'},

{id: 490, name: '大石桥市'}

]},

{id: 45, name: '阜新市', district: [

{id: 491, name: '海州区'},

{id: 492, name: '新邱区'},

{id: 493, name: '太平区'},

{id: 494, name: '清河门区'},

{id: 495, name: '细河区'},

{id: 496, name: '阜新蒙古族自治县'},

{id: 497, name: '彰武县'}

]},

{id: 46, name: '辽阳市', district: [

{id: 498, name: '白塔区'},

{id: 499, name: '文圣区'},

{id: 500, name: '宏伟区'},

{id: 501, name: '弓长岭区'},

{id: 502, name: '太子河区'},

{id: 503, name: '辽阳县'},

{id: 504, name: '灯塔市'}

]},

{id: 47, name: '盘锦市', district: [

{id: 505, name: '双台子区'},

{id: 506, name: '兴隆台区'},

{id: 507, name: '大洼县'},

{id: 508, name: '盘山县'}

]},

{id: 48, name: '铁岭市', district: [

{id: 509, name: '银州区'},

{id: 510, name: '清河区'},

{id: 511, name: '铁岭县'},

{id: 512, name: '西丰县'},

{id: 513, name: '昌图县'},

{id: 514, name: '调兵山市'},

{id: 515, name: '开原市'}

]},

{id: 49, name: '朝阳市', district: [

{id: 516, name: '双塔区'},

{id: 517, name: '龙城区'},

{id: 518, name: '朝阳县'},

{id: 519, name: '建平县'},

{id: 520, name: '喀喇沁左翼蒙古族自治县'},

{id: 521, name: '北票市'},

{id: 522, name: '凌源市'}

]},

{id: 50, name: '葫芦岛市', district: [

{id: 523, name: '连山区'},

{id: 524, name: '龙港区'},

{id: 525, name: '南票区'},

{id: 526, name: '绥中县'},

{id: 527, name: '建昌县'},

{id: 528, name: '兴城市'}

]}

]},

{id: 7, name: '吉林', city: [

{id: 51, name: '长春市', district: [

{id: 529, name: '南关区'},

{id: 530, name: '宽城区'},

{id: 531, name: '朝阳区'},

{id: 532, name: '二道区'},

{id: 533, name: '绿园区'},

{id: 534, name: '双阳区'},

{id: 535, name: '农安县'},

{id: 536, name: '九台市'},

{id: 537, name: '榆树市'},

{id: 538, name: '德惠市'}

]},

{id: 52, name: '吉林市', district: [

{id: 539, name: '昌邑区'},

{id: 540, name: '龙潭区'},

{id: 541, name: '船营区'},

{id: 542, name: '丰满区'},

{id: 543, name: '永吉县'},

{id: 544, name: '蛟河市'},

{id: 545, name: '桦甸市'},

{id: 546, name: '舒兰市'},

{id: 547, name: '磐石市'}

]},

{id: 53, name: '四平市', district: [

{id: 548, name: '铁西区'},

{id: 549, name: '铁东区'},

{id: 550, name: '梨树县'},

{id: 551, name: '伊通满族自治县'},

{id: 552, name: '公主岭市'},

{id: 553, name: '双辽市'}

]},

{id: 54, name: '辽源市', district: [

{id: 554, name: '龙山区'},

{id: 555, name: '西安区'},

{id: 556, name: '东丰县'},

{id: 557, name: '东辽县'}

]},

{id: 55, name: '通化市', district: [

{id: 558, name: '东昌区'},

{id: 559, name: '二道江区'},

{id: 560, name: '通化县'},

{id: 561, name: '辉南县'},

{id: 562, name: '柳河县'},

{id: 563, name: '梅河口市'},

{id: 564, name: '集安市'}

]},

{id: 56, name: '白山市', district: [

{id: 565, name: '八道江区'},

{id: 566, name: '抚松县'},

{id: 567, name: '靖宇县'},

{id: 568, name: '长白朝鲜族自治县'},

{id: 569, name: '江源县'},

{id: 570, name: '临江市'}

]},

{id: 57, name: '松原市', district: [

{id: 571, name: '宁江区'},

{id: 572, name: '前郭尔罗斯蒙古族自治县'},

{id: 573, name: '长岭县'},

{id: 574, name: '乾安县'},

{id: 575, name: '扶余县'}

]},

{id: 58, name: '白城市', district: [

{id: 576, name: '洮北区'},

{id: 577, name: '镇赉县'},

{id: 578, name: '通榆县'},

{id: 579, name: '洮南市'},

{id: 580, name: '大安市'}

]},

{id: 59, name: '延边', district: [

{id: 581, name: '延吉市'},

{id: 582, name: '图们市'},

{id: 583, name: '敦化市'},

{id: 584, name: '珲春市'},

{id: 585, name: '龙井市'},

{id: 586, name: '和龙市'},

{id: 587, name: '汪清县'},

{id: 588, name: '安图县'}

]}

]},

{id: 8, name: '黑龙江', city: [

{id: 60, name: '哈尔滨市', district: [

{id: 589, name: '道里区'},

{id: 590, name: '南岗区'},

{id: 591, name: '道外区'},

{id: 592, name: '香坊区'},

{id: 593, name: '动力区'},

{id: 594, name: '平房区'},

{id: 595, name: '松北区'},

{id: 596, name: '呼兰区'},

{id: 597, name: '依兰县'},

{id: 598, name: '方正县'},

{id: 599, name: '宾县'},

{id: 600, name: '巴彦县'},

{id: 601, name: '木兰县'},

{id: 602, name: '通河县'},

{id: 603, name: '延寿县'},

{id: 604, name: '阿城市'},

{id: 605, name: '双城市'},

{id: 606, name: '尚志市'},

{id: 607, name: '五常市'}

]},

{id: 61, name: '齐齐哈尔市', district: [

{id: 608, name: '龙沙区'},

{id: 609, name: '建华区'},

{id: 610, name: '铁锋区'},

{id: 611, name: '昂昂溪区'},

{id: 612, name: '富拉尔基区'},

{id: 613, name: '碾子山区'},

{id: 614, name: '梅里斯达斡尔族区'},

{id: 615, name: '龙江县'},

{id: 616, name: '依安县'},

{id: 617, name: '泰来县'},

{id: 618, name: '甘南县'},

{id: 619, name: '富裕县'},

{id: 620, name: '克山县'},

{id: 621, name: '克东县'},

{id: 622, name: '拜泉县'},

{id: 623, name: '讷河市'}

]},

{id: 62, name: '鸡西市', district: [

{id: 624, name: '鸡冠区'},

{id: 625, name: '恒山区'},

{id: 626, name: '滴道区'},

{id: 627, name: '梨树区'},

{id: 628, name: '城子河区'},

{id: 629, name: '麻山区'},

{id: 630, name: '鸡东县'},

{id: 631, name: '虎林市'},

{id: 632, name: '密山市'}

]},

{id: 63, name: '鹤岗市', district: [

{id: 633, name: '向阳区'},

{id: 634, name: '工农区'},

{id: 635, name: '南山区'},

{id: 636, name: '兴安区'},

{id: 637, name: '东山区'},

{id: 638, name: '兴山区'},

{id: 639, name: '萝北县'},

{id: 640, name: '绥滨县'}

]},

{id: 64, name: '双鸭山市', district: [

{id: 641, name: '尖山区'},

{id: 642, name: '岭东区'},

{id: 643, name: '四方台区'},

{id: 644, name: '宝山区'},

{id: 645, name: '集贤县'},

{id: 646, name: '友谊县'},

{id: 647, name: '宝清县'},

{id: 648, name: '饶河县'}

]},

{id: 65, name: '大庆市', district: [

{id: 649, name: '萨尔图区'},

{id: 650, name: '龙凤区'},

{id: 651, name: '让胡路区'},

{id: 652, name: '红岗区'},

{id: 653, name: '大同区'},

{id: 654, name: '肇州县'},

{id: 655, name: '肇源县'},

{id: 656, name: '林甸县'},

{id: 657, name: '杜尔伯特蒙古族自治县'}

]},

{id: 66, name: '伊春市', district: [

{id: 658, name: '伊春区'},

{id: 659, name: '南岔区'},

{id: 660, name: '友好区'},

{id: 661, name: '西林区'},

{id: 662, name: '翠峦区'},

{id: 663, name: '新青区'},

{id: 664, name: '美溪区'},

{id: 665, name: '金山屯区'},

{id: 666, name: '五营区'},

{id: 667, name: '乌马河区'},

{id: 668, name: '汤旺河区'},

{id: 669, name: '带岭区'},

{id: 670, name: '乌伊岭区'},

{id: 671, name: '红星区'},

{id: 672, name: '上甘岭区'},

{id: 673, name: '嘉荫县'},

{id: 674, name: '铁力市'}

]},

{id: 67, name: '佳木斯市', district: [

{id: 675, name: '永红区'},

{id: 676, name: '向阳区'},

{id: 677, name: '前进区'},

{id: 678, name: '东风区'},

{id: 679, name: '郊区'},

{id: 680, name: '桦南县'},

{id: 681, name: '桦川县'},

{id: 682, name: '汤原县'},

{id: 683, name: '抚远县'},

{id: 684, name: '同江市'},

{id: 685, name: '富锦市'}

]},

{id: 68, name: '七台河市', district: [

{id: 686, name: '新兴区'},

{id: 687, name: '桃山区'},

{id: 688, name: '茄子河区'},

{id: 689, name: '勃利县'}

]},

{id: 69, name: '牡丹江市', district: [

{id: 690, name: '东安区'},

{id: 691, name: '阳明区'},

{id: 692, name: '爱民区'},

{id: 693, name: '西安区'},

{id: 694, name: '东宁县'},

{id: 695, name: '林口县'},

{id: 696, name: '绥芬河市'},

{id: 697, name: '海林市'},

{id: 698, name: '宁安市'},

{id: 699, name: '穆棱市'}

]},

{id: 70, name: '黑河市', district: [

{id: 700, name: '爱辉区'},

{id: 701, name: '嫩江县'},

{id: 702, name: '逊克县'},

{id: 703, name: '孙吴县'},

{id: 704, name: '北安市'},

{id: 705, name: '五大连池市'}

]},

{id: 71, name: '绥化市', district: [

{id: 706, name: '北林区'},

{id: 707, name: '望奎县'},

{id: 708, name: '兰西县'},

{id: 709, name: '青冈县'},

{id: 710, name: '庆安县'},

{id: 711, name: '明水县'},

{id: 712, name: '绥棱县'},

{id: 713, name: '安达市'},

{id: 714, name: '肇东市'},

{id: 715, name: '海伦市'}

]},

{id: 72, name: '大兴安岭地区', district: [

{id: 716, name: '呼玛县'},

{id: 717, name: '塔河县'},

{id: 718, name: '漠河县'}

]}

]},

{id: 9, name: '上海', city: [

{id: 73, name: '上海市', district: [

{id: 719, name: '黄浦区'},

{id: 720, name: '卢湾区'},

{id: 721, name: '徐汇区'},

{id: 722, name: '长宁区'},

{id: 723, name: '静安区'},

{id: 724, name: '普陀区'},

{id: 725, name: '闸北区'},

{id: 726, name: '虹口区'},

{id: 727, name: '杨浦区'},

{id: 728, name: '闵行区'},

{id: 729, name: '宝山区'},

{id: 730, name: '嘉定区'},

{id: 731, name: '浦东新区'},

{id: 732, name: '金山区'},

{id: 733, name: '松江区'},

{id: 734, name: '青浦区'},

{id: 735, name: '南汇区'},

{id: 736, name: '奉贤区'},

{id: 737, name: '崇明县'}

]}

]},

{id: 10, name: '江苏', city: [

{id: 74, name: '南京市', district: [

{id: 738, name: '玄武区'},

{id: 739, name: '白下区'},

{id: 740, name: '秦淮区'},

{id: 741, name: '建邺区'},

{id: 742, name: '鼓楼区'},

{id: 743, name: '下关区'},

{id: 744, name: '浦口区'},

{id: 745, name: '栖霞区'},

{id: 746, name: '雨花台区'},

{id: 747, name: '江宁区'},

{id: 748, name: '六合区'},

{id: 749, name: '溧水县'},

{id: 750, name: '高淳县'}

]},

{id: 75, name: '无锡市', district: [

{id: 751, name: '崇安区'},

{id: 752, name: '南长区'},

{id: 753, name: '北塘区'},

{id: 754, name: '锡山区'},

{id: 755, name: '惠山区'},

{id: 756, name: '滨湖区'},

{id: 757, name: '江阴市'},

{id: 758, name: '宜兴市'}

]},

{id: 76, name: '徐州市', district: [

{id: 759, name: '鼓楼区'},

{id: 760, name: '云龙区'},

{id: 761, name: '九里区'},

{id: 762, name: '贾汪区'},

{id: 763, name: '泉山区'},

{id: 764, name: '丰县'},

{id: 765, name: '沛县'},

{id: 766, name: '铜山县'},

{id: 767, name: '睢宁县'},

{id: 768, name: '新沂市'},

{id: 769, name: '邳州市'}

]},

{id: 77, name: '常州市', district: [

{id: 770, name: '天宁区'},

{id: 771, name: '钟楼区'},

{id: 772, name: '戚墅堰区'},

{id: 773, name: '新北区'},

{id: 774, name: '武进区'},

{id: 775, name: '溧阳市'},

{id: 776, name: '金坛市'}

]},

{id: 78, name: '苏州市', district: [

{id: 777, name: '沧浪区'},

{id: 778, name: '平江区'},

{id: 779, name: '金阊区'},

{id: 780, name: '虎丘区'},

{id: 781, name: '吴中区'},

{id: 782, name: '相城区'},

{id: 783, name: '常熟市'},

{id: 784, name: '张家港市'},

{id: 785, name: '昆山市'},

{id: 786, name: '吴江市'},

{id: 787, name: '太仓市'}

]},

{id: 79, name: '南通市', district: [

{id: 788, name: '崇川区'},

{id: 789, name: '港闸区'},

{id: 790, name: '海安县'},

{id: 791, name: '如东县'},

{id: 792, name: '启东市'},

{id: 793, name: '如皋市'},

{id: 794, name: '通州市'},

{id: 795, name: '海门市'}

]},

{id: 80, name: '连云港市', district: [

{id: 796, name: '连云区'},

{id: 797, name: '新浦区'},

{id: 798, name: '海州区'},

{id: 799, name: '赣榆县'},

{id: 800, name: '东海县'},

{id: 801, name: '灌云县'},

{id: 802, name: '灌南县'}

]},

{id: 81, name: '淮安市', district: [

{id: 803, name: '清河区'},

{id: 804, name: '楚州区'},

{id: 805, name: '淮阴区'},

{id: 806, name: '清浦区'},

{id: 807, name: '涟水县'},

{id: 808, name: '洪泽县'},

{id: 809, name: '盱眙县'},

{id: 810, name: '金湖县'}

]},

{id: 82, name: '盐城市', district: [

{id: 811, name: '亭湖区'},

{id: 812, name: '盐都区'},

{id: 813, name: '响水县'},

{id: 814, name: '滨海县'},

{id: 815, name: '阜宁县'},

{id: 816, name: '射阳县'},

{id: 817, name: '建湖县'},

{id: 818, name: '东台市'},

{id: 819, name: '大丰市'}

]},

{id: 83, name: '扬州市', district: [

{id: 820, name: '广陵区'},

{id: 821, name: '邗江区'},

{id: 822, name: '维扬区'},

{id: 823, name: '宝应县'},

{id: 824, name: '仪征市'},

{id: 825, name: '高邮市'},

{id: 826, name: '江都市'}

]},

{id: 84, name: '镇江市', district: [

{id: 827, name: '京口区'},

{id: 828, name: '润州区'},

{id: 829, name: '丹徒区'},

{id: 830, name: '丹阳市'},

{id: 831, name: '扬中市'},

{id: 832, name: '句容市'}

]},

{id: 85, name: '泰州市', district: [

{id: 833, name: '海陵区'},

{id: 834, name: '高港区'},

{id: 835, name: '兴化市'},

{id: 836, name: '靖江市'},

{id: 837, name: '泰兴市'},

{id: 838, name: '姜堰市'}

]},

{id: 86, name: '宿迁市', district: [

{id: 839, name: '宿城区'},

{id: 840, name: '宿豫区'},

{id: 841, name: '沭阳县'},

{id: 842, name: '泗阳县'},

{id: 843, name: '泗洪县'}

]}

]},

{id: 11, name: '浙江', city: [

{id: 87, name: '杭州市', district: [

{id: 844, name: '上城区'},

{id: 845, name: '下城区'},

{id: 846, name: '江干区'},

{id: 847, name: '拱墅区'},

{id: 848, name: '西湖区'},

{id: 849, name: '滨江区'},

{id: 850, name: '萧山区'},

{id: 851, name: '余杭区'},

{id: 852, name: '桐庐县'},

{id: 853, name: '淳安县'},

{id: 854, name: '建德市'},

{id: 855, name: '富阳市'},

{id: 856, name: '临安市'}

]},

{id: 88, name: '宁波市', district: [

{id: 857, name: '海曙区'},

{id: 858, name: '江东区'},

{id: 859, name: '江北区'},

{id: 860, name: '北仑区'},

{id: 861, name: '镇海区'},

{id: 862, name: '鄞州区'},

{id: 863, name: '象山县'},

{id: 864, name: '宁海县'},

{id: 865, name: '余姚市'},

{id: 866, name: '慈溪市'},

{id: 867, name: '奉化市'}

]},

{id: 89, name: '温州市', district: [

{id: 868, name: '鹿城区'},

{id: 869, name: '龙湾区'},

{id: 870, name: '瓯海区'},

{id: 871, name: '洞头县'},

{id: 872, name: '永嘉县'},

{id: 873, name: '平阳县'},

{id: 874, name: '苍南县'},

{id: 875, name: '文成县'},

{id: 876, name: '泰顺县'},

{id: 877, name: '瑞安市'},

{id: 878, name: '乐清市'}

]},

{id: 90, name: '嘉兴市', district: [

{id: 879, name: '秀城区'},

{id: 880, name: '秀洲区'},

{id: 881, name: '嘉善县'},

{id: 882, name: '海盐县'},

{id: 883, name: '海宁市'},

{id: 884, name: '平湖市'},

{id: 885, name: '桐乡市'}

]},

{id: 91, name: '湖州市', district: [

{id: 886, name: '吴兴区'},

{id: 887, name: '南浔区'},

{id: 888, name: '德清县'},

{id: 889, name: '长兴县'},

{id: 890, name: '安吉县'}

]},

{id: 92, name: '绍兴市', district: [

{id: 891, name: '越城区'},

{id: 892, name: '绍兴县'},

{id: 893, name: '新昌县'},

{id: 894, name: '诸暨市'},

{id: 895, name: '上虞市'},

{id: 896, name: '嵊州市'}

]},

{id: 93, name: '金华市', district: [

{id: 897, name: '婺城区'},

{id: 898, name: '金东区'},

{id: 899, name: '武义县'},

{id: 900, name: '浦江县'},

{id: 901, name: '磐安县'},

{id: 902, name: '兰溪市'},

{id: 903, name: '义乌市'},

{id: 904, name: '东阳市'},

{id: 905, name: '永康市'}

]},

{id: 94, name: '衢州市', district: [

{id: 906, name: '柯城区'},

{id: 907, name: '衢江区'},

{id: 908, name: '常山县'},

{id: 909, name: '开化县'},

{id: 910, name: '龙游县'},

{id: 911, name: '江山市'}

]},

{id: 95, name: '舟山市', district: [

{id: 912, name: '定海区'},

{id: 913, name: '普陀区'},

{id: 914, name: '岱山县'},

{id: 915, name: '嵊泗县'}

]},

{id: 96, name: '台州市', district: [

{id: 916, name: '椒江区'},

{id: 917, name: '黄岩区'},

{id: 918, name: '路桥区'},

{id: 919, name: '玉环县'},

{id: 920, name: '三门县'},

{id: 921, name: '天台县'},

{id: 922, name: '仙居县'},

{id: 923, name: '温岭市'},

{id: 924, name: '临海市'}

]},

{id: 97, name: '丽水市', district: [

{id: 925, name: '莲都区'},

{id: 926, name: '青田县'},

{id: 927, name: '缙云县'},

{id: 928, name: '遂昌县'},

{id: 929, name: '松阳县'},

{id: 930, name: '云和县'},

{id: 931, name: '庆元县'},

{id: 932, name: '景宁畲族自治县'},

{id: 933, name: '龙泉市'}

]}

]},

{id: 12, name: '安徽', city: [

{id: 98, name: '合肥市', district: [

{id: 934, name: '瑶海区'},

{id: 935, name: '庐阳区'},

{id: 936, name: '蜀山区'},

{id: 937, name: '包河区'},

{id: 938, name: '长丰县'},

{id: 939, name: '肥东县'},

{id: 940, name: '肥西县'}

]},

{id: 99, name: '芜湖市', district: [

{id: 941, name: '镜湖区'},

{id: 942, name: '马塘区'},

{id: 943, name: '新芜区'},

{id: 944, name: '鸠江区'},

{id: 945, name: '芜湖县'},

{id: 946, name: '繁昌县'},

{id: 947, name: '南陵县'}

]},

{id: 100, name: '蚌埠市', district: [

{id: 948, name: '龙子湖区'},

{id: 949, name: '蚌山区'},

{id: 950, name: '禹会区'},

{id: 951, name: '淮上区'},

{id: 952, name: '怀远县'},

{id: 953, name: '五河县'},

{id: 954, name: '固镇县'}

]},

{id: 101, name: '淮南市', district: [

{id: 955, name: '大通区'},

{id: 956, name: '田家庵区'},

{id: 957, name: '谢家集区'},

{id: 958, name: '八公山区'},

{id: 959, name: '潘集区'},

{id: 960, name: '凤台县'}

]},

{id: 102, name: '马鞍山市', district: [

{id: 961, name: '金家庄区'},

{id: 962, name: '花山区'},

{id: 963, name: '雨山区'},

{id: 964, name: '当涂县'}

]},

{id: 103, name: '淮北市', district: [

{id: 965, name: '杜集区'},

{id: 966, name: '相山区'},

{id: 967, name: '烈山区'},

{id: 968, name: '濉溪县'}

]},

{id: 104, name: '铜陵市', district: [

{id: 969, name: '铜官山区'},

{id: 970, name: '狮子山区'},

{id: 971, name: '郊区'},

{id: 972, name: '铜陵县'}

]},

{id: 105, name: '安庆市', district: [

{id: 973, name: '迎江区'},

{id: 974, name: '大观区'},

{id: 975, name: '郊区'},

{id: 976, name: '怀宁县'},

{id: 977, name: '枞阳县'},

{id: 978, name: '潜山县'},

{id: 979, name: '太湖县'},

{id: 980, name: '宿松县'},

{id: 981, name: '望江县'},

{id: 982, name: '岳西县'},

{id: 983, name: '桐城市'}

]},

{id: 106, name: '黄山市', district: [

{id: 984, name: '屯溪区'},

{id: 985, name: '黄山区'},

{id: 986, name: '徽州区'},

{id: 987, name: '歙县'},

{id: 988, name: '休宁县'},

{id: 989, name: '黟县'},

{id: 990, name: '祁门县'}

]},

{id: 107, name: '滁州市', district: [

{id: 991, name: '琅琊区'},

{id: 992, name: '南谯区'},

{id: 993, name: '来安县'},

{id: 994, name: '全椒县'},

{id: 995, name: '定远县'},

{id: 996, name: '凤阳县'},

{id: 997, name: '天长市'},

{id: 998, name: '明光市'}

]},

{id: 108, name: '阜阳市', district: [

{id: 999, name: '颍州区'},

{id: 1000, name: '颍东区'},

{id: 1001, name: '颍泉区'},

{id: 1002, name: '临泉县'},

{id: 1003, name: '太和县'},

{id: 1004, name: '阜南县'},

{id: 1005, name: '颍上县'},

{id: 1006, name: '界首市'}

]},

{id: 109, name: '宿州市', district: [

{id: 1007, name: '埇桥区'},

{id: 1008, name: '砀山县'},

{id: 1009, name: '萧县'},

{id: 1010, name: '灵璧县'},

{id: 1011, name: '泗县'}

]},

{id: 110, name: '巢湖市', district: [

{id: 1012, name: '居巢区'},

{id: 1013, name: '庐江县'},

{id: 1014, name: '无为县'},

{id: 1015, name: '含山县'},

{id: 1016, name: '和县'}

]},

{id: 111, name: '六安市', district: [

{id: 1017, name: '金安区'},

{id: 1018, name: '裕安区'},

{id: 1019, name: '寿县'},

{id: 1020, name: '霍邱县'},

{id: 1021, name: '舒城县'},

{id: 1022, name: '金寨县'},

{id: 1023, name: '霍山县'}

]},

{id: 112, name: '亳州市', district: [

{id: 1024, name: '谯城区'},

{id: 1025, name: '涡阳县'},

{id: 1026, name: '蒙城县'},

{id: 1027, name: '利辛县'}

]},

{id: 113, name: '池州市', district: [

{id: 1028, name: '贵池区'},

{id: 1029, name: '东至县'},

{id: 1030, name: '石台县'},

{id: 1031, name: '青阳县'}

]},

{id: 114, name: '宣城市', district: [

{id: 1032, name: '宣州区'},

{id: 1033, name: '郎溪县'},

{id: 1034, name: '广德县'},

{id: 1035, name: '泾县'},

{id: 1036, name: '绩溪县'},

{id: 1037, name: '旌德县'},

{id: 1038, name: '宁国市'}

]}

]},

{id: 13, name: '福建', city: [

{id: 115, name: '福州市', district: [

{id: 1039, name: '鼓楼区'},

{id: 1040, name: '台江区'},

{id: 1041, name: '仓山区'},

{id: 1042, name: '马尾区'},

{id: 1043, name: '晋安区'},

{id: 1044, name: '闽侯县'},

{id: 1045, name: '连江县'},

{id: 1046, name: '罗源县'},

{id: 1047, name: '闽清县'},

{id: 1048, name: '永泰县'},

{id: 1049, name: '平潭县'},

{id: 1050, name: '福清市'},

{id: 1051, name: '长乐市'}

]},

{id: 116, name: '厦门市', district: [

{id: 1052, name: '思明区'},

{id: 1053, name: '海沧区'},

{id: 1054, name: '湖里区'},

{id: 1055, name: '集美区'},

{id: 1056, name: '同安区'},

{id: 1057, name: '翔安区'}

]},

{id: 117, name: '莆田市', district: [

{id: 1058, name: '城厢区'},

{id: 1059, name: '涵江区'},

{id: 1060, name: '荔城区'},

{id: 1061, name: '秀屿区'},

{id: 1062, name: '仙游县'}

]},

{id: 118, name: '三明市', district: [

{id: 1063, name: '梅列区'},

{id: 1064, name: '三元区'},

{id: 1065, name: '明溪县'},

{id: 1066, name: '清流县'},

{id: 1067, name: '宁化县'},

{id: 1068, name: '大田县'},

{id: 1069, name: '尤溪县'},

{id: 1070, name: '沙县'},

{id: 1071, name: '将乐县'},

{id: 1072, name: '泰宁县'},

{id: 1073, name: '建宁县'},

{id: 1074, name: '永安市'}

]},

{id: 119, name: '泉州市', district: [

{id: 1075, name: '鲤城区'},

{id: 1076, name: '丰泽区'},

{id: 1077, name: '洛江区'},

{id: 1078, name: '泉港区'},

{id: 1079, name: '惠安县'},

{id: 1080, name: '安溪县'},

{id: 1081, name: '永春县'},

{id: 1082, name: '德化县'},

{id: 1083, name: '金门县'},

{id: 1084, name: '石狮市'},

{id: 1085, name: '晋江市'},

{id: 1086, name: '南安市'}

]},

{id: 120, name: '漳州市', district: [

{id: 1087, name: '芗城区'},

{id: 1088, name: '龙文区'},

{id: 1089, name: '云霄县'},

{id: 1090, name: '漳浦县'},

{id: 1091, name: '诏安县'},

{id: 1092, name: '长泰县'},

{id: 1093, name: '东山县'},

{id: 1094, name: '南靖县'},

{id: 1095, name: '平和县'},

{id: 1096, name: '华安县'},

{id: 1097, name: '龙海市'}

]},

{id: 121, name: '南平市', district: [

{id: 1098, name: '延平区'},

{id: 1099, name: '顺昌县'},

{id: 1100, name: '浦城县'},

{id: 1101, name: '光泽县'},

{id: 1102, name: '松溪县'},

{id: 1103, name: '政和县'},

{id: 1104, name: '邵武市'},

{id: 1105, name: '武夷山市'},

{id: 1106, name: '建瓯市'},

{id: 1107, name: '建阳市'}

]},

{id: 122, name: '龙岩市', district: [

{id: 1108, name: '新罗区'},

{id: 1109, name: '长汀县'},

{id: 1110, name: '永定县'},

{id: 1111, name: '上杭县'},

{id: 1112, name: '武平县'},

{id: 1113, name: '连城县'},

{id: 1114, name: '漳平市'}

]},

{id: 123, name: '宁德市', district: [

{id: 1115, name: '蕉城区'},

{id: 1116, name: '霞浦县'},

{id: 1117, name: '古田县'},

{id: 1118, name: '屏南县'},

{id: 1119, name: '寿宁县'},

{id: 1120, name: '周宁县'},

{id: 1121, name: '柘荣县'},

{id: 1122, name: '福安市'},

{id: 1123, name: '福鼎市'}

]}

]},

{id: 14, name: '江西', city: [

{id: 124, name: '南昌市', district: [

{id: 1124, name: '东湖区'},

{id: 1125, name: '西湖区'},

{id: 1126, name: '青云谱区'},

{id: 1127, name: '湾里区'},

{id: 1128, name: '青山湖区'},

{id: 1129, name: '南昌县'},

{id: 1130, name: '新建县'},

{id: 1131, name: '安义县'},

{id: 1132, name: '进贤县'}

]},

{id: 125, name: '景德镇市', district: [

{id: 1133, name: '昌江区'},

{id: 1134, name: '珠山区'},

{id: 1135, name: '浮梁县'},

{id: 1136, name: '乐平市'}

]},

{id: 126, name: '萍乡市', district: [

{id: 1137, name: '安源区'},

{id: 1138, name: '湘东区'},

{id: 1139, name: '莲花县'},

{id: 1140, name: '上栗县'},

{id: 1141, name: '芦溪县'}

]},

{id: 127, name: '九江市', district: [

{id: 1142, name: '庐山区'},

{id: 1143, name: '浔阳区'},

{id: 1144, name: '九江县'},

{id: 1145, name: '武宁县'},

{id: 1146, name: '修水县'},

{id: 1147, name: '永修县'},

{id: 1148, name: '德安县'},

{id: 1149, name: '星子县'},

{id: 1150, name: '都昌县'},

{id: 1151, name: '湖口县'},

{id: 1152, name: '彭泽县'},

{id: 1153, name: '瑞昌市'}

]},

{id: 128, name: '新余市', district: [

{id: 1154, name: '渝水区'},

{id: 1155, name: '分宜县'}

]},

{id: 129, name: '鹰潭市', district: [

{id: 1156, name: '月湖区'},

{id: 1157, name: '余江县'},

{id: 1158, name: '贵溪市'}

]},

{id: 130, name: '赣州市', district: [

{id: 1159, name: '章贡区'},

{id: 1160, name: '赣县'},

{id: 1161, name: '信丰县'},

{id: 1162, name: '大余县'},

{id: 1163, name: '上犹县'},

{id: 1164, name: '崇义县'},

{id: 1165, name: '安远县'},

{id: 1166, name: '龙南县'},

{id: 1167, name: '定南县'},

{id: 1168, name: '全南县'},

{id: 1169, name: '宁都县'},

{id: 1170, name: '于都县'},

{id: 1171, name: '兴国县'},

{id: 1172, name: '会昌县'},

{id: 1173, name: '寻乌县'},

{id: 1174, name: '石城县'},

{id: 1175, name: '瑞金市'},

{id: 1176, name: '南康市'}

]},

{id: 131, name: '吉安市', district: [

{id: 1177, name: '吉州区'},

{id: 1178, name: '青原区'},

{id: 1179, name: '吉安县'},

{id: 1180, name: '吉水县'},

{id: 1181, name: '峡江县'},

{id: 1182, name: '新干县'},

{id: 1183, name: '永丰县'},

{id: 1184, name: '泰和县'},

{id: 1185, name: '遂川县'},

{id: 1186, name: '万安县'},

{id: 1187, name: '安福县'},

{id: 1188, name: '永新县'},

{id: 1189, name: '井冈山市'}

]},

{id: 132, name: '宜春市', district: [

{id: 1190, name: '袁州区'},

{id: 1191, name: '奉新县'},

{id: 1192, name: '万载县'},

{id: 1193, name: '上高县'},

{id: 1194, name: '宜丰县'},

{id: 1195, name: '靖安县'},

{id: 1196, name: '铜鼓县'},

{id: 1197, name: '丰城市'},

{id: 1198, name: '樟树市'},

{id: 1199, name: '高安市'}

]},

{id: 133, name: '抚州市', district: [

{id: 1200, name: '临川区'},

{id: 1201, name: '南城县'},

{id: 1202, name: '黎川县'},

{id: 1203, name: '南丰县'},

{id: 1204, name: '崇仁县'},

{id: 1205, name: '乐安县'},

{id: 1206, name: '宜黄县'},

{id: 1207, name: '金溪县'},

{id: 1208, name: '资溪县'},

{id: 1209, name: '东乡县'},

{id: 1210, name: '广昌县'}

]},

{id: 134, name: '上饶市', district: [

{id: 1211, name: '信州区'},

{id: 1212, name: '上饶县'},

{id: 1213, name: '广丰县'},

{id: 1214, name: '玉山县'},

{id: 1215, name: '铅山县'},

{id: 1216, name: '横峰县'},

{id: 1217, name: '弋阳县'},

{id: 1218, name: '余干县'},

{id: 1219, name: '鄱阳县'},

{id: 1220, name: '万年县'},

{id: 1221, name: '婺源县'},

{id: 1222, name: '德兴市'}

]}

]},

{id: 15, name: '山东', city: [

{id: 135, name: '济南市', district: [

{id: 1223, name: '历下区'},

{id: 1224, name: '市中区'},

{id: 1225, name: '槐荫区'},

{id: 1226, name: '天桥区'},

{id: 1227, name: '历城区'},

{id: 1228, name: '长清区'},

{id: 1229, name: '平阴县'},

{id: 1230, name: '济阳县'},

{id: 1231, name: '商河县'},

{id: 1232, name: '章丘市'}

]},

{id: 136, name: '青岛市', district: [

{id: 1233, name: '市南区'},

{id: 1234, name: '市北区'},

{id: 1235, name: '四方区'},

{id: 1236, name: '黄岛区'},

{id: 1237, name: '崂山区'},

{id: 1238, name: '李沧区'},

{id: 1239, name: '城阳区'},

{id: 1240, name: '胶州市'},

{id: 1241, name: '即墨市'},

{id: 1242, name: '平度市'},

{id: 1243, name: '胶南市'},

{id: 1244, name: '莱西市'}

]},

{id: 137, name: '淄博市', district: [

{id: 1245, name: '淄川区'},

{id: 1246, name: '张店区'},

{id: 1247, name: '博山区'},

{id: 1248, name: '临淄区'},

{id: 1249, name: '周村区'},

{id: 1250, name: '桓台县'},

{id: 1251, name: '高青县'},

{id: 1252, name: '沂源县'}

]},

{id: 138, name: '枣庄市', district: [

{id: 1253, name: '市中区'},

{id: 1254, name: '薛城区'},

{id: 1255, name: '峄城区'},

{id: 1256, name: '台儿庄区'},

{id: 1257, name: '山亭区'},

{id: 1258, name: '滕州市'}

]},

{id: 139, name: '东营市', district: [

{id: 1259, name: '东营区'},

{id: 1260, name: '河口区'},

{id: 1261, name: '垦利县'},

{id: 1262, name: '利津县'},

{id: 1263, name: '广饶县'}

]},

{id: 140, name: '烟台市', district: [

{id: 1264, name: '芝罘区'},

{id: 1265, name: '福山区'},

{id: 1266, name: '牟平区'},

{id: 1267, name: '莱山区'},

{id: 1268, name: '长岛县'},

{id: 1269, name: '龙口市'},

{id: 1270, name: '莱阳市'},

{id: 1271, name: '莱州市'},

{id: 1272, name: '蓬莱市'},

{id: 1273, name: '招远市'},

{id: 1274, name: '栖霞市'},

{id: 1275, name: '海阳市'}

]},

{id: 141, name: '潍坊市', district: [

{id: 1276, name: '潍城区'},

{id: 1277, name: '寒亭区'},

{id: 1278, name: '坊子区'},

{id: 1279, name: '奎文区'},

{id: 1280, name: '临朐县'},

{id: 1281, name: '昌乐县'},

{id: 1282, name: '青州市'},

{id: 1283, name: '诸城市'},

{id: 1284, name: '寿光市'},

{id: 1285, name: '安丘市'},

{id: 1286, name: '高密市'},

{id: 1287, name: '昌邑市'}

]},

{id: 142, name: '济宁市', district: [

{id: 1288, name: '市中区'},

{id: 1289, name: '任城区'},

{id: 1290, name: '微山县'},

{id: 1291, name: '鱼台县'},

{id: 1292, name: '金乡县'},

{id: 1293, name: '嘉祥县'},

{id: 1294, name: '汶上县'},

{id: 1295, name: '泗水县'},

{id: 1296, name: '梁山县'},

{id: 1297, name: '曲阜市'},

{id: 1298, name: '兖州市'},

{id: 1299, name: '邹城市'}

]},

{id: 143, name: '泰安市', district: [

{id: 1300, name: '泰山区'},

{id: 1301, name: '岱岳区'},

{id: 1302, name: '宁阳县'},

{id: 1303, name: '东平县'},

{id: 1304, name: '新泰市'},

{id: 1305, name: '肥城市'}

]},

{id: 144, name: '威海市', district: [

{id: 1306, name: '环翠区'},

{id: 1307, name: '文登市'},

{id: 1308, name: '荣成市'},

{id: 1309, name: '乳山市'}

]},

{id: 145, name: '日照市', district: [

{id: 1310, name: '东港区'},

{id: 1311, name: '岚山区'},

{id: 1312, name: '五莲县'},

{id: 1313, name: '莒县'}

]},

{id: 146, name: '莱芜市', district: [

{id: 1314, name: '莱城区'},

{id: 1315, name: '钢城区'}

]},

{id: 147, name: '临沂市', district: [

{id: 1316, name: '兰山区'},

{id: 1317, name: '罗庄区'},

{id: 1318, name: '河东区'},

{id: 1319, name: '沂南县'},

{id: 1320, name: '郯城县'},

{id: 1321, name: '沂水县'},

{id: 1322, name: '苍山县'},

{id: 1323, name: '费县'},

{id: 1324, name: '平邑县'},

{id: 1325, name: '莒南县'},

{id: 1326, name: '蒙阴县'},

{id: 1327, name: '临沭县'}

]},

{id: 148, name: '德州市', district: [

{id: 1328, name: '德城区'},

{id: 1329, name: '陵县'},

{id: 1330, name: '宁津县'},

{id: 1331, name: '庆云县'},

{id: 1332, name: '临邑县'},

{id: 1333, name: '齐河县'},

{id: 1334, name: '平原县'},

{id: 1335, name: '夏津县'},

{id: 1336, name: '武城县'},

{id: 1337, name: '乐陵市'},

{id: 1338, name: '禹城市'}

]},

{id: 149, name: '聊城市', district: [

{id: 1339, name: '东昌府区'},

{id: 1340, name: '阳谷县'},

{id: 1341, name: '莘县'},

{id: 1342, name: '茌平县'},

{id: 1343, name: '东阿县'},

{id: 1344, name: '冠县'},

{id: 1345, name: '高唐县'},

{id: 1346, name: '临清市'}

]},

{id: 150, name: '滨州市', district: [

{id: 1347, name: '滨城区'},

{id: 1348, name: '惠民县'},

{id: 1349, name: '阳信县'},

{id: 1350, name: '无棣县'},

{id: 1351, name: '沾化县'},

{id: 1352, name: '博兴县'},

{id: 1353, name: '邹平县'}

]},

{id: 151, name: '荷泽市', district: [

{id: 1354, name: '牡丹区'},

{id: 1355, name: '曹县'},

{id: 1356, name: '单县'},

{id: 1357, name: '成武县'},

{id: 1358, name: '巨野县'},

{id: 1359, name: '郓城县'},

{id: 1360, name: '鄄城县'},

{id: 1361, name: '定陶县'},

{id: 1362, name: '东明县'}

]}

]},

{id: 16, name: '河南', city: [

{id: 152, name: '郑州市', district: [

{id: 1363, name: '中原区'},

{id: 1364, name: '二七区'},

{id: 1365, name: '管城回族区'},

{id: 1366, name: '金水区'},

{id: 1367, name: '上街区'},

{id: 1368, name: '惠济区'},

{id: 1369, name: '中牟县'},

{id: 1370, name: '巩义市'},

{id: 1371, name: '荥阳市'},

{id: 1372, name: '新密市'},

{id: 1373, name: '新郑市'},

{id: 1374, name: '登封市'}

]},

{id: 153, name: '开封市', district: [

{id: 1375, name: '龙亭区'},

{id: 1376, name: '顺河回族区'},

{id: 1377, name: '鼓楼区'},

{id: 1378, name: '南关区'},

{id: 1379, name: '郊区'},

{id: 1380, name: '杞县'},

{id: 1381, name: '通许县'},

{id: 1382, name: '尉氏县'},

{id: 1383, name: '开封县'},

{id: 1384, name: '兰考县'}

]},

{id: 154, name: '洛阳市', district: [

{id: 1385, name: '老城区'},

{id: 1386, name: '西工区'},

{id: 1387, name: '廛河回族区'},

{id: 1388, name: '涧西区'},

{id: 1389, name: '吉利区'},

{id: 1390, name: '洛龙区'},

{id: 1391, name: '孟津县'},

{id: 1392, name: '新安县'},

{id: 1393, name: '栾川县'},

{id: 1394, name: '嵩县'},

{id: 1395, name: '汝阳县'},

{id: 1396, name: '宜阳县'},

{id: 1397, name: '洛宁县'},

{id: 1398, name: '伊川县'},

{id: 1399, name: '偃师市'}

]},

{id: 155, name: '平顶山市', district: [

{id: 1400, name: '新华区'},

{id: 1401, name: '卫东区'},

{id: 1402, name: '石龙区'},

{id: 1403, name: '湛河区'},

{id: 1404, name: '宝丰县'},

{id: 1405, name: '叶县'},

{id: 1406, name: '鲁山县'},

{id: 1407, name: '郏县'},

{id: 1408, name: '舞钢市'},

{id: 1409, name: '汝州市'}

]},

{id: 156, name: '安阳市', district: [

{id: 1410, name: '文峰区'},

{id: 1411, name: '北关区'},

{id: 1412, name: '殷都区'},

{id: 1413, name: '龙安区'},

{id: 1414, name: '安阳县'},

{id: 1415, name: '汤阴县'},

{id: 1416, name: '滑县'},

{id: 1417, name: '内黄县'},

{id: 1418, name: '林州市'}

]},

{id: 157, name: '鹤壁市', district: [

{id: 1419, name: '鹤山区'},

{id: 1420, name: '山城区'},

{id: 1421, name: '淇滨区'},

{id: 1422, name: '浚县'},

{id: 1423, name: '淇县'}

]},

{id: 158, name: '新乡市', district: [

{id: 1424, name: '红旗区'},

{id: 1425, name: '卫滨区'},

{id: 1426, name: '凤泉区'},

{id: 1427, name: '牧野区'},

{id: 1428, name: '新乡县'},

{id: 1429, name: '获嘉县'},

{id: 1430, name: '原阳县'},

{id: 1431, name: '延津县'},

{id: 1432, name: '封丘县'},

{id: 1433, name: '长垣县'},

{id: 1434, name: '卫辉市'},

{id: 1435, name: '辉县市'}

]},

{id: 159, name: '焦作市', district: [

{id: 1436, name: '解放区'},

{id: 1437, name: '中站区'},

{id: 1438, name: '马村区'},

{id: 1439, name: '山阳区'},

{id: 1440, name: '修武县'},

{id: 1441, name: '博爱县'},

{id: 1442, name: '武陟县'},

{id: 1443, name: '温县'},

{id: 1444, name: '济源市'},

{id: 1445, name: '沁阳市'},

{id: 1446, name: '孟州市'}

]},

{id: 160, name: '濮阳市', district: [

{id: 1447, name: '华龙区'},

{id: 1448, name: '清丰县'},

{id: 1449, name: '南乐县'},

{id: 1450, name: '范县'},

{id: 1451, name: '台前县'},

{id: 1452, name: '濮阳县'}

]},

{id: 161, name: '许昌市', district: [

{id: 1453, name: '魏都区'},

{id: 1454, name: '许昌县'},

{id: 1455, name: '鄢陵县'},

{id: 1456, name: '襄城县'},

{id: 1457, name: '禹州市'},

{id: 1458, name: '长葛市'}

]},

{id: 162, name: '漯河市', district: [

{id: 1459, name: '源汇区'},

{id: 1460, name: '郾城区'},

{id: 1461, name: '召陵区'},

{id: 1462, name: '舞阳县'},

{id: 1463, name: '临

以上是 vue.js模仿京东省市区三级联动的选择组件实例代码 的全部内容, 来源链接: utcz.com/z/354028.html

回到顶部