js 全国城市地区编码+拼音+大写首字母
可能有部分些省份城市没有,但是大部分城市都是有的.
直接导入需要的组件就行
import City from '../axios/city'
export default {
data () {
return {
cityList:City.city
}
},
mounted () {
},
methods : {
}
}
export default {
city: [
{
"title": "A",
"lists": [
{ "city": "阿坝", "code": "5132", "pinyin": "abei" },
{ "city": "阿克苏", "code": "6529", "pinyin": "akesu" },
{ "city": "阿拉善", "code": "1529", "pinyin": "alashan" },
{ "city": "阿里", "code": "5425", "pinyin": "ali" },
{ "city": "安康", "code": "6109", "pinyin": "ankang" },
{ "city": "安庆", "code": "3408", "pinyin": "anqing" },
{ "city": "鞍山", "code": "2103", "pinyin": "anshan" },
{ "city": "安顺", "code": "5204", "pinyin": "anshun" },
{ "city": "安阳", "code": "4105", "pinyin": "anyang" },
]
},
{
"title": "B",
"lists": [
{ "city": "北京", "code": "1101", "pinyin": "beijing" },
{ "city": "白银", "code": "6204", "pinyin": "baiyin" },
{ "city": "保定", "code": "1306", "pinyin": "baoding" },
{ "city": "宝鸡", "code": "6103", "pinyin": "baoji" },
{ "city": "保山", "code": "5305", "pinyin": "baoshan" },
{ "city": "包头", "code": "1502", "pinyin": "baotou" },
{ "city": "巴中", "code": "5119", "pinyin": "bazhong" },
{ "city": "北海", "code": "4505", "pinyin": "beihai" },
{ "city": "蚌埠", "code": "3403", "pinyin": "bengbu" },
{ "city": "本溪", "code": "2105", "pinyin": "benxi" },
{ "city": "毕节", "code": "5205", "pinyin": "bijie" },
{ "city": "滨州", "code": "3716", "pinyin": "binzhou" },
{ "city": "百色", "code": "4510", "pinyin": "baise" },
{ "city": "亳州", "code": "3416", "pinyin": "bozhou" }
]
},
{
"title": "C",
"lists": [
{ "city": "重庆", "code": "5001", "pinyin": "chongqing" },
{ "city": "成都", "code": "5101", "pinyin": "chengdu" },
{ "city": "长沙", "code": "4301", "pinyin": "changsha" },
{ "city": "长春", "code": "2201", "pinyin": "changchun" },
{ "city": "沧州", "code": "1309", "pinyin": "cangzhou" },
{ "city": "常德", "code": "4307", "pinyin": "changde" },
{ "city": "昌都", "code": "5421", "pinyin": "changdu" },
{ "city": "长治", "code": "1404", "pinyin": "changzhi" },
{ "city": "常州", "code": "3204", "pinyin": "changzhou" },
{ "city": "潮州", "code": "4451", "pinyin": "chaozhou" },
{ "city": "承德", "code": "1308", "pinyin": "chengde" },
{ "city": "郴州", "code": "4310", "pinyin": "chenzhou" },
{ "city": "赤峰", "code": "1504", "pinyin": "chifeng" },
{ "city": "池州", "code": "3417", "pinyin": "chizhou" },
{ "city": "崇左", "code": "4514", "pinyin": "chongzuo" },
{ "city": "楚雄", "code": "5323", "pinyin": "chuxiong" },
{ "city": "滁州", "code": "3411", "pinyin": "chuzhou" },
{ "city": "朝阳", "code": "2113", "pinyin": "chaoyang" },
]
},
{
"title": "D",
"lists": [
{ "city": "大连", "code": "2102", "pinyin": "dalian" },
{ "city": "东莞", "code": "4419", "pinyin": "dongguan" },
{ "city": "大理", "code": "5329", "pinyin": "dali" },
{ "city": "丹东", "code": "2106", "pinyin": "dandong" },
{ "city": "大庆", "code": "2306", "pinyin": "daqing" },
{ "city": "大同", "code": "1402", "pinyin": "datong" },
{ "city": "大兴安岭", "code": "2327", "pinyin": "daxinganling" },
{ "city": "德宏", "code": "5331", "pinyin": "dehong" },
{ "city": "德阳", "code": "5106", "pinyin": "deyang" },
{ "city": "德州", "code": "3714", "pinyin": "dezhou" },
{ "city": "定西", "code": "6211", "pinyin": "dingxi" },
{ "city": "迪庆", "code": "5334", "pinyin": "diqing" },
{ "city": "东营", "code": "3705", "pinyin": "dongying" },
]
},
{
"title": "E",
"lists": [
{ "city": "鄂尔多斯", "code": "1506", "pinyin": "eerduosi" },
{ "city": "恩施", "code": "4228", "pinyin": "enshi" },
{ "city": "鄂州", "code": "4207", "pinyin": "ezhou" },
]
},
{
"title": "F",
"lists": [
{ "city": "福州", "code": "3501", "pinyin": "fuzhou" },
{ "city": "防城港", "code": "4506", "pinyin": "fangchenggang" },
{ "city": "佛山", "code": "4406", "pinyin": "foshan" },
{ "city": "抚顺", "code": "2104", "pinyin": "fushun" },
{ "city": "抚州", "code": "3610", "pinyin": "fuzhou" },
{ "city": "阜新", "code": "2109", "pinyin": "fuxin" },
{ "city": "阜阳", "code": "3412", "pinyin": "fuyang" },
]
},
{
"title": "G",
"lists": [
{ "city": "广州", "code": "4401", "pinyin": "guangzhou" },
{ "city": "桂林", "code": "4503", "pinyin": "guilin" },
{ "city": "贵阳", "code": "5201", "pinyin": "guiyang" },
{ "city": "甘南", "code": "6230", "pinyin": "gannan" },
{ "city": "赣州", "code": "3607", "pinyin": "ganzhou" },
{ "city": "甘孜", "code": "5133", "pinyin": "ganzi" },
{ "city": "广安", "code": "5116", "pinyin": "guangan" },
{ "city": "广元", "code": "5108", "pinyin": "guangyuan" },
{ "city": "贵港", "code": "4508", "pinyin": "guigang" },
{ "city": "果洛", "code": "6326", "pinyin": "guoluo" },
]
},
{
"title": "H",
"lists": [
{ "city": "杭州", "code": "3301", "pinyin": "hangzhou" },
{ "city": "哈尔滨", "code": "2301", "pinyin": "haerbin" },
{ "city": "合肥", "code": "3401", "pinyin": "hefei" },
{ "city": "海口", "code": "4601", "pinyin": "haikou" },
{ "city": "呼和浩特", "code": "1501", "pinyin": "huhehaote" },
{ "city": "海北", "code": "6322", "pinyin": "haibei" },
{ "city": "海东", "code": "6321", "pinyin": "haidong" },
{ "city": "海南", "code": "4600", "pinyin": "hainan" },
{ "city": "海西", "code": "6328", "pinyin": "haixi" },
{ "city": "邯郸", "code": "1304", "pinyin": "handan" },
{ "city": "汉中", "code": "6107", "pinyin": "hanzhong" },
{ "city": "鹤壁", "code": "4106", "pinyin": "hebi" },
{ "city": "河池", "code": "4512", "pinyin": "hechi" },
{ "city": "鹤岗", "code": "2304", "pinyin": "hegang" },
{ "city": "黑河", "code": "2311", "pinyin": "heihe" },
{ "city": "衡水", "code": "1311", "pinyin": "hengshui" },
{ "city": "衡阳", "code": "4304", "pinyin": "hengyang" },
{ "city": "河源", "code": "4416", "pinyin": "heyuan" },
{ "city": "贺州", "code": "4511", "pinyin": "hezhou" },
{ "city": "红河", "code": "5325", "pinyin": "honghe" },
{ "city": "淮安", "code": "3208", "pinyin": "huaian" },
{ "city": "淮北", "code": "3406", "pinyin": "huaibei" },
{ "city": "怀化", "code": "4312", "pinyin": "huaihua" },
{ "city": "淮南", "code": "3404", "pinyin": "huainan" },
{ "city": "黄冈", "code": "4211", "pinyin": "huanggang" },
{ "city": "黄南", "code": "6323", "pinyin": "huangnan" },
{ "city": "黄山", "code": "3410", "pinyin": "huangshan" },
{ "city": "黄石", "code": "4202", "pinyin": "huangshi" },
{ "city": "惠州", "code": "4413", "pinyin": "huizhou" },
{ "city": "葫芦岛", "code": "2114", "pinyin": "huludao" },
{ "city": "呼伦贝尔", "code": "1507", "pinyin": "hulunbeier" },
{ "city": "湖州", "code": "3305", "pinyin": "huzhou" },
{ "city": "菏泽", "code": "3717", "pinyin": "heze" },
]
},
{
"title": "J",
"lists": [
{ "city": "济南", "code": "3701", "pinyin": "jinan" },
{ "city": "佳木斯", "code": "2308", "pinyin": "jiamusi" },
{ "city": "吉安", "code": "3608", "pinyin": "jian" },
{ "city": "江门", "code": "4407", "pinyin": "jiangmen" },
{ "city": "焦作", "code": "4108", "pinyin": "jiaozuo" },
{ "city": "嘉兴", "code": "3304", "pinyin": "jiaxing" },
{ "city": "嘉峪关", "code": "6202", "pinyin": "jiayuguan" },
{ "city": "揭阳", "code": "4452", "pinyin": "jieyang" },
{ "city": "吉林", "code": "2202", "pinyin": "jilin" },
{ "city": "金昌", "code": "6203", "pinyin": "jinchang" },
{ "city": "晋城", "code": "1405", "pinyin": "jincheng" },
{ "city": "景德镇", "code": "3602", "pinyin": "jingdezhen" },
{ "city": "荆门", "code": "4208", "pinyin": "jingmen" },
{ "city": "荆州", "code": "4210", "pinyin": "jingzhou" },
{ "city": "金华", "code": "3307", "pinyin": "jinhua" },
{ "city": "济宁", "code": "3708", "pinyin": "jining" },
{ "city": "晋中", "code": "1407", "pinyin": "jinzhong" },
{ "city": "锦州", "code": "2107", "pinyin": "jinzhou" },
{ "city": "九江", "code": "3604", "pinyin": "jiujiang" },
{ "city": "酒泉", "code": "6209", "pinyin": "jiuquan" },
]
},
{
"title": "K",
"lists": [
{ "city": "昆明", "code": "5301", "pinyin": "kunming" },
{ "city": "开封", "code": "4102", "pinyin": "kaifeng" }
]
},
{
"title": "L",
"lists": [
{ "city": "兰州", "code": "6201", "pinyin": "lanzhou" },
{ "city": "拉萨", "code": "5401", "pinyin": "lasa" },
{ "city": "来宾", "code": "4513", "pinyin": "laibin" },
{ "city": "莱芜", "code": "3712", "pinyin": "laiwu" },
{ "city": "廊坊", "code": "1310", "pinyin": "langfang" },
{ "city": "乐山", "code": "5111", "pinyin": "leshan" },
{ "city": "凉山", "code": "5134", "pinyin": "liangshan" },
{ "city": "连云港", "code": "3207", "pinyin": "lianyungang" },
{ "city": "聊城", "code": "3715", "pinyin": "liaocheng" },
{ "city": "辽阳", "code": "2110", "pinyin": "liaoyang" },
{ "city": "辽源", "code": "2204", "pinyin": "liaoyuan" },
{ "city": "丽江", "code": "5307", "pinyin": "lijiang" },
{ "city": "临沧", "code": "5309", "pinyin": "lincang" },
{ "city": "临汾", "code": "1410", "pinyin": "linfen" },
{ "city": "临夏", "code": "6229", "pinyin": "linxia" },
{ "city": "临沂", "code": "3713", "pinyin": "linyi" },
{ "city": "林芝", "code": "5426", "pinyin": "linzhi" },
{ "city": "丽水", "code": "3311", "pinyin": "lishui" },
{ "city": "六安", "code": "3415", "pinyin": "liuan" },
{ "city": "六盘水", "code": "5202", "pinyin": "liupanshui" },
{ "city": "柳州", "code": "4502", "pinyin": "liuzhou" },
{ "city": "陇南", "code": "6212", "pinyin": "longnan" },
{ "city": "龙岩", "code": "3508", "pinyin": "longyan" },
{ "city": "娄底", "code": "4313", "pinyin": "loudi" },
{ "city": "漯河", "code": "4111", "pinyin": "luohe" },
{ "city": "洛阳", "code": "4103", "pinyin": "luoyang" },
{ "city": "泸州", "code": "5105", "pinyin": "luzhou" },
{ "city": "吕梁", "code": "1411", "pinyin": "lvliang" },
]
},
{
"title": "M",
"lists": [
{ "city": "马鞍山", "code": "3405", "pinyin": "maanshan" },
{ "city": "茂名", "code": "4409", "pinyin": "maoming" },
{ "city": "眉山", "code": "5114", "pinyin": "meishan" },
{ "city": "梅州", "code": "4414", "pinyin": "meizhou" },
{ "city": "绵阳", "code": "5107", "pinyin": "mianyang" },
{ "city": "牡丹江", "code": "2310", "pinyin": "mudanjiang" },
]
},
{
"title": "N",
"lists": [
{ "city": "南京", "code": "3201", "pinyin": "nanjing" },
{ "city": "南昌", "code": "3601", "pinyin": "nanchang" },
{ "city": "南宁", "code": "4501", "pinyin": "nanning" },
{ "city": "宁波", "code": "3302", "pinyin": "ningbo" },
{ "city": "南充", "code": "5113", "pinyin": "nanchong" },
{ "city": "南平", "code": "3507", "pinyin": "nanping" },
{ "city": "南通", "code": "3206", "pinyin": "nantong" },
{ "city": "南阳", "code": "4113", "pinyin": "nanyang" },
{ "city": "那曲", "code": "5424", "pinyin": "naqu" },
{ "city": "内江", "code": "5110", "pinyin": "neijiang" },
{ "city": "宁德", "code": "3509", "pinyin": "ningde" },
{ "city": "怒江", "code": "5333", "pinyin": "nujiang" },
]
},
{
"title": "P",
"lists": [
{ "city": "盘锦", "code": "2111", "pinyin": "panjin" },
{ "city": "攀枝花", "code": "5104", "pinyin": "panzhihua" },
{ "city": "平顶山", "code": "4104", "pinyin": "pingdingshan" },
{ "city": "平凉", "code": "6208", "pinyin": "pingliang" },
{ "city": "萍乡", "code": "3603", "pinyin": "pingxiang" },
{ "city": "莆田", "code": "3503", "pinyin": "putian" },
{ "city": "濮阳", "code": "4109", "pinyin": "puyang" },
]
},
{
"title": "Q",
"lists": [
{ "city": "青岛", "code": "3702", "pinyin": "qingdao" },
{ "city": "黔东南", "code": "5226", "pinyin": "qindongnan" },
{ "city": "黔南", "code": "5227", "pinyin": "qinnan" },
{ "city": "黔西南", "code": "5223", "pinyin": "qinxinan" },
{ "city": "庆阳", "code": "6210", "pinyin": "qingyang" },
{ "city": "清远", "code": "4418", "pinyin": "qingyuan" },
{ "city": "秦皇岛", "code": "1303", "pinyin": "qinhuangdao" },
{ "city": "钦州", "code": "4507", "pinyin": "qinzhou" },
{ "city": "齐齐哈尔", "code": "2302", "pinyin": "qiqihaer" },
{ "city": "泉州", "code": "3505", "pinyin": "quanzhou" },
{ "city": "曲靖", "code": "5303", "pinyin": "qujing" },
{ "city": "衢州", "code": "3308", "pinyin": "gquzhou" },
]
},
{
"title": "R",
"lists": [
{ "city": "日喀则", "code": "5423", "pinyin": "rieze" },
{ "city": "日照", "code": "3711", "pinyin": "rizhao" },
]
},
{
"title": "S",
"lists": [
{ "city": "上海", "code": "3101", "pinyin": "shanghai" },
{ "city": "深圳", "code": "4403", "pinyin": "shenzhen" },
{ "city": "苏州", "code": "3205", "pinyin": "suzhou" },
{ "city": "沈阳", "code": "2101", "pinyin": "shenyang" },
{ "city": "石家庄", "code": "1301", "pinyin": "shijiazhuang" },
{ "city": "三门峡", "code": "4112", "pinyin": "sanmenxia" },
{ "city": "三明", "code": "3504", "pinyin": "sanming" },
{ "city": "三亚", "code": "4602", "pinyin": "sanya" },
{ "city": "商洛", "code": "6110", "pinyin": "shangluo" },
{ "city": "商丘", "code": "4114", "pinyin": "shangqiu" },
{ "city": "上饶", "code": "3611", "pinyin": "shangrao" },
{ "city": "山南", "code": "5422", "pinyin": "shannan" },
{ "city": "汕头", "code": "4405", "pinyin": "shantou" },
{ "city": "汕尾", "code": "4415", "pinyin": "shanwei" },
{ "city": "韶关", "code": "4402", "pinyin": "shaoguan" },
{ "city": "绍兴", "code": "3306", "pinyin": "shaoxing" },
{ "city": "邵阳", "code": "4305", "pinyin": "shaoyang" },
{ "city": "十堰", "code": "4203", "pinyin": "shiyan" },
{ "city": "朔州", "code": "1406", "pinyin": "suozhou" },
{ "city": "四平", "code": "2203", "pinyin": "siping" },
{ "city": "绥化", "code": "2312", "pinyin": "suihua" },
{ "city": "遂宁", "code": "5109", "pinyin": "suining" },
{ "city": "随州", "code": "4213", "pinyin": "suizhou" },
{ "city": "宿迁", "code": "3213", "pinyin": "suqian" },
{ "city": "宿州", "code": "3413", "pinyin": "suzhou" },
]
},
{
"title": "T",
"lists": [
{ "city": "天津", "code": "1201", "pinyin": "tianjin" },
{ "city": "太原", "code": "1401", "pinyin": "taiyuan" },
{ "city": "泰安", "code": "3709", "pinyin": "taian" },
{ "city": "泰州", "code": "3212", "pinyin": "taizhou" },
{ "city": "台州", "code": "3310", "pinyin": "taizhou" },
{ "city": "唐山", "code": "1302", "pinyin": "tangshan" },
{ "city": "天水", "code": "6205", "pinyin": "tianshui" },
{ "city": "铁岭", "code": "2112", "pinyin": "tieling" },
{ "city": "铜川", "code": "6102", "pinyin": "tongchuan" },
{ "city": "通化", "code": "2205", "pinyin": "tonghua" },
{ "city": "通辽", "code": "1505", "pinyin": "tongliao" },
{ "city": "铜陵", "code": "3407", "pinyin": "tongling" },
{ "city": "铜仁", "code": "5206", "pinyin": "tongren" },
]
},
{
"title": "W",
"lists": [
{ "city": "武汉", "code": "4201", "pinyin": "wuhan" },
{ "city": "乌鲁木齐", "code": "6501", "pinyin": "wulumuqi" },
{ "city": "无锡", "code": "3202", "pinyin": "wuxi" },
{ "city": "威海", "code": "3710", "pinyin": "weihai" },
{ "city": "潍坊", "code": "3707", "pinyin": "weifang" },
{ "city": "文山", "code": "5326", "pinyin": "wenshan" },
{ "city": "温州", "code": "3303", "pinyin": "wenzhou" },
{ "city": "乌海", "code": "1503", "pinyin": "wuhai" },
{ "city": "芜湖", "code": "3402", "pinyin": "wuhu" },
{ "city": "乌兰察布", "code": "1509", "pinyin": "wulancabu" },
{ "city": "武威", "code": "6206", "pinyin": "wuwei" },
{ "city": "梧州", "code": "4504", "pinyin": "wuzhou" },
]
},
{
"title": "X",
"lists": [
{ "city": "厦门", "code": "3502", "pinyin": "xiamen" },
{ "city": "西安", "code": "6101", "pinyin": "xian" },
{ "city": "西宁", "code": "6301", "pinyin": "xining" },
{ "city": "襄樊", "code": "4206", "pinyin": "xiangfan" },
{ "city": "湘潭", "code": "4303", "pinyin": "xiangtan" },
{ "city": "湘西", "code": "4331", "pinyin": "xiangxi" },
{ "city": "咸宁", "code": "4212", "pinyin": "xianning" },
{ "city": "咸阳", "code": "6104", "pinyin": "xianyang" },
{ "city": "孝感", "code": "4209", "pinyin": "xiaogan" },
{ "city": "邢台", "code": "1305", "pinyin": "xingtai" },
{ "city": "新乡", "code": "4107", "pinyin": "xinxiang" },
{ "city": "信阳", "code": "4115", "pinyin": "xinyang" },
{ "city": "新余", "code": "3605", "pinyin": "xinyu" },
{ "city": "忻州", "code": "1409", "pinyin": "xinzhou" },
{ "city": "西双版纳", "code": "5328", "pinyin": "xishuangbanna" },
{ "city": "宣城", "code": "3418", "pinyin": "xuancheng" },
{ "city": "许昌", "code": "4110", "pinyin": "xuchang" },
{ "city": "徐州", "code": "3203", "pinyin": "xuzhou" },
{ "city": "锡林郭勒", "code": "1525", "pinyin": "xilinguole" },
{ "city": "兴安", "code": "1522", "pinyin": "xingan" },
]
},
{
"title": "Y",
"lists": [
{ "city": "银川", "code": "6401", "pinyin": "yinchuan" },
{ "city": "雅安", "code": "5118", "pinyin": "yaan" },
{ "city": "延安", "code": "6106", "pinyin": "yanan" },
{ "city": "延边", "code": "2224", "pinyin": "yanbian" },
{ "city": "盐城", "code": "3209", "pinyin": "yancheng" },
{ "city": "阳江", "code": "4417", "pinyin": "yangjiang" },
{ "city": "阳泉", "code": "1403", "pinyin": "yangquan" },
{ "city": "扬州", "code": "3210", "pinyin": "yangzhou" },
{ "city": "烟台", "code": "3706", "pinyin": "yantai" },
{ "city": "宜宾", "code": "5115", "pinyin": "yibin" },
{ "city": "宜昌", "code": "4205", "pinyin": "yichang" },
{ "city": "宜春", "code": "3609", "pinyin": "yichun" },
{ "city": "营口", "code": "2108", "pinyin": "yingkou" },
{ "city": "益阳", "code": "4309", "pinyin": "yiyang" },
{ "city": "永州", "code": "4311", "pinyin": "yongzhou" },
{ "city": "岳阳", "code": "4306", "pinyin": "yueyang" },
{ "city": "榆林", "code": "6108", "pinyin": "yulin" },
{ "city": "运城", "code": "1408", "pinyin": "yuncheng" },
{ "city": "云浮", "code": "4453", "pinyin": "yunfu" },
{ "city": "玉树", "code": "6327", "pinyin": "yushu" },
{ "city": "玉溪", "code": "5304", "pinyin": "yuxi" },
{ "city": "玉林", "code": "4509", "pinyin": "yulin" },
]
},
{
"title": "Z",
"lists": [
{ "city": "枣庄", "code": "3704", "pinyin": "zaozhuang" },
{ "city": "张家界", "code": "4308", "pinyin": "zhangjiajie" },
{ "city": "张家口", "code": "1307", "pinyin": "zhangjiakou" },
{ "city": "张掖", "code": "6207", "pinyin": "zhangye" },
{ "city": "漳州", "code": "3506", "pinyin": "zhangzhou" },
{ "city": "湛江", "code": "4408", "pinyin": "zhanjiang" },
{ "city": "肇庆", "code": "4412", "pinyin": "zhaoqing" },
{ "city": "昭通", "code": "5306", "pinyin": "zhaotong" },
{ "city": "浙江", "code": "3300", "pinyin": "zhejiang" },
{ "city": "郑州", "code": "4101", "pinyin": "zhengzhou" },
{ "city": "镇江", "code": "3211", "pinyin": "zhenjiang" },
{ "city": "中山", "code": "4420", "pinyin": "zhongshan" },
{ "city": "中卫", "code": "6405", "pinyin": "zhongwei" },
{ "city": "周口", "code": "4116", "pinyin": "zhoukou" },
{ "city": "舟山", "code": "3309", "pinyin": "zhoushan" },
{ "city": "珠海", "code": "4404", "pinyin": "zhuhai" },
{ "city": "驻马店", "code": "4117", "pinyin": "zhumadian" },
{ "city": "株洲", "code": "4302", "pinyin": "zhuzhou" },
{ "city": "淄博", "code": "3703", "pinyin": "zibo" },
{ "city": "自贡", "code": "5103", "pinyin": "zigong" },
{ "city": "资阳", "code": "5120", "pinyin": "ziyang" },
]
}
]
}