小程序城市按首字母排序(如同苹果手机通讯录一样得效果)
如图
代码
1 <view class="input"> 2 <input bindinput="bindKeyInput" bindblur="bindBlur" placeholder="输入城市名或拼音查询" placeholder-style="font-size: 30rpx" value="{{inputName}}"></input> 3 </view> 4 5 <view class="container-inner"> 6 <view class="searchLetter touchClass"> 7 <view class="thishotText" bindtap="hotCity"> 8 <view style="margin-top:0;">当前</view> 9 <view style="margin-top:0;">热门</view> 10 </view> 11 <view wx:for="{{searchLetter}}" style="color:#FEC240;font-size:20rpx;" wx:key="*this" data-letter="{{item.name}}" catchtouchend="clickLetter">{{item.name}}</view> 12 </view> 13 <view class="container"> 14 15 <block wx:if="{{isShowLetter}}"> 16 <view class="showSlectedLetter"> 17 {{toastShowLetter}} 18 </view> 19 </block> 20 21 <scroll-view scroll-y="true" style="height:{{winHeight}}px" bindscroll="bindScroll" scroll-into-view="{{scrollTopId}}" scroll-top="{{scrollTop}}"> 22 23 24 <ul class="ul"> 25 <li wx:for="{{completeList}}" wx:key="*this" bindtap="bindCity" data-city="{{item.city}}" data-code="{{item.code}}" class="li">{{item.city}}</li> 26 </ul> 27 28 29 <view wx:if="{{condition}}" class="hotcity-common">选择区县</view> 30 <view wx:if="{{condition}}" class="county"> 31 <block class="hotCity" wx:for-items="{{countyList}}" wx:key="id"> 32 <view class="weui-grid" style="margin-right: 16rpx;" data-code="{{item.id}}" data-city="{{item.fullname}}" bindtap="bindCounty"> 33 <view class="weui-grid__label">{{item.fullname}}</view> 34 </view> 35 </block> 36 </view> 37 38 <view class="selectCity"> 39 <view class="hotcity-common" bindtap="reGetLocation">重新定位城区</view> 40 <view class="thisCityName" data-city="{{city}}" data-code="{{currentCityCode}}">{{city}}</view> 41 42 <view class="hotcity-common">热门城市</view> 43 <view class="weui-grids"> 44 <view class="weui-grid" data-code="110000" data-city="北京市" bindtap="bindCity"> 45 <view class="weui-grid__label">北京市</view> 46 </view> 47 <view class="weui-grid" data-code="310000" data-city="上海市" bindtap="bindCity"> 48 <view class="weui-grid__label">上海市</view> 49 </view> 50 <view class="weui-grid" data-code="440100" data-city="广州市" bindtap="bindCity"> 51 <view class="weui-grid__label">广州市</view> 52 </view> 53 </view> 54 <view class="weui-grids"> 55 <view class="weui-grid" data-code="440300" data-city="深圳市" bindtap="bindCity"> 56 <view class="weui-grid__label">深圳市</view> 57 </view> 58 <view class="weui-grid" data-code="330100" data-city="杭州市" bindtap="bindCity"> 59 <view class="weui-grid__label">杭州市</view> 60 </view> 61 <view class="weui-grid" data-code="320100" data-city="南京市" bindtap="bindCity"> 62 <view class="weui-grid__label">南京市</view> 63 </view> 64 </view> 65 <view class="weui-grids"> 66 <view class="weui-grid" data-code="420100" data-city="武汉市" bindtap="bindCity"> 67 <view class="weui-grid__label">武汉市</view> 68 </view> 69 <view class="weui-grid" data-code="120000" data-city="天津市" bindtap="bindCity"> 70 <view class="weui-grid__label">天津市</view> 71 </view> 72 <view class="weui-grid" data-code="610100" data-city="西安市" bindtap="bindCity"> 73 <view class="weui-grid__label">西安市</view> 74 </view> 75 </view> 76 </view> 77 78 79 <view class="selection" wx:for="{{cityList}}" wx:key="initial"> 80 <view class="item_letter" id="{{item.initial}}">{{item.initial}}</view> 81 <view class="item_city" wx:for="{{item.cityInfo}}" wx:for-item="ct" wx:key="id" data-code="{{ct.code}}" data-city="{{ct.city}}" bindtap="bindCity"> 82 {{ct.city}} 83 </view> 84 </view> 85 86 87 88 </scroll-view> 89 90 </view> 91 </view>
1 const city = require('../../../utils/city.js'); 2 const cityObjs = require('../../../utils/city.js'); 3 const config = require('../../../utils/config.js'); 4 const appInstance = getApp(); 5 Page({ 6 data: { 7 searchLetter: [], 8 showLetter: "", 9 winHeight: 0, 10 cityList: [], 11 isShowLetter: false, 12 scrollTop: 0,//置顶高度 13 scrollTopId: '',//置顶id 14 city: "定位中", 15 currentCityCode: '', 16 hotcityList: [{ cityCode: 110000, city: '北京市' }, { cityCode: 310000, city: '上海市' }, { cityCode: 440100, city: '广州市' }, { cityCode: 440300, city: '深圳市' }, { cityCode: 330100, city: '杭州市' }, { cityCode: 320100, city: '南京市' }, { cityCode: 420100, city: '武汉市' }, { cityCode: 120000, city: '天津市' }, { cityCode: 610100, city: '西安市' },], 17 commonCityList: [{ cityCode: 110000, city: '北京市' }, { cityCode: 310000, city: '上海市' }], 18 countyList: [{ cityCode: 110000, county: 'A区' }, { cityCode: 310000, county: 'B区' }, { cityCode: 440100, county: 'C区' }, { cityCode: 440300, county: 'D区' }, { cityCode: 330100, county: 'E县' }, { cityCode: 320100, county: 'F县' }, { cityCode: 420100, county: 'G县' }], 19 inputName: '', 20 completeList: [], 21 county: '', 22 condition: false, 23 }, 24 onLoad: function () { 25 // 生命周期函数--监听页面加载 26 const searchLetter = city.searchLetter; 27 const cityList = city.cityList(); 28 const sysInfo = wx.getSystemInfoSync(); 29 console.log(sysInfo); 30 const winHeight = sysInfo.windowHeight; 31 const itemH = winHeight / searchLetter.length; 32 let tempArr = []; 33 34 searchLetter.map( 35 (item, index) => { 36 // console.log(item); 37 // console.log(index); 38 let temp = {}; 39 temp.name = item; 40 temp.tHeight = index * itemH; 41 temp.bHeight = (index + 1) * itemH; 42 tempArr.push(temp) 43 } 44 ); 45 // console.log(tempArr); 46 this.setData({ 47 winHeight: winHeight, 48 itemH: itemH, 49 searchLetter: tempArr, 50 cityList: cityList 51 }); 52 53 this.getLocation(); 54 55 }, 56 onReady: function () { 57 // 生命周期函数--监听页面初次渲染完成 58 59 }, 60 onShow: function () { 61 // 生命周期函数--监听页面显示 62 63 }, 64 onHide: function () { 65 // 生命周期函数--监听页面隐藏 66 67 }, 68 onUnload: function () { 69 // 生命周期函数--监听页面卸载 70 71 }, 72 onPullDownRefresh: function () { 73 // 页面相关事件处理函数--监听用户下拉动作 74 75 }, 76 onReachBottom: function () { 77 // 页面上拉触底事件的处理函数 78 79 }, 80 81 clickLetter: function (e) { 82 // console.log(e); 83 console.log(e.currentTarget.dataset.letter) 84 const showLetter = e.currentTarget.dataset.letter; 85 this.setData({ 86 toastShowLetter: showLetter, 87 isShowLetter: true, 88 scrollTopId: showLetter, 89 }) 90 // const that = this; 91 // wx.showToast({ 92 // title: showLetter, 93 // disabled: true, 94 // duration: 500, 95 // complete: function() { 96 // that.setData({ 97 // scrollTopId: showLetter, 98 // }) 99 // } 100 // }) 101 const that = this; 102 setTimeout(function () { 103 that.setData({ 104 isShowLetter: false 105 }) 106 }, 500) 107 }, 108 reGetLocation: function () { 109 appInstance.globalData.defaultCity = this.data.city 110 appInstance.globalData.defaultCounty = this.data.county 111 console.log(appInstance.globalData.defaultCity); 112 //返回首页 113 wx.switchTab({ 114 url: '../Travel/TravelHome' 115 }) 116 }, 117 //选择城市 118 bindCity: function (e) { 119 // console.log("bindCity"); 120 // console.log(e); 121 this.setData({ 122 condition: true, 123 city: e.currentTarget.dataset.city, 124 currentCityCode: e.currentTarget.dataset.code, 125 scrollTop: 0, 126 completeList: [], 127 }) 128 this.selectCounty() 129 130 appInstance.globalData.defaultCity = this.data.city 131 appInstance.globalData.defaultCounty = '' 132 console.log(appInstance.globalData.defaultCity) 133 }, 134 135 bindCounty: function (e) { 136 console.log(e); 137 this.setData({ county: e.currentTarget.dataset.city }) 138 appInstance.globalData.defaultCounty = this.data.county 139 console.log(appInstance.globalData.defaultCounty); 140 141 wx.switchTab({ 142 url: '../Travel/TravelHome' 143 }) 144 }, 145 146 //点击热门城市回到顶部 147 hotCity: function () { 148 console.log("hotCity"); 149 this.setData({ 150 scrollTop: 0, 151 }) 152 }, 153 bindScroll: function (e) { 154 // console.log(e.detail) 155 }, 156 selectCounty: function () { 157 console.log("正在定位区县"); 158 let code = this.data.currentCityCode 159 // console.log(code); 160 const that = this; 161 wx.request({ 162 url: `https://apis.map.qq.com/ws/district/v1/getchildren?&id=${code}&key=${config.key}`, 163 success: function (res) { 164 // console.log(res.data) 165 // console.log(res.data.result[0]); 166 that.setData({ 167 countyList: res.data.result[0], 168 }) 169 // console.log(that.data.countyList); 170 console.log("请求区县成功" + `https://apis.map.qq.com/ws/district/v1/getchildren?&id=${code}&key=${config.key}`); 171 // console.log(res) 172 }, 173 fail: function () { 174 console.log("请求区县失败,请重试"); 175 } 176 }) 177 }, 178 getLocation: function () { 179 console.log("正在定位城市"); 180 this.setData({ 181 county: '' 182 }) 183 const that = this; 184 wx.getLocation({ 185 type: 'wgs84', 186 success: function (res) { 187 let latitude = res.latitude 188 let longitude = res.longitude 189 wx.request({ 190 url: `https://apis.map.qq.com/ws/geocoder/v1/?location=${latitude},${longitude}&key=${config.key}`, 191 success: res => { 192 console.log(res) 193 // console.log(res.data.result.ad_info.city+res.data.result.ad_info.adcode); 194 that.setData({ 195 city: res.data.result.ad_info.city, 196 currentCityCode: res.data.result.ad_info.adcode, 197 county: res.data.result.ad_info.district 198 }) 199 that.selectCounty(); 200 } 201 }) 202 } 203 }) 204 }, 205 bindBlur: function (e) { 206 this.setData({ 207 inputName: '' 208 }) 209 }, 210 bindKeyInput: function (e) { 211 // console.log("input: " + e.detail.value); 212 this.setData({ 213 inputName: e.detail.value 214 }) 215 this.auto() 216 }, 217 auto: function () { 218 let inputSd = this.data.inputName.trim() 219 let sd = inputSd.toLowerCase() 220 let num = sd.length 221 const cityList = cityObjs.cityObjs 222 // console.log(cityList.length) 223 let finalCityList = [] 224 225 let temp = cityList.filter( 226 item => { 227 let text = item.short.slice(0, num).toLowerCase() 228 return (text && text == sd) 229 } 230 ) 231 //在城市数据中,添加简拼到“shorter”属性,就可以实现简拼搜索 232 let tempShorter = cityList.filter( 233 itemShorter => { 234 if (itemShorter.shorter) { 235 let textShorter = itemShorter.shorter.slice(0, num).toLowerCase() 236 return (textShorter && textShorter == sd) 237 } 238 return 239 } 240 ) 241 242 let tempChinese = cityList.filter( 243 itemChinese => { 244 let textChinese = itemChinese.city.slice(0, num) 245 return (textChinese && textChinese == sd) 246 } 247 ) 248 249 if (temp[0]) { 250 temp.map( 251 item => { 252 let testObj = {}; 253 testObj.city = item.city 254 testObj.code = item.code 255 finalCityList.push(testObj) 256 } 257 ) 258 this.setData({ 259 completeList: finalCityList, 260 }) 261 } else if (tempShorter[0]) { 262 tempShorter.map( 263 item => { 264 let testObj = {}; 265 testObj.city = item.city 266 testObj.code = item.code 267 finalCityList.push(testObj) 268 } 269 ); 270 this.setData({ 271 completeList: finalCityList, 272 }) 273 } else if (tempChinese[0]) { 274 tempChinese.map( 275 item => { 276 let testObj = {}; 277 testObj.city = item.city 278 testObj.code = item.code 279 finalCityList.push(testObj) 280 }) 281 this.setData({ 282 completeList: finalCityList, 283 }) 284 } else { 285 return 286 } 287 }, 288 })
1 .container-inner { 2 display: flex; 3 flex-direction: row-reverse; 4 } 5 6 .container { 7 flex-grow: 1; 8 display: flex; 9 flex-direction: column; 10 padding: 10rpx; 11 12 } 13 14 input { 15 text-align: center; 16 font-size: 32rpx; 17 padding: 5px; 18 } 19 20 .searchLetter { 21 flex-shrink: 0; 22 width: 80rpx; 23 text-align: center; 24 display: flex; 25 flex-direction: column; 26 color: #666; 27 } 28 29 .searchLetter view { 30 margin-top: 20rpx; 31 } 32 33 .touchClass { 34 background-color: #fff; 35 color: #fff; 36 padding-top: 16rpx; 37 padding-bottom: 16rpx; 38 } 39 40 .showSlectedLetter { 41 background-color: rgba(0, 0, 0, 0.5); 42 color: #fff; 43 display: flex; 44 justify-content: center; 45 align-items: center; 46 position: fixed; 47 top: 50%; 48 left: 50%; 49 margin: -100rpx; 50 width: 200rpx; 51 height: 200rpx; 52 border-radius: 20rpx; 53 font-size: 52rpx; 54 z-index: 1; 55 } 56 57 .selection { 58 display: flex; 59 width: 100%; 60 flex-direction: column; 61 margin-top: 10rpx; 62 } 63 64 .selectCity { 65 padding: 16rpx; 66 background-color: #f5f5f5; 67 margin-bottom: -10rpx; 68 } 69 70 .item_letter { 71 display: flex; 72 background-color: #f5f5f5; 73 height: 40rpx; 74 padding-left: 34rpx; 75 align-items: center; 76 font-size: 24rpx; 77 color: #666; 78 } 79 80 .item_city { 81 display: flex; 82 background-color: #fff; 83 height: 100rpx; 84 padding-left: 34rpx; 85 align-items: center; 86 border-bottom: 1rpx solid #ededed; 87 font-size: 24rpx; 88 color: #666; 89 } 90 91 .hotcity-common { 92 font-size: 24rpx; 93 color: #666; 94 padding-bottom: 0; 95 margin: 8rpx 0; 96 margin-left: 16rpx; 97 } 98 99 .hotCity { 100 padding-right: 50rpx; 101 margin: auto; 102 } 103 104 .thisCityName { 105 display: inline-block; 106 border: 1rpx solid #FEC240; 107 border-radius: 8rpx; 108 padding: 10rpx 0; 109 font-size: 24rpx; 110 color: #FEC240; 111 text-align: center; 112 min-width: 149.5rpx; 113 margin: 16rpx 0; 114 } 115 116 .thishotText { 117 color: #FEC240; 118 font-size: 20rpx; 119 margin: 0 !important; 120 } 121 122 .slectCity { 123 border-color: #FEC240 !important; 124 } 125 126 .slectCity view { 127 color: #FEC240 !important; 128 } 129 130 .weui-grid { 131 padding: 10rpx 0; 132 width: 200rpx; 133 box-sizing: border-box; 134 border: 1rpx solid #ececec; 135 border-radius: 8rpx; 136 background-color: white; 137 margin: 8rpx 0; 138 } 139 140 .weui-grids { 141 display: flex; 142 flex-direction: row; 143 justify-content: space-between; 144 } 145 146 .weui-grid__label { 147 display: block; 148 text-align: center; 149 color: #333; 150 font-size: 24rpx; 151 white-space: nowrap; 152 text-overflow: ellipsis; 153 overflow: hidden; 154 } 155 156 .ul { 157 display: block; 158 color: grey; 159 margin-left: 20rpx; 160 } 161 162 .li { 163 display: block; 164 font-weight: 100; 165 font-size: 28rpx; 166 padding: 16rpx 0; 167 } 168 169 input { 170 background-color: #eee; 171 } 172 173 .input { 174 padding: 16rpx; 175 border-bottom: 1rpx solid #f1f1f1; 176 } 177 178 .county { 179 display: flex; 180 flex-wrap: wrap; 181 }
下面是引用得两个js
1 const cityObj = [{ "id": "35", "provincecode": "150000", "city": "\u963f\u62c9\u5584\u76df", "code": "152900", "initial": "A" }, 2 { "id": "38", "provincecode": "210000", "city": "\u978d\u5c71\u5e02", "code": "210300", "initial": "A" }, 3 { "id": "105", "provincecode": "340000", "city": "\u5b89\u5e86\u5e02", "code": "340800", "initial": "A" }, 4 { "id": "156", "provincecode": "410000", "city": "\u5b89\u9633\u5e02", "code": "410500", "initial": "A" }, 5 { "id": "256", "provincecode": "510000", "city": "\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde", "code": "513200", "initial": "A" }, 6 { "id": "262", "provincecode": "520000", "city": "\u5b89\u987a\u5e02", "code": "520400", "initial": "A" }, 7 { "id": "289", "provincecode": "540000", "city": "\u963f\u91cc\u5730\u533a", "code": "542500", "initial": "A" }, 8 { "id": "299", "provincecode": "610000", "city": "\u5b89\u5eb7\u5e02", "code": "610900", "initial": "A" }, 9 { "id": "335", "provincecode": "650000", "city": "\u963f\u514b\u82cf\u5730\u533a", "code": "652900", "initial": "A" }, 10 { "id": "341", "provincecode": "650000", "city": "\u963f\u52d2\u6cf0\u5730\u533a", "code": "654300", "initial": "A" }, 11 { "id": "1", "provincecode": "110000", "city": "\u5317\u4eac\u5e02", "code": "110000", "initial": "B" }, { "id": "7", "provincecode": "130000", "city": "\u4fdd\u5b9a\u5e02", "code": "130600", "initial": "B" }, { "id": "25", "provincecode": "150000", "city": "\u5305\u5934\u5e02", "code": "150200", "initial": "B" }, { "id": "31", "provincecode": "150000", "city": "\u5df4\u5f66\u6dd6\u5c14\u5e02", "code": "150800", "initial": "B" }, { "id": "40", "provincecode": "210000", "city": "\u672c\u6eaa\u5e02", "code": "210500", "initial": "B" }, { "id": "55", "provincecode": "220000", "city": "\u767d\u5c71\u5e02", "code": "220600", "initial": "B" }, { "id": "57", "provincecode": "220000", "city": "\u767d\u57ce\u5e02", "code": "220800", "initial": "B" }, { "id": "100", "provincecode": "340000", "city": "\u868c\u57e0\u5e02", "code": "340300", "initial": "B" }, { "id": "150", "provincecode": "370000", "city": "\u6ee8\u5dde\u5e02", "code": "371600", "initial": "B" }, { "id": "222", "provincecode": "450000", "city": "\u5317\u6d77\u5e02", "code": "450500", "initial": "B" }, { "id": "227", "provincecode": "450000", "city": "\u767e\u8272\u5e02", "code": "451000", "initial": "B" }, { "id": "254", "provincecode": "510000", "city": "\u5df4\u4e2d\u5e02", "code": "511900", "initial": "B" }, { "id": "265", "provincecode": "520000", "city": "\u6bd5\u8282\u5730\u533a", "code": "522400", "initial": "B" }, { "id": "271", "provincecode": "530000", "city": "\u4fdd\u5c71\u5e02", "code": "530500", "initial": "B" }, { "id": "293", "provincecode": "610000", "city": "\u5b9d\u9e21\u5e02", "code": "610300", "initial": "B" }, { "id": "304", "provincecode": "620000", "city": "\u767d\u94f6\u5e02", "code": "620400", "initial": "B" }, { "id": "333", "provincecode": "650000", "city": "\u535a\u5c14\u5854\u62c9\u8499\u53e4\u81ea\u6cbb\u5dde", "code": "652700", "initial": "B" }, { "id": "334", "provincecode": "650000", "city": "\u5df4\u97f3\u90ed\u695e\u8499\u53e4\u81ea\u6cbb\u5dde", "code": "652800", "initial": "B" }, { "id": "", "provincecode": "500000", "city": "\u91cd\u5e86\u5e02", "code": "500000", "initial": "C" }, { "id": "9", "provincecode": "130000", "city": "\u627f\u5fb7\u5e02", "code": "130800", "initial": "C" }, { "id": "10", "provincecode": "130000", "city": "\u6ca7\u5dde\u5e02", "code": "130900", "initial": "C" }, { "id": "16", "provincecode": "140000", "city": "\u957f\u6cbb\u5e02", "code": "140400", "initial": "C" }, { "id": "27", "provincecode": "150000", "city": "\u8d64\u5cf0\u5e02", "code": "150400", "initial": "C" }, { "id": "48", "provincecode": "210000", "city": "\u671d\u9633\u5e02", "code": "211300", "initial": "C" }, { "id": "50", "provincecode": "220000", "city": "\u957f\u6625\u5e02", "code": "220100", "initial": "C" }, { "id": "77", "provincecode": "320000", "city": "\u5e38\u5dde\u5e02", "code": "320400", "initial": "C" }, { "id": "107", "provincecode": "340000", "city": "\u6ec1\u5dde\u5e02", "code": "341100", "initial": "C" }, { "id": "110", "provincecode": "340000", "city": "\u5de2\u6e56\u5e02", "code": "341400", "initial": "C" }, { "id": "113", "provincecode": "340000", "city": "\u6c60\u5dde\u5e02", "code": "341700", "initial": "C" }, { "id": "183", "provincecode": "430000", "city": "\u957f\u6c99\u5e02", "code": "430100", "initial": "C" }, { "id": "189", "provincecode": "430000", "city": "\u5e38\u5fb7\u5e02", "code": "430700", "initial": "C" }, { "id": "192", "provincecode": "430000", "city": "\u90f4\u5dde\u5e02", "code": "431000", "initial": "C" }, { "id": "215", "provincecode": "440000", "city": "\u6f6e\u5dde\u5e02", "code": "445100", "initial": "C" }, { "id": "231", "provincecode": "450000", "city": "\u5d07\u5de6\u5e02", "code": "451400", "initial": "C" }, { "id": "238", "provincecode": "510000", "city": "\u6210\u90fd\u5e02", "code": "510100", "initial": "C" }, { "id": "276", "provincecode": "530000", "city": "\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde", "code": "532300", "initial": "C" }, { "id": "285", "provincecode": "540000", "city": "\u660c\u90fd\u5730\u533a", "code": "542100", "initial": "C" }, { "id": "332", "provincecode": "650000", "city": "\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde", "code": "652300", "initial": "C" }, { "id": "14", "provincecode": "140000", "city": "\u5927\u540c\u5e02", "code": "140200", "initial": "D" }, { "id": "37", "provincecode": "210000", "city": "\u5927\u8fde\u5e02", "code": "210200", "initial": "D" }, { "id": "41", "provincecode": "210000", "city": "\u4e39\u4e1c\u5e02", "code": "210600", "initial": "D" }, { "id": "64", "provincecode": "230000", "city": "\u5927\u5e86\u5e02", "code": "230600", "initial": "D" }, { "id": "71", "provincecode": "230000", "city": "\u5927\u5174\u5b89\u5cad\u5730\u533a", "code": "232700", "initial": "D" }, { "id": "139", "provincecode": "370000", "city": "\u4e1c\u8425\u5e02", "code": "370500", "initial": "D" }, { "id": "148", "provincecode": "370000", "city": "\u5fb7\u5dde\u5e02", "code": "371400", "initial": "D" }, { "id": "213", "provincecode": "440000", "city": "\u4e1c\u839e\u5e02", "code": "441900", "initial": "D" }, { "id": "242", "provincecode": "510000", "city": "\u5fb7\u9633\u5e02", "code": "510600", "initial": "D" }, { "id": "252", "provincecode": "510000", "city": "\u8fbe\u5dde\u5e02", "code": "511700", "initial": "D" }, { "id": "280", "provincecode": "530000", "city": "\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde", "code": "532900", "initial": "D" }, { "id": "281", "provincecode": "530000", "city": "\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde", "code": "533100", "initial": "D" }, { "id": "283", "provincecode": "530000", "city": "\u8fea\u5e86\u85cf\u65cf\u81ea\u6cbb\u5dde", "code": "533400", "initial": "D" }, { "id": "311", "provincecode": "620000", "city": "\u5b9a\u897f\u5e02", "code": "621100", "initial": "D" }, { "id": "29", "provincecode": "150000", "city": "\u9102\u5c14\u591a\u65af\u5e02", "code": "150600", "initial": "E" }, { "id": "174", "provincecode": "420000", "city": "\u9102\u5dde\u5e02", "code": "420700", "initial": "E" }, { "id": "181", "provincecode": "420000", "city": "\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde", "code": "422800", "initial": "E" }, { "id": "39", "provincecode": "210000", "city": "\u629a\u987a\u5e02", "code": "210400", "initial": "F" }, { "id": "44", "provincecode": "210000", "city": "\u961c\u65b0\u5e02", "code": "210900", "initial": "F" }, { "id": "108", "provincecode": "340000", "city": "\u961c\u9633\u5e02", "code": "341200", "initial": "F" }, { "id": "115", "provincecode": "350000", "city": "\u798f\u5dde\u5e02", "code": "350100", "initial": "F" }, { "id": "133", "provincecode": "360000", "city": "\u629a\u5dde\u5e02", "code": "361000", "initial": "F" }, { "id": "202", "provincecode": "440000", "city": "\u4f5b\u5c71\u5e02", "code": "440600", "initial": "F" }, { "id": "223", "provincecode": "450000", "city": "\u9632\u57ce\u6e2f\u5e02", "code": "450600", "initial": "F" }, { "id": "130", "provincecode": "360000", "city": "\u8d63\u5dde\u5e02", "code": "360700", "initial": "G" }, { "id": "197", "provincecode": "440000", "city": "\u5e7f\u5dde\u5e02", "code": "440100", "initial": "G" }, { "id": "220", "provincecode": "450000", "city": "\u6842\u6797\u5e02", "code": "450300", "initial": "G" }, { "id": "225", "provincecode": "450000", "city": "\u8d35\u6e2f\u5e02", "code": "450800", "initial": "G" }, { "id": "244", "provincecode": "510000", "city": "\u5e7f\u5143\u5e02", "code": "510800", "initial": "G" }, { "id": "251", "provincecode": "510000", "city": "\u5e7f\u5b89\u5e02", "code": "511600", "initial": "G" }, { "id": "257", "provincecode": "510000", "city": "\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde", "code": "513300", "initial": "G" }, { "id": "259", "provincecode": "520000", "city": "\u8d35\u9633\u5e02", "code": "520100", "initial": "G" }, { "id": "314", "provincecode": "620000", "city": "\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde", "code": "623000", "initial": "G" }, { "id": "320", "provincecode": "630000", "city": "\u679c\u6d1b\u85cf\u65cf\u81ea\u6cbb\u5dde", "code": "632600", "initial": "G" }, { "id": "326", "provincecode": "640000", "city": "\u56fa\u539f\u5e02", "code": "640400", "initial": "G" }, { "id": "5", "provincecode": "130000", "city": "\u90af\u90f8\u5e02", "code": "130400", "initial": "H" }, { "id": "12", "provincecode": "130000", "city": "\u8861\u6c34\u5e02", "code": "131100", "initial": "H" }, { "id": "24", "provincecode": "150000", "city": "\u547c\u548c\u6d69\u7279\u5e02", "code": "150100", "initial": "H" }, { "id": "30", "provincecode": "150000", "city": "\u547c\u4f26\u8d1d\u5c14\u5e02", "code": "150700", "initial": "H" }, { "id": "49", "provincecode": "210000", "city": "\u846b\u82a6\u5c9b\u5e02", "code": "211400", "initial": "H" }, { "id": "59", "provincecode": "230000", "city": "\u54c8\u5c14\u6ee8\u5e02", "code": "230100", "initial": "H" }, { "id": "62", "provincecode": "230000", "city": "\u9e64\u5c97\u5e02", "code": "230400", "initial": "H" }, { "id": "69", "provincecode": "230000", "city": "\u9ed1\u6cb3\u5e02", "code": "231100", "initial": "H" }, { "id": "81", "provincecode": "320000", "city": "\u6dee\u5b89\u5e02", "code": "320800", "initial": "H" }, { "id": "87", "provincecode": "330000", "city": "\u676d\u5dde\u5e02", "code": "330100", "initial": "H" }, { "id": "91", "provincecode": "330000", "city": "\u6e56\u5dde\u5e02", "code": "330500", "initial": "H" }, { "id": "98", "provincecode": "340000", "city": "\u5408\u80a5\u5e02", "code": "340100", "initial": "H" }, { "id": "101", "provincecode": "340000", "city": "\u6dee\u5357\u5e02", "code": "340400", "initial": "H" }, { "id": "103", "provincecode": "340000", "city": "\u6dee\u5317\u5e02", "code": "340600", "initial": "H" }, { "id": "106", "provincecode": "340000", "city": "\u9ec4\u5c71\u5e02", "code": "341000", "initial": "H" }, { "id": "112", "provincecode": "340000", "city": "\u4eb3\u5dde\u5e02", "code": "341600", "initial": "H" }, { "id": "151", "provincecode": "370000", "city": "\u8377\u6cfd\u5e02", "code": "371700", "initial": "H" }, { "id": "157", "provincecode": "410000", "city": "\u9e64\u58c1\u5e02", "code": "410600", "initial": "H" }, { "id": "170", "provincecode": "420000", "city": "\u9ec4\u77f3\u5e02", "code": "420200", "initial": "H" }, { "id": "178", "provincecode": "420000", "city": "\u9ec4\u5188\u5e02", "code": "421100", "initial": "H" }, { "id": "186", "provincecode": "430000", "city": "\u8861\u9633\u5e02", "code": "430400", "initial": "H" }, { "id": "194", "provincecode": "430000", "city": "\u6000\u5316\u5e02", "code": "431200", "initial": "H" }, { "id": "207", "provincecode": "440000", "city": "\u60e0\u5dde\u5e02", "code": "441300", "initial": "H" }, { "id": "210", "provincecode": "440000", "city": "\u6cb3\u6e90\u5e02", "code": "441600", "initial": "H" }, { "id": "228", "provincecode": "450000", "city": "\u8d3a\u5dde\u5e02", "code": "451100", "initial": "H" }, { "id": "229", "provincecode": "450000", "city": "\u6cb3\u6c60\u5e02", "code": "451200", "initial": "H" }, { "id": "232", "provincecode": "460000", "city": "\u6d77\u53e3\u5e02", "code": "460100", "initial": "H" }, { "id": "277", "provincecode": "530000", "city": "\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde", "code": "532500", "initial": "H" }, { "id": "297", "provincecode": "610000", "city": "\u6c49\u4e2d\u5e02", "code": "610700", "initial": "H" }, { "id": "316", "provincecode": "630000", "city": "\u6d77\u4e1c\u5730\u533a", "code": "632100", "initial": "H" }, { "id": "317", "provincecode": "630000", "city": "\u6d77\u5317\u85cf\u65cf\u81ea\u6cbb\u5dde", "code": "632200", "initial": "H" }, { "id": "318", "provincecode": "630000", "city": "\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde", "code": "632300", "initial": "H" }, { "id": "319", "provincecode": "630000", "city": "\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde", "code": "632500", "initial": "H" }, { "id": "322", "provincecode": "630000", "city": "\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde", "code": "632800", "initial": "H" }, { "id": "331", "provincecode": "650000", "city": "\u54c8\u5bc6\u5730\u533a", "code": "652200", "initial": "H" }, { "id": "338", "provincecode": "650000", "city": "\u548c\u7530\u5730\u533a", "code": "653200", "initial": "H" }, { "id": "17", "provincecode": "140000", "city": "\u664b\u57ce\u5e02", "code": "140500", "initial": "J" }, { "id": "19", "provincecode": "140000", "city": "\u664b\u4e2d\u5e02", "code": "140700", "initial": "J" }, { "id": "42", "provincecode": "210000", "city": "\u9526\u5dde\u5e02", "code": "210700", "initial": "J" }, { "id": "51", "provincecode": "220000", "city": "\u5409\u6797\u5e02", "code": "220200", "initial": "J" }, { "id": "61", "provincecode": "230000", "city": "\u9e21\u897f\u5e02", "code": "230300", "initial": "J" }, { "id": "66", "provincecode": "230000", "city": "\u4f73\u6728\u65af\u5e02", "code": "230800", "initial": "J" }, { "id": "90", "provincecode": "330000", "city": "\u5609\u5174\u5e02", "code": "330400", "initial": "J" }, { "id": "93", "provincecode": "330000", "city": "\u91d1\u534e\u5e02", "code": "330700", "initial": "J" }, { "id": "125", "provincecode": "360000", "city": "\u666f\u5fb7\u9547\u5e02", "code": "360200", "initial": "J" }, { "id": "127", "provincecode": "360000", "city": "\u4e5d\u6c5f\u5e02", "code": "360400", "initial": "J" }, { "id": "131", "provincecode": "360000", "city": "\u5409\u5b89\u5e02", "code": "360800", "initial": "J" }, { "id": "135", "provincecode": "370000", "city": "\u6d4e\u5357\u5e02", "code": "370100", "initial": "J" }, { "id": "142", "provincecode": "370000", "city": "\u6d4e\u5b81\u5e02", "code": "370800", "initial": "J" }, { "id": "159", "provincecode": "410000", "city": "\u7126\u4f5c\u5e02", "code": "410800", "initial": "J" }, { "id": "175", "provincecode": "420000", "city": "\u8346\u95e8\u5e02", "code": "420800", "initial": "J" }, { "id": "177", "provincecode": "420000", "city": "\u8346\u5dde\u5e02", "code": "421000", "initial": "J" }, { "id": "203", "provincecode": "440000", "city": "\u6c5f\u95e8\u5e02", "code": "440700", "initial": "J" }, { "id": "216", "provincecode": "440000", "city": "\u63ed\u9633\u5e02", "code": "445200", "initial": "J" }, { "id": "302", "provincecode": "620000", "city": "\u5609\u5cea\u5173\u5e02", "code": "620200", "initial": "J" }, { "id": "303", "provincecode": "620000", "city": "\u91d1\u660c\u5e02", "code": "620300", "initial": "J" }, { "id": "309", "provincecode": "620000", "city": "\u9152\u6cc9\u5e02", "code": "620900", "initial": "J" }, { "id": "153", "provincecode": "410000", "city": "\u5f00\u5c01\u5e02", "code": "410200", "initial": "K" }, { "id": "268", "provincecode": "530000", "city": "\u6606\u660e\u5e02", "code": "530100", "initial": "K" }, { "id": "329", "provincecode": "650000", "city": "\u514b\u62c9\u739b\u4f9d\u5e02", "code": "650200", "initial": "K" }, { "id": "336", "provincecode": "650000", "city": "\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde", "code": "653000", "initial": "K" }, { "id": "337", "provincecode": "650000", "city": "\u5580\u4ec0\u5730\u533a", "code": "653100", "initial": "K" }, { "id": "11", "provincecode": "130000", "city": "\u5eca\u574a\u5e02", "code": "131000", "initial": "L" }, { "id": "22", "provincecode": "140000", "city": "\u4e34\u6c7e\u5e02", "code": "141000", "initial": "L" }, { "id": "23", "provincecode": "140000", "city": "\u5415\u6881\u5e02", "code": "141100", "initial": "L" }, { "id": "45", "provincecode": "210000", "city": "\u8fbd\u9633\u5e02", "code": "211000", "initial": "L" }, { "id": "53", "provincecode": "220000", "city": "\u8fbd\u6e90\u5e02", "code": "220400", "initial": "L" }, { "id": "80", "provincecode": "320000", "city": "\u8fde\u4e91\u6e2f\u5e02", "code": "320700", "initial": "L" }, { "id": "97", "provincecode": "330000", "city": "\u4e3d\u6c34\u5e02", "code": "331100", "initial": "L" }, { "id": "111", "provincecode": "340000", "city": "\u516d\u5b89\u5e02", "code": "341500", "initial": "L" }, { "id": "122", "provincecode": "350000", "city": "\u9f99\u5ca9\u5e02", "code": "350800", "initial": "L" }, { "id": "146", "provincecode": "370000", "city": "\u83b1\u829c\u5e02", "code": "371200", "initial": "L" }, { "id": "147", "provincecode": "370000", "city": "\u4e34\u6c82\u5e02", "code": "371300", "initial": "L" }, { "id": "149", "provincecode": "370000", "city": "\u804a\u57ce\u5e02", "code": "371500", "initial": "L" }, { "id": "154", "provincecode": "410000", "city": "\u6d1b\u9633\u5e02", "code": "410300", "initial": "L" }, { "id": "162", "provincecode": "410000", "city": "\u6f2f\u6cb3\u5e02", "code": "411100", "initial": "L" }, { "id": "195", "provincecode": "430000", "city": "\u5a04\u5e95\u5e02", "code": "431300", "initial": "L" }, { "id": "219", "provincecode": "450000", "city": "\u67f3\u5dde\u5e02", "code": "450200", "initial": "L" }, { "id": "230", "provincecode": "450000", "city": "\u6765\u5bbe\u5e02", "code": "451300", "initial": "L" }, { "id": "241", "provincecode": "510000", "city": "\u6cf8\u5dde\u5e02", "code": "510500", "initial": "L" }, { "id": "247", "provincecode": "510000", "city": "\u4e50\u5c71\u5e02", "code": "511100", "initial": "L" }, { "id": "258", "provincecode": "510000", "city": "\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde", "code": "513400", "initial": "L" }, { "id": "260", "provincecode": "520000", "city": "\u516d\u76d8\u6c34\u5e02", "code": "520200", "initial": "L" }, { "id": "273", "provincecode": "530000", "city": "\u4e3d\u6c5f\u5e02", "code": "530700", "initial": "L" }, { "id": "275", "provincecode": "530000", "city": "\u4e34\u6ca7\u5e02", "code": "530900", "initial": "L" }, { "id": "284", "provincecode": "540000", "city": "\u62c9\u8428\u5e02", "code": "540100", "initial": "L" }, { "id": "290", "provincecode": "540000", "city": "\u6797\u829d\u5730\u533a", "code": "542600", "initial": "L" }, { "id": "301", "provincecode": "620000", "city": "\u5170\u5dde\u5e02", "code": "620100", "initial": "L" }, { "id": "312", "provincecode": "620000", "city": "\u9647\u5357\u5e02", "code": "621200", "initial": "L" }, { "id": "313", "provincecode": "620000", "city": "\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde", "code": "622900", "initial": "L" }, { "id": "68", "provincecode": "230000", "city": "\u7261\u4e39\u6c5f\u5e02", "code": "231000", "initial": "M" }, { "id": "102", "provincecode": "340000", "city": "\u9a6c\u978d\u5c71\u5e02", "code": "340500", "initial": "M" }, { "id": "205", "provincecode": "440000", "city": "\u8302\u540d\u5e02", "code": "440900", "initial": "M" }, { "id": "208", "provincecode": "440000", "city": "\u6885\u5dde\u5e02", "code": "441400", "initial": "M" }, { "id": "243", "provincecode": "510000", "city": "\u7ef5\u9633\u5e02", "code": "510700", "initial": "M" }, { "id": "249", "provincecode": "510000", "city": "\u7709\u5c71\u5e02", "code": "511400", "initial": "M" }, { "id": "74", "provincecode": "320000", "city": "\u5357\u4eac\u5e02", "code": "320100", "initial": "N" }, { "id": "79", "provincecode": "320000", "city": "\u5357\u901a\u5e02", "code": "320600", "initial": "N" }, { "id": "88", "provincecode": "330000", "city": "\u5b81\u6ce2\u5e02", "code": "330200", "initial": "N" }, { "id": "121", "provincecode": "350000", "city": "\u5357\u5e73\u5e02", "code": "350700", "initial": "N" }, { "id": "123", "provincecode": "350000", "city": "\u5b81\u5fb7\u5e02", "code": "350900", "initial": "N" }, { "id": "124", "provincecode": "360000", "city": "\u5357\u660c\u5e02", "code": "360100", "initial": "N" }, { "id": "164", "provincecode": "410000", "city": "\u5357\u9633\u5e02", "code": "411300", "initial": "N" }, { "id": "218", "provincecode": "450000", "city": "\u5357\u5b81\u5e02", "code": "450100", "initial": "N" }, { "id": "246", "provincecode": "510000", "city": "\u5185\u6c5f\u5e02", "code": "511000", "initial": "N" }, { "id": "248", "provincecode": "510000", "city": "\u5357\u5145\u5e02", "code": "511300", "initial": "N" }, { "id": "282", "provincecode": "530000", "city": "\u6012\u6c5f\u5088\u50f3\u65cf\u81ea\u6cbb\u5dde", "code": "533300", "initial": "N" }, { "id": "288", "provincecode": "540000", "city": "\u90a3\u66f2\u5730\u533a", "code": "542400", "initial": "N" }, { "id": "46", "provincecode": "210000", "city": "\u76d8\u9526\u5e02", "code": "211100", "initial": "P" }, { "id": "117", "provincecode": "350000", "city": "\u8386\u7530\u5e02", "code": "350300", "initial": "P" }, { "id": "126", "provincecode": "360000", "city": "\u840d\u4e61\u5e02", "code": "360300", "initial": "P" }, { "id": "155", "provincecode": "410000", "city": "\u5e73\u9876\u5c71\u5e02", "code": "410400", "initial": "P" }, { "id": "160", "provincecode": "410000", "city": "\u6fee\u9633\u5e02", "code": "410900", "initial": "P" }, { "id": "240", "provincecode": "510000", "city": "\u6500\u679d\u82b1\u5e02", "code": "510400", "initial": "P" }, { "id": "308", "provincecode": "620000", "city": "\u5e73\u51c9\u5e02", "code": "620800", "initial": "P" }, { "id": "4", "provincecode": "130000", "city": "\u79e6\u7687\u5c9b\u5e02", "code": "130300", "initial": "Q" }, { "id": "60", "provincecode": "230000", "city": "\u9f50\u9f50\u54c8\u5c14\u5e02", "code": "230200", "initial": "Q" }, { "id": "67", "provincecode": "230000", "city": "\u4e03\u53f0\u6cb3\u5e02", "code": "230900", "initial": "Q" }, { "id": "94", "provincecode": "330000", "city": "\u8862\u5dde\u5e02", "code": "330800", "initial": "Q" }, { "id": "119", "provincecode": "350000", "city": "\u6cc9\u5dde\u5e02", "code": "350500", "initial": "Q" }, { "id": "136", "provincecode": "370000", "city": "\u9752\u5c9b\u5e02", "code": "370200", "initial": "Q" }, { "id": "212", "provincecode": "440000", "city": "\u6e05\u8fdc\u5e02", "code": "441800", "initial": "Q" }, { "id": "224", "provincecode": "450000", "city": "\u94a6\u5dde\u5e02", "code": "450700", "initial": "Q" }, { "id": "264", "provincecode": "520000", "city": "\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde", "code": "522300", "initial": "Q" }, { "id": "266", "provincecode": "520000", "city": "\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde", "code": "522600", "initial": "Q" }, { "id": "267", "provincecode": "520000", "city": "\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde", "code": "522700", "initial": "Q" }, { "id": "269", "provincecode": "530000", "city": "\u66f2\u9756\u5e02", "code": "530300", "initial": "Q" }, { "id": "310", "provincecode": "620000", "city": "\u5e86\u9633\u5e02", "code": "621000", "initial": "Q" }, { "id": "145", "provincecode": "370000", "city": "\u65e5\u7167\u5e02", "code": "371100", "initial": "R" }, { "id": "287", "provincecode": "540000", "city": "\u65e5\u5580\u5219\u5730\u533a", "code": "542300", "initial": "R" }, { "id": "2", "provincecode": "130000", "city": "\u77f3\u5bb6\u5e84\u5e02", "code": "130100", "initial": "S" }, { "id": "", "provincecode": "310000", "city": "\u4e0a\u6d77\u5e02", "code": "310000", "initial": "S" }, { "id": "18", "provincecode": "140000", "city": "\u6714\u5dde\u5e02", "code": "140600", "initial": "S" }, { "id": "36", "provincecode": "210000", "city": "\u6c88\u9633\u5e02", "code": "210100", "initial": "S" }, { "id": "52", "provincecode": "220000", "city": "\u56db\u5e73\u5e02", "code": "220300", "initial": "S" }, { "id": "56", "provincecode": "220000", "city": "\u677e\u539f\u5e02", "code": "220700", "initial": "S" }, { "id": "63", "provincecode": "230000", "city": "\u53cc\u9e2d\u5c71\u5e02", "code": "230500", "initial": "S" }, { "id": "70", "provincecode": "230000", "city": "\u7ee5\u5316\u5e02", "code": "231200", "initial": "S" }, { "id": "78", "provincecode": "320000", "city": "\u82cf\u5dde\u5e02", "code": "320500", "initial": "S" }, { "id": "86", "provincecode": "320000", "city": "\u5bbf\u8fc1\u5e02", "code": "321300", "initial": "S" }, { "id": "92", "provincecode": "330000", "city": "\u7ecd\u5174\u5e02", "code": "330600", "initial": "S" }, { "id": "109", "provincecode": "340000", "city": "\u5bbf\u5dde\u5e02", "code": "341300", "initial": "S" }, { "id": "118", "provincecode": "350000", "city": "\u4e09\u660e\u5e02", "code": "350400", "initial": "S" }, { "id": "134", "provincecode": "360000", "city": "\u4e0a\u9976\u5e02", "code": "361100", "initial": "S" }, { "id": "163", "provincecode": "410000", "city": "\u4e09\u95e8\u5ce1\u5e02", "code": "411200", "initial": "S" }, { "id": "165", "provincecode": "410000", "city": "\u5546\u4e18\u5e02", "code": "411400", "initial": "S" }, { "id": "171", "provincecode": "420000", "city": "\u5341\u5830\u5e02", "code": "420300", "initial": "S" }, { "id": "180", "provincecode": "420000", "city": "\u968f\u5dde\u5e02", "code": "421300", "initial": "S" }, { "id": "187", "provincecode": "430000", "city": "\u90b5\u9633\u5e02", "code": "430500", "initial": "S" }, { "id": "198", "provincecode": "440000", "city": "\u97f6\u5173\u5e02", "code": "440200", "initial": "S" }, { "id": "199", "provincecode": "440000", "city": "\u6df1\u5733\u5e02", "code": "440300", "initial": "S" }, { "id": "201", "provincecode": "440000", "city": "\u6c55\u5934\u5e02", "code": "440500", "initial": "S" }, { "id": "209", "provincecode": "440000", "city": "\u6c55\u5c3e\u5e02", "code": "441500", "initial": "S" }, { "id": "233", "provincecode": "460000", "city": "\u4e09\u4e9a\u5e02", "code": "460200", "initial": "S" }, { "id": "245", "provincecode": "510000", "city": "\u9042\u5b81\u5e02", "code": "510900", "initial": "S" }, { "id": "274", "provincecode": "530000", "city": "\u666e\u6d31\u5e02", "code": "530800", "initial": "P" }, { "id": "286", "provincecode": "540000", "city": "\u5c71\u5357\u5730\u533a", "code": "542200", "initial": "S" }, { "id": "300", "provincecode": "610000", "city": "\u5546\u6d1b\u5e02", "code": "611000", "initial": "S" }, { "id": "324", "provincecode": "640000", "city": "\u77f3\u5634\u5c71\u5e02", "code": "640200", "initial": "S" }, { "id": "3", "provincecode": "130000", "city": "\u5510\u5c71\u5e02", "code": "130200", "initial": "T" }, { "id": "13", "provincecode": "140000", "city": "\u592a\u539f\u5e02", "code": "140100", "initial": "T" }, { "id": "28", "provincecode": "150000", "city": "\u901a\u8fbd\u5e02", "code": "150500", "initial": "T" }, { "id": "47", "provincecode": "210000", "city": "\u94c1\u5cad\u5e02", "code": "211200", "initial": "T" }, { "id": "54", "provincecode": "220000", "city": "\u901a\u5316\u5e02", "code": "220500", "initial": "T" }, { "id": "85", "provincecode": "320000", "city": "\u6cf0\u5dde\u5e02", "code": "321200", "initial": "T" }, { "id": "96", "provincecode": "330000", "city": "\u53f0\u5dde\u5e02", "code": "331000", "initial": "T" }, { "id": "104", "provincecode": "340000", "city": "\u94dc\u9675\u5e02", "code": "340700", "initial": "T" }, { "id": "143", "provincecode": "370000", "city": "\u6cf0\u5b89\u5e02", "code": "370900", "initial": "T" }, { "id": "263", "provincecode": "520000", "city": "\u94dc\u4ec1\u5730\u533a", "code": "522200", "initial": "T" }, { "id": "292", "provincecode": "610000", "city": "\u94dc\u5ddd\u5e02", "code": "610200", "initial": "T" }, { "id": "305", "provincecode": "620000", "city": "\u5929\u6c34\u5e02", "code": "620500", "initial": "T" }, { "id": "330", "provincecode": "650000", "city": "\u5410\u9c81\u756a\u5730\u533a", "code": "652100", "initial": "T" }, { "id": "340", "provincecode": "650000", "city": "\u5854\u57ce\u5730\u533a", "code": "654200", "initial": "T" }, { "id": "343", "provincecode": "120000", "city": "\u5929\u6d25\u5e02", "code": "120000", "initial": "T" }, { "id": "26", "provincecode": "150000", "city": "\u4e4c\u6d77\u5e02", "code": "150300", "initial": "W" }, { "id": "32", "provincecode": "150000", "city": "\u4e4c\u5170\u5bdf\u5e03\u5e02", "code": "150900", "initial": "W" }, { "id": "75", "provincecode": "320000", "city": "\u65e0\u9521\u5e02", "code": "320200", "initial": "W" }, { "id": "89", "provincecode": "330000", "city": "\u6e29\u5dde\u5e02", "code": "330300", "initial": "W" }, { "id": "99", "provincecode": "340000", "city": "\u829c\u6e56\u5e02", "code": "340200", "initial": "W" }, { "id": "141", "provincecode": "370000", "city": "\u6f4d\u574a\u5e02", "code": "370700", "initial": "W" }, { "id": "144", "provincecode": "370000", "city": "\u5a01\u6d77\u5e02", "code": "371000", "initial": "W" }, { "id": "169", "provincecode": "420000", "city": "\u6b66\u6c49\u5e02", "code": "420100", "initial": "W" }, { "id": "221", "provincecode": "450000", "city": "\u68a7\u5dde\u5e02", "code": "450400", "initial": "W" }, { "id": "278", "provincecode": "530000", "city": "\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde", "code": "532600", "initial": "W" }, { "id": "295", "provincecode": "610000", "city": "\u6e2d\u5357\u5e02", "code": "610500", "initial": "W" }, { "id": "306", "provincecode": "620000", "city": "\u6b66\u5a01\u5e02", "code": "620600", "initial": "W" }, { "id": "325", "provincecode": "640000", "city": "\u5434\u5fe0\u5e02", "code": "640300", "initial": "W" }, { "id": "328", "provincecode": "650000", "city": "\u4e4c\u9c81\u6728\u9f50\u5e02", "code": "650100", "initial": "W" }, { "id": "6", "provincecode": "130000", "city": "\u90a2\u53f0\u5e02", "code": "130500", "initial": "X" }, { "id": "21", "provincecode": "140000", "city": "\u5ffb\u5dde\u5e02", "code": "140900", "initial": "X" }, { "id": "33", "provincecode": "150000", "city": "\u5174\u5b89\u76df", "code": "152200", "initial": "X" }, { "id": "34", "provincecode": "150000", "city": "\u9521\u6797\u90ed\u52d2\u76df", "code": "152500", "initial": "X" }, { "id": "76", "provincecode": "320000", "city": "\u5f90\u5dde\u5e02", "code": "320300", "initial": "X" }, { "id": "114", "provincecode": "340000", "city": "\u5ba3\u57ce\u5e02", "code": "341800", "initial": "X" }, { "id": "116", "provincecode": "350000", "city": "\u53a6\u95e8\u5e02", "code": "350200", "initial": "X" }, { "id": "128", "provincecode": "360000", "city": "\u65b0\u4f59\u5e02", "code": "360500", "initial": "X" }, { "id": "158", "provincecode": "410000", "city": "\u65b0\u4e61\u5e02", "code": "410700", "initial": "X" }, { "id": "161", "provincecode": "410000", "city": "\u8bb8\u660c\u5e02", "code": "411000", "initial": "X" }, { "id": "166", "provincecode": "410000", "city": "\u4fe1\u9633\u5e02", "code": "411500", "initial": "X" }, { "id": "173", "provincecode": "420000", "city": "\u8944\u6a0a\u5e02", "code": "420600", "initial": "X" }, { "id": "176", "provincecode": "420000", "city": "\u5b5d\u611f\u5e02", "code": "420900", "initial": "X" }, { "id": "179", "provincecode": "420000", "city": "\u54b8\u5b81\u5e02", "code": "421200", "initial": "X" }, { "id": "185", "provincecode": "430000", "city": "\u6e58\u6f6d\u5e02", "code": "430300", "initial": "X" }, { "id": "196", "provincecode": "430000", "city": "\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde", "code": "433100", "initial": "X" }, { "id": "279", "provincecode": "530000", "city": "\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde", "code": "532800", "initial": "X" }, { "id": "291", "provincecode": "610000", "city": "\u897f\u5b89\u5e02", "code": "610100", "initial": "X" }, { "id": "294", "provincecode": "610000", "city": "\u54b8\u9633\u5e02", "code": "610400", "initial": "X" }, { "id": "315", "provincecode": "630000", "city": "\u897f\u5b81\u5e02", "code": "630100", "initial": "X" }, { "id": "15", "provincecode": "140000", "city": "\u9633\u6cc9\u5e02", "code": "140300", "initial": "Y" }, { "id": "20", "provincecode": "140000", "city": "\u8fd0\u57ce\u5e02", "code": "140800", "initial": "Y" }, { "id": "43", "provincecode": "210000", "city": "\u8425\u53e3\u5e02", "code": "210800", "initial": "Y" }, { "id": "58", "provincecode": "220000", "city": "\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde", "code": "222400", "initial": "Y" }, { "id": "65", "provincecode": "230000", "city": "\u4f0a\u6625\u5e02", "code": "230700", "initial": "Y" }, { "id": "82", "provincecode": "320000", "city": "\u76d0\u57ce\u5e02", "code": "320900", "initial": "Y" }, { "id": "83", "provincecode": "320000", "city": "\u626c\u5dde\u5e02", "code": "321000", "initial": "Y" }, { "id": "129", "provincecode": "360000", "city": "\u9e70\u6f6d\u5e02", "code": "360600", "initial": "Y" }, { "id": "132", "provincecode": "360000", "city": "\u5b9c\u6625\u5e02", "code": "360900", "initial": "Y" }, { "id": "140", "provincecode": "370000", "city": "\u70df\u53f0\u5e02", "code": "370600", "initial": "Y" }, { "id": "172", "provincecode": "420000", "city": "\u5b9c\u660c\u5e02", "code": "420500", "initial": "Y" }, { "id": "188", "provincecode": "430000", "city": "\u5cb3\u9633\u5e02", "code": "430600", "initial": "Y" }, { "id": "191", "provincecode": "430000", "city": "\u76ca\u9633\u5e02", "code": "430900", "initial": "Y" }, { "id": "193", "provincecode": "430000", "city": "\u6c38\u5dde\u5e02", "code": "431100", "initial": "Y" }, { "id": "211", "provincecode": "440000", "city": "\u9633\u6c5f\u5e02", "code": "441700", "initial": "Y" }, { "id": "217", "provincecode": "440000", "city": "\u4e91\u6d6e\u5e02", "code": "445300", "initial": "Y" }, { "id": "226", "provincecode": "450000", "city": "\u7389\u6797\u5e02", "code": "450900", "initial": "Y" }, { "id": "250", "provincecode": "510000", "city": "\u5b9c\u5bbe\u5e02", "code": "511500", "initial": "Y" }, { "id": "253", "provincecode": "510000", "city": "\u96c5\u5b89\u5e02", "code": "511800", "initial": "Y" }, { "id": "270", "provincecode": "530000", "city": "\u7389\u6eaa\u5e02", "code": "530400", "initial": "Y" }, { "id": "296", "provincecode": "610000", "city": "\u5ef6\u5b89\u5e02", "code": "610600", "initial": "Y" }, { "id": "298", "provincecode": "610000", "city": "\u6986\u6797\u5e02", "code": "610800", "initial": "Y" }, { "id": "321", "provincecode": "630000", "city": "\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde", "code": "632700", "initial": "Y" }, { "id": "323", "provincecode": "640000", "city": "\u94f6\u5ddd\u5e02", "code": "640100", "initial": "Y" }, { "id": "339", "provincecode": "650000", "city": "\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde", "code": "654000", "initial": "Y" }, { "id": "8", "provincecode": "130000", "city": "\u5f20\u5bb6\u53e3\u5e02", "code": "130700", "initial": "Z" }, { "id": "84", "provincecode": "320000", "city": "\u9547\u6c5f\u5e02", "code": "321100", "initial": "Z" }, { "id": "95", "provincecode": "330000", "city": "\u821f\u5c71\u5e02", "code": "330900", "initial": "Z" }, { "id": "120", "provincecode": "350000", "city": "\u6f33\u5dde\u5e02", "code": "350600", "initial": "Z" }, { "id": "137", "provincecode": "370000", "city": "\u6dc4\u535a\u5e02", "code": "370300", "initial": "Z" }, { "id": "138", "provincecode": "370000", "city": "\u67a3\u5e84\u5e02", "code": "370400", "initial": "Z" }, { "id": "152", "provincecode": "410000", "city": "\u90d1\u5dde\u5e02", "code": "410100", "initial": "Z" }, { "id": "167", "provincecode": "410000", "city": "\u5468\u53e3\u5e02", "code": "411600", "initial": "Z" }, { "id": "168", "provincecode": "410000", "city": "\u9a7b\u9a6c\u5e97\u5e02", "code": "411700", "initial": "Z" }, { "id": "184", "provincecode": "430000", "city": "\u682a\u6d32\u5e02", "code": "430200", "initial": "Z" }, { "id": "190", "provincecode": "430000", "city": "\u5f20\u5bb6\u754c\u5e02", "code": "430800", "initial": "Z" }, { "id": "200", "provincecode": "440000", "city": "\u73e0\u6d77\u5e02", "code": "440400", "initial": "Z" }, { "id": "204", "provincecode": "440000", "city": "\u6e5b\u6c5f\u5e02", "code": "440800", "initial": "Z" }, { "id": "206", "provincecode": "440000", "city": "\u8087\u5e86\u5e02", "code": "441200", "initial": "Z" }, { "id": "214", "provincecode": "440000", "city": "\u4e2d\u5c71\u5e02", "code": "442000", "initial": "Z" }, { "id": "239", "provincecode": "510000", "city": "\u81ea\u8d21\u5e02", "code": "510300", "initial": "Z" }, { "id": "255", "provincecode": "510000", "city": "\u8d44\u9633\u5e02", "code": "512000", "initial": "Z" }, { "id": "261", "provincecode": "520000", "city": "\u9075\u4e49\u5e02", "code": "520300", "initial": "Z" }, { "id": "272", "provincecode": "530000", "city": "\u662d\u901a\u5e02", "code": "530600", "initial": "Z" }, { "id": "307", "provincecode": "620000", "city": "\u5f20\u6396\u5e02", "code": "620700", "initial": "Z" }, { "id": "327", "provincecode": "640000", "city": "\u4e2d\u536b\u5e02", "code": "640500", "initial": "Z" }] 12 13 const cityObjs = [{ "id": "35", "provincecode": "150000", "city": "阿拉善盟", "code": "152900", "initial": "A", "short": "Alashanmeng" }, { "id": "38", "provincecode": "210000", "city": "鞍山市", "code": "210300", "initial": "A", "short": "Anshan" }, { "id": "105", "provincecode": "340000", "city": "安庆市", "code": "340800", "initial": "A", "short": "Anqing" }, { "id": "156", "provincecode": "410000", "city": "安阳市", "code": "410500", "initial": "A", "short": "Anyang" }, { "id": "256", "provincecode": "510000", "city": "阿坝藏族羌族自治州", "code": "513200", "initial": "A", "short": "Aba" }, { "id": "262", "provincecode": "520000", "city": "安顺市", "code": "520400", "initial": "A", "short": "Anshun" }, { "id": "289", "provincecode": "540000", "city": "阿里地区", "code": "542500", "initial": "A", "short": "Ali" }, { "id": "299", "provincecode": "610000", "city": "安康市", "code": "610900", "initial": "A", "short": "Ankang" }, { "id": "335", "provincecode": "650000", "city": "阿克苏地区", "code": "652900", "initial": "A", "short": "Akesu" }, { "id": "341", "provincecode": "650000", "city": "阿勒泰地区", "code": "654300", "initial": "A", "short": "Aletai" }, { "id": "1", "provincecode": "110000", "city": "北京市", "code": "110000", "initial": "B", "short": "Beijing" }, { "id": "7", "provincecode": "130000", "city": "保定市", "code": "130600", "initial": "B", "short": "Baoding" }, { "id": "25", "provincecode": "150000", "city": "包头市", "code": "150200", "initial": "B", "short": "Baotou" }, { "id": "31", "provincecode": "150000", "city": "巴彦淖尔市", "code": "150800", "initial": "B", "short": "Bayannaoer" }, { "id": "40", "provincecode": "210000", "city": "本溪市", "code": "210500", "initial": "B", "short": "Benxi" }, { "id": "55", "provincecode": "220000", "city": "白山市", "code": "220600", "initial": "B", "short": "Baishan" }, { "id": "57", "provincecode": "220000", "city": "白城市", "code": "220800", "initial": "B", "short": "Baicheng" }, { "id": "100", "provincecode": "340000", "city": "蚌埠市", "code": "340300", "initial": "B", "short": "Bangbu" }, { "id": "150", "provincecode": "370000", "city": "滨州市", "code": "371600", "initial": "B", "short": "Binzhou" }, { "id": "222", "provincecode": "450000", "city": "北海市", "code": "450500", "initial": "B", "short": "Beihai" }, { "id": "227", "provincecode": "450000", "city": "百色市", "code": "451000", "initial": "B", "short": "Baise" }, { "id": "254", "provincecode": "510000", "city": "巴中市", "code": "511900", "initial": "B", "short": "Bazhong" }, { "id": "265", "provincecode": "520000", "city": "毕节地区", "code": "522400", "initial": "B", "short": "Bijie" }, { "id": "271", "provincecode": "530000", "city": "保山市", "code": "530500", "initial": "B", "short": "Baoshan" }, { "id": "293", "provincecode": "610000", "city": "宝鸡市", "code": "610300", "initial": "B", "short": "Baoji" }, { "id": "304", "provincecode": "620000", "city": "白银市", "code": "620400", "initial": "B", "short": "Baiyin" }, { "id": "333", "provincecode": "650000", "city": "博尔塔拉蒙古自治州", "code": "652700", "initial": "B", "short": "Boertala" }, { "id": "334", "provincecode": "650000", "city": "巴音郭楞蒙古自治州", "code": "652800", "initial": "B", "short": "Bayinguoleng" }, { "id": "", "provincecode": "500000", "city": "重庆市", "code": "500000", "initial": "C", "short": "Chongqing" }, { "id": "9", "provincecode": "130000", "city": "承德市", "code": "130800", "initial": "C", "short": "Chengde" }, { "id": "10", "provincecode": "130000", "city": "沧州市", "code": "130900", "initial": "C", "short": "Cangzhou" }, { "id": "16", "provincecode": "140000", "city": "长治市", "code": "140400", "initial": "C", "short": "Changzhi" }, { "id": "27", "provincecode": "150000", "city": "赤峰市", "code": "150400", "initial": "C", "short": "Chifeng" }, { "id": "48", "provincecode": "210000", "city": "朝阳市", "code": "211300", "initial": "C", "short": "Chaoyang" }, { "id": "50", "provincecode": "220000", "city": "长春市", "code": "220100", "initial": "C", "short": "Changchun" }, { "id": "77", "provincecode": "320000", "city": "常州市", "code": "320400", "initial": "C", "short": "Changzhou" }, { "id": "107", "provincecode": "340000", "city": "滁州市", "code": "341100", "initial": "C", "short": "Chuzhou" }, { "id": "110", "provincecode": "340000", "city": "巢湖市", "code": "341400", "initial": "C", "short": "Chaohu" }, { "id": "113", "provincecode": "340000", "city": "池州市", "code": "341700", "initial": "C", "short": "Chizhou" }, { "id": "183", "provincecode": "430000", "city": "长沙市", "code": "430100", "initial": "C", "short": "Changsha" }, { "id": "189", "provincecode": "430000", "city": "常德市", "code": "430700", "initial": "C", "short": "Changde" }, { "id": "192", "provincecode": "430000", "city": "郴州市", "code": "431000", "initial": "C", "short": "Chenzhou" }, { "id": "215", "provincecode": "440000", "city": "潮州市", "code": "445100", "initial": "C", "short": "Chaozhou" }, { "id": "231", "provincecode": "450000", "city": "崇左市", "code": "451400", "initial": "C", "short": "Chongzuo" }, { "id": "238", "provincecode": "510000", "city": "成都市", "code": "510100", "initial": "C", "short": "Chengdu" }, { "id": "276", "provincecode": "530000", "city": "楚雄彝族自治州", "code": "532300", "initial": "C", "short": "Chuxiong" }, { "id": "285", "provincecode": "540000", "city": "昌都地区", "code": "542100", "initial": "C", "short": "Changdu" }, { "id": "332", "provincecode": "650000", "city": "昌吉回族自治州", "code": "652300", "initial": "C", "short": "Changji" }, { "id": "14", "provincecode": "140000", "city": "大同市", "code": "140200", "initial": "D", "short": "Datong" }, { "id": "37", "provincecode": "210000", "city": "大连市", "code": "210200", "initial": "D", "short": "Dalian" }, { "id": "41", "provincecode": "210000", "city": "丹东市", "code": "210600", "initial": "D", "short": "Dandong" }, { "id": "64", "provincecode": "230000", "city": "大庆市", "code": "230600", "initial": "D", "short": "Daqing" }, { "id": "71", "provincecode": "230000", "city": "大兴安岭地区", "code": "232700", "initial": "D", "short": "Daxinganling" }, { "id": "139", "provincecode": "370000", "city": "东营市", "code": "370500", "initial": "D", "short": "Dongying" }, { "id": "148", "provincecode": "370000", "city": "德州市", "code": "371400", "initial": "D", "short": "Dezhou" }, { "id": "213", "provincecode": "440000", "city": "东莞市", "code": "441900", "initial": "D", "short": "Dongguan" }, { "id": "242", "provincecode": "510000", "city": "德阳市", "code": "510600", "initial": "D", "short": "Deyang" }, { "id": "252", "provincecode": "510000", "city": "达州市", "code": "511700", "initial": "D", "short": "Dazhou" }, { "id": "280", "provincecode": "530000", "city": "大理白族自治州", "code": "532900", "initial": "D", "short": "Dali" }, { "id": "281", "provincecode": "530000", "city": "德宏傣族景颇族自治州", "code": "533100", "initial": "D", "short": "Dehong" }, { "id": "283", "provincecode": "530000", "city": "迪庆藏族自治州", "code": "533400", "initial": "D", "short": "Diqing" }, { "id": "311", "provincecode": "620000", "city": "定西市", "code": "621100", "initial": "D", "short": "Dingxi" }, { "id": "29", "provincecode": "150000", "city": "鄂尔多斯市", "code": "150600", "initial": "E", "short": "Eerduosi" }, { "id": "174", "provincecode": "420000", "city": "鄂州市", "code": "420700", "initial": "E", "short": "Ezhou" }, { "id": "181", "provincecode": "420000", "city": "恩施土家族苗族自治州", "code": "422800", "initial": "E", "short": "Enshi" }, { "id": "39", "provincecode": "210000", "city": "抚顺市", "code": "210400", "initial": "F", "short": "Fushun" }, { "id": "44", "provincecode": "210000", "city": "阜新市", "code": "210900", "initial": "F", "short": "Fuxin" }, { "id": "108", "provincecode": "340000", "city": "阜阳市", "code": "341200", "initial": "F", "short": "Fuyang" }, { "id": "115", "provincecode": "350000", "city": "福州市", "code": "350100", "initial": "F", "short": "Fuzhou" }, { "id": "133", "provincecode": "360000", "city": "抚州市", "code": "361000", "initial": "F", "short": "Fuzhou" }, { "id": "202", "provincecode": "440000", "city": "佛山市", "code": "440600", "initial": "F", "short": "Foshan" }, { "id": "223", "provincecode": "450000", "city": "防城港市", "code": "450600", "initial": "F", "short": "Fangchenggang" }, { "id": "130", "provincecode": "360000", "city": "赣州市", "code": "360700", "initial": "G", "short": "Ganzhou" }, { "id": "197", "provincecode": "440000", "city": "广州市", "code": "440100", "initial": "G", "short": "Guangzhou" }, { "id": "220", "provincecode": "450000", "city": "桂林市", "code": "450300", "initial": "G", "short": "Guilin" }, { "id": "225", "provincecode": "450000", "city": "贵港市", "code": "450800", "initial": "G", "short": "Guigang" }, { "id": "244", "provincecode": "510000", "city": "广元市", "code": "510800", "initial": "G", "short": "Guangyuan" }, { "id": "251", "provincecode": "510000", "city": "广安市", "code": "511600", "initial": "G", "short": "Guangan" }, { "id": "257", "provincecode": "510000", "city": "甘孜藏族自治州", "code": "513300", "initial": "G", "short": "Ganzi" }, { "id": "259", "provincecode": "520000", "city": "贵阳市", "code": "520100", "initial": "G", "short": "Guiyang" }, { "id": "314", "provincecode": "620000", "city": "甘南藏族自治州", "code": "623000", "initial": "G", "short": "Gannan" }, { "id": "320", "provincecode": "630000", "city": "果洛藏族自治州", "code": "632600", "initial": "G", "short": "Guoluo" }, { "id": "326", "provincecode": "640000", "city": "固原市", "code": "640400", "initial": "G", "short": "Guyuan" }, { "id": "5", "provincecode": "130000", "city": "邯郸市", "code": "130400", "initial": "H", "short": "Handan" }, { "id": "12", "provincecode": "130000", "city": "衡水市", "code": "131100", "initial": "H", "short": "Hengshui" }, { "id": "", "provincecode": "370000", "city": "菏泽市", "code": "371700", "initial": "H", "short": "Heze" }, { "id": "24", "provincecode": "150000", "city": "呼和浩特市", "code": "150100", "initial": "H", "short": "Huhehaote" }, { "id": "30", "provincecode": "150000", "city": "呼伦贝尔市", "code": "150700", "initial": "H", "short": "Hulunbeier" }, { "id": "49", "provincecode": "210000", "city": "葫芦岛市", "code": "211400", "initial": "H", "short": "Huludao" }, { "id": "59", "provincecode": "230000", "city": "哈尔滨市", "code": "230100", "initial": "H", "short": "Haerbin" }, { "id": "62", "provincecode": "230000", "city": "鹤岗市", "code": "230400", "initial": "H", "short": "Hegang" }, { "id": "69", "provincecode": "230000", "city": "黑河市", "code": "231100", "initial": "H", "short": "Heihe" }, { "id": "81", "provincecode": "320000", "city": "淮安市", "code": "320800", "initial": "H", "short": "Huaian" }, { "id": "87", "provincecode": "330000", "city": "杭州市", "code": "330100", "initial": "H", "short": "Hangzhou" }, { "id": "91", "provincecode": "330000", "city": "湖州市", "code": "330500", "initial": "H", "short": "Huzhou" }, { "id": "98", "provincecode": "340000", "city": "合肥市", "code": "340100", "initial": "H", "short": "Hefei" }, { "id": "101", "provincecode": "340000", "city": "淮南市", "code": "340400", "initial": "H", "short": "Huainan" }, { "id": "103", "provincecode": "340000", "city": "淮北市", "code": "340600", "initial": "H", "short": "Huaibei" }, { "id": "106", "provincecode": "340000", "city": "黄山市", "code": "341000", "initial": "H", "short": "Huangshan" }, { "id": "112", "provincecode": "340000", "city": "亳州市", "code": "341600", "initial": "H", "short": "Bozhou" }, { "id": "157", "provincecode": "410000", "city": "鹤壁市", "code": "410600", "initial": "H", "short": "Hebi" }, { "id": "170", "provincecode": "420000", "city": "黄石市", "code": "420200", "initial": "H", "short": "Huangshi" }, { "id": "178", "provincecode": "420000", "city": "黄冈市", "code": "421100", "initial": "H", "short": "Huanggang" }, { "id": "186", "provincecode": "430000", "city": "衡阳市", "code": "430400", "initial": "H", "short": "Hengyang" }, { "id": "194", "provincecode": "430000", "city": "怀化市", "code": "431200", "initial": "H", "short": "Huaihua" }, { "id": "207", "provincecode": "440000", "city": "惠州市", "code": "441300", "initial": "H", "short": "Huizhou" }, { "id": "210", "provincecode": "440000", "city": "河源市", "code": "441600", "initial": "H", "short": "Heyuan" }, { "id": "228", "provincecode": "450000", "city": "贺州市", "code": "451100", "initial": "H", "short": "Hezhou" }, { "id": "229", "provincecode": "450000", "city": "河池市", "code": "451200", "initial": "H", "short": "Hechi" }, { "id": "232", "provincecode": "460000", "city": "海口市", "code": "460100", "initial": "H", "short": "Haikou" }, { "id": "277", "provincecode": "530000", "city": "红河哈尼族彝族自治州", "code": "532500", "initial": "H", "short": "Honghe" }, { "id": "297", "provincecode": "610000", "city": "汉中市", "code": "610700", "initial": "H", "short": "Hanzhong" }, { "id": "316", "provincecode": "630000", "city": "海东地区", "code": "632100", "initial": "H", "short": "Haidong" }, { "id": "317", "provincecode": "630000", "city": "海北藏族自治州", "code": "632200", "initial": "H", "short": "Haibei" }, { "id": "318", "provincecode": "630000", "city": "黄南藏族自治州", "code": "632300", "initial": "H", "short": "Huangnan" }, { "id": "319", "provincecode": "630000", "city": "海南藏族自治州", "code": "632500", "initial": "H", "short": "Hainan" }, { "id": "322", "provincecode": "630000", "city": "海西蒙古族藏族自治州", "code": "632800", "initial": "H", "short": "Haixi" }, { "id": "331", "provincecode": "650000", "city": "哈密地区", "code": "652200", "initial": "H", "short": "Hami" }, { "id": "338", "provincecode": "650000", "city": "和田地区", "code": "653200", "initial": "H", "short": "Hetiandi" }, { "id": "17", "provincecode": "140000", "city": "晋城市", "code": "140500", "initial": "J", "short": "Jincheng" }, { "id": "19", "provincecode": "140000", "city": "晋中市", "code": "140700", "initial": "J", "short": "Jinzhong" }, { "id": "42", "provincecode": "210000", "city": "锦州市", "code": "210700", "initial": "J", "short": "Jinzhou" }, { "id": "51", "provincecode": "220000", "city": "吉林市", "code": "220200", "initial": "J", "short": "Jilin" }, { "id": "61", "provincecode": "230000", "city": "鸡西市", "code": "230300", "initial": "J", "short": "Jixi" }, { "id": "66", "provincecode": "230000", "city": "佳木斯市", "code": "230800", "initial": "J", "short": "Jiamusi" }, { "id": "90", "provincecode": "330000", "city": "嘉兴市", "code": "330400", "initial": "J", "short": "Jiaxing" }, { "id": "93", "provincecode": "330000", "city": "金华市", "code": "330700", "initial": "J", "short": "Jinhua" }, { "id": "125", "provincecode": "360000", "city": "景德镇市", "code": "360200", "initial": "J", "short": "Jingdezhen" }, { "id": "127", "provincecode": "360000", "city": "九江市", "code": "360400", "initial": "J", "short": "Jiujiang" }, { "id": "131", "provincecode": "360000", "city": "吉安市", "code": "360800", "initial": "J", "short": "Jian" }, { "id": "135", "provincecode": "370000", "city": "济南市", "code": "370100", "initial": "J", "short": "Jinan" }, { "id": "142", "provincecode": "370000", "city": "济宁市", "code": "370800", "initial": "J", "short": "Jining" }, { "id": "159", "provincecode": "410000", "city": "焦作市", "code": "410800", "initial": "J", "short": "Jiaozuo" }, { "id": "175", "provincecode": "420000", "city": "荆门市", "code": "420800", "initial": "J", "short": "Jingmen" }, { "id": "177", "provincecode": "420000", "city": "荆州市", "code": "421000", "initial": "J", "short": "Jingzhou" }, { "id": "203", "provincecode": "440000", "city": "江门市", "code": "440700", "initial": "J", "short": "Jiangmen" }, { "id": "216", "provincecode": "440000", "city": "揭阳市", "code": "445200", "initial": "J", "short": "Jieyang" }, { "id": "302", "provincecode": "620000", "city": "嘉峪关市", "code": "620200", "initial": "J", "short": "Jiayuguan" }, { "id": "303", "provincecode": "620000", "city": "金昌市", "code": "620300", "initial": "J", "short": "Jinchang" }, { "id": "309", "provincecode": "620000", "city": "酒泉市", "code": "620900", "initial": "J", "short": "Jiuquan" }, { "id": "153", "provincecode": "410000", "city": "开封市", "code": "410200", "initial": "K", "short": "Kaifeng" }, { "id": "268", "provincecode": "530000", "city": "昆明市", "code": "530100", "initial": "K", "short": "Kunming" }, { "id": "329", "provincecode": "650000", "city": "克拉玛依市", "code": "650200", "initial": "K", "short": "Kelamayi" }, { "id": "336", "provincecode": "650000", "city": "克孜勒苏柯尔克孜自治州", "code": "653000", "initial": "K", "short": "Kezile" }, { "id": "337", "provincecode": "650000", "city": "喀什地区", "code": "653100", "initial": "K", "short": "Kashidi" }, { "id": "11", "provincecode": "130000", "city": "廊坊市", "code": "131000", "initial": "L", "short": "Langfang" }, { "id": "22", "provincecode": "140000", "city": "临汾市", "code": "141000", "initial": "L", "short": "Linfen" }, { "id": "23", "provincecode": "140000", "city": "吕梁市", "code": "141100", "initial": "L", "short": "Lvliang" }, { "id": "45", "provincecode": "210000", "city": "辽阳市", "code": "211000", "initial": "L", "short": "Liaoyang" }, { "id": "53", "provincecode": "220000", "city": "辽源市", "code": "220400", "initial": "L", "short": "Liaoyuan" }, { "id": "80", "provincecode": "320000", "city": "连云港市", "code": "320700", "initial": "L", "short": "Lianyungang" }, { "id": "97", "provincecode": "330000", "city": "丽水市", "code": "331100", "initial": "L", "short": "Lishui" }, { "id": "111", "provincecode": "340000", "city": "六安市", "code": "341500", "initial": "L", "short": "Liuan" }, { "id": "122", "provincecode": "350000", "city": "龙岩市", "code": "350800", "initial": "L", "short": "Longyan" }, { "id": "146", "provincecode": "370000", "city": "莱芜市", "code": "371200", "initial": "L", "short": "Laiwu" }, { "id": "147", "provincecode": "370000", "city": "临沂市", "code": "371300", "initial": "L", "short": "Linyi" }, { "id": "149", "provincecode": "370000", "city": "聊城市", "code": "371500", "initial": "L", "short": "Liaocheng" }, { "id": "154", "provincecode": "410000", "city": "洛阳市", "code": "410300", "initial": "L", "short": "Luoyang" }, { "id": "162", "provincecode": "410000", "city": "漯河市", "code": "411100", "initial": "L", "short": "Luohe" }, { "id": "195", "provincecode": "430000", "city": "娄底市", "code": "431300", "initial": "L", "short": "Loudi" }, { "id": "219", "provincecode": "450000", "city": "柳州市", "code": "450200", "initial": "L", "short": "Liuzhou" }, { "id": "230", "provincecode": "450000", "city": "来宾市", "code": "451300", "initial": "L", "short": "Laibin" }, { "id": "241", "provincecode": "510000", "city": "泸州市", "code": "510500", "initial": "L", "short": "Luzhou" }, { "id": "247", "provincecode": "510000", "city": "乐山市", "code": "511100", "initial": "L", "short": "Leshan" }, { "id": "258", "provincecode": "510000", "city": "凉山彝族自治州", "code": "513400", "initial": "L", "short": "Liangshan" }, { "id": "260", "provincecode": "520000", "city": "六盘水市", "code": "520200", "initial": "L", "short": "Liupanshui" }, { "id": "273", "provincecode": "530000", "city": "丽江市", "code": "530700", "initial": "L", "short": "Lijiang" }, { "id": "275", "provincecode": "530000", "city": "临沧市", "code": "530900", "initial": "L", "short": "Lincang" }, { "id": "284", "provincecode": "540000", "city": "拉萨市", "code": "540100", "initial": "L", "short": "Lasa" }, { "id": "290", "provincecode": "540000", "city": "林芝地区", "code": "542600", "initial": "L", "short": "Linzhi" }, { "id": "301", "provincecode": "620000", "city": "兰州市", "code": "620100", "initial": "L", "short": "Lanzhou" }, { "id": "312", "provincecode": "620000", "city": "陇南市", "code": "621200", "initial": "L", "short": "Longnan" }, { "id": "313", "provincecode": "620000", "city": "临夏回族自治州", "code": "622900", "initial": "L", "short": "Linxia" }, { "id": "68", "provincecode": "230000", "city": "牡丹江市", "code": "231000", "initial": "M", "short": "Mudanjiang" }, { "id": "102", "provincecode": "340000", "city": "马鞍山市", "code": "340500", "initial": "M", "short": "Maanshan" }, { "id": "205", "provincecode": "440000", "city": "茂名市", "code": "440900", "initial": "M", "short": "Maoming" }, { "id": "208", "provincecode": "440000", "city": "梅州市", "code": "441400", "initial": "M", "short": "Meizhou" }, { "id": "243", "provincecode": "510000", "city": "绵阳市", "code": "510700", "initial": "M", "short": "Mianyang" }, { "id": "249", "provincecode": "510000", "city": "眉山市", "code": "511400", "initial": "M", "short": "Meishan" }, { "id": "74", "provincecode": "320000", "city": "南京市", "code": "320100", "initial": "N", "short": "Nanjing" }, { "id": "79", "provincecode": "320000", "city": "南通市", "code": "320600", "initial": "N", "short": "Nantong" }, { "id": "88", "provincecode": "330000", "city": "宁波市", "code": "330200", "initial": "N", "short": "Ningbo" }, { "id": "121", "provincecode": "350000", "city": "南平市", "code": "350700", "initial": "N", "short": "Nanping" }, { "id": "123", "provincecode": "350000", "city": "宁德市", "code": "350900", "initial": "N", "short": "Ningde" }, { "id": "124", "provincecode": "360000", "city": "南昌市", "code": "360100", "initial": "N", "short": "Nanchang" }, { "id": "164", "provincecode": "410000", "city": "南阳市", "code": "411300", "initial": "N", "short": "Nanyang" }, { "id": "218", "provincecode": "450000", "city": "南宁市", "code": "450100", "initial": "N", "short": "Nanning" }, { "id": "246", "provincecode": "510000", "city": "内江市", "code": "511000", "initial": "N", "short": "Neijiang" }, { "id": "248", "provincecode": "510000", "city": "南充市", "code": "511300", "initial": "N", "short": "Nanchong" }, { "id": "282", "provincecode": "530000", "city": "怒江傈僳族自治州", "code": "533300", "initial": "N", "short": "Nujiang" }, { "id": "288", "provincecode": "540000", "city": "那曲地区", "code": "542400", "initial": "N", "short": "Naqu" }, { "id": "46", "provincecode": "210000", "city": "盘锦市", "code": "211100", "initial": "P", "short": "Panjin" }, { "id": "117", "provincecode": "350000", "city": "莆田市", "code": "350300", "initial": "P", "short": "Putian" }, { "id": "126", "provincecode": "360000", "city": "萍乡市", "code": "360300", "initial": "P", "short": "Pingxiang" }, { "id": "155", "provincecode": "410000", "city": "平顶山市", "code": "410400", "initial": "P", "short": "Pingdingshan" }, { "id": "160", "provincecode": "410000", "city": "濮阳市", "code": "410900", "initial": "P", "short": "Puyang" }, { "id": "240", "provincecode": "510000", "city": "攀枝花市", "code": "510400", "initial": "P", "short": "Panzhihua" }, { "id": "308", "provincecode": "620000", "city": "平凉市", "code": "620800", "initial": "P", "short": "Pingliang" }, { "id": "4", "provincecode": "130000", "city": "秦皇岛市", "code": "130300", "initial": "Q", "short": "Qinhuangdao" }, { "id": "60", "provincecode": "230000", "city": "齐齐哈尔市", "code": "230200", "initial": "Q", "short": "Qiqihaer" }, { "id": "67", "provincecode": "230000", "city": "七台河市", "code": "230900", "initial": "Q", "short": "Qitaihe" }, { "id": "94", "provincecode": "330000", "city": "衢州市", "code": "330800", "initial": "Q", "short": "Quzhou" }, { "id": "119", "provincecode": "350000", "city": "泉州市", "code": "350500", "initial": "Q", "short": "Quanzhou" }, { "id": "136", "provincecode": "370000", "city": "青岛市", "code": "370200", "initial": "Q", "short": "Qingdao" }, { "id": "212", "provincecode": "440000", "city": "清远市", "code": "441800", "initial": "Q", "short": "Qingyuan" }, { "id": "224", "provincecode": "450000", "city": "钦州市", "code": "450700", "initial": "Q", "short": "Qinzhou" }, { "id": "264", "provincecode": "520000", "city": "黔西南布依族苗族自治州", "code": "522300", "initial": "Q", "short": "Qianxinan" }, { "id": "266", "provincecode": "520000", "city": "黔东南苗族侗族自治州", "code": "522600", "initial": "Q", "short": "Qiandong" }, { "id": "267", "provincecode": "520000", "city": "黔南布依族苗族自治州", "code": "522700", "initial": "Q", "short": "Qiannan" }, { "id": "269", "provincecode": "530000", "city": "曲靖市", "code": "530300", "initial": "Q", "short": "Qujing" }, { "id": "310", "provincecode": "620000", "city": "庆阳市", "code": "621000", "initial": "Q", "short": "Qingyang" }, { "id": "145", "provincecode": "370000", "city": "日照市", "code": "371100", "initial": "R", "short": "Rizhao" }, { "id": "287", "provincecode": "540000", "city": "日喀则地区", "code": "542300", "initial": "R", "short": "Rikaze" }, { "id": "2", "provincecode": "130000", "city": "石家庄市", "code": "130100", "initial": "S", "short": "Shijiazhuang" }, { "id": "", "provincecode": "310000", "city": "上海市", "code": "310000", "initial": "S", "short": "Shanghai" }, { "id": "18", "provincecode": "140000", "city": "朔州市", "code": "140600", "initial": "S", "short": "Shuozhou" }, { "id": "36", "provincecode": "210000", "city": "沈阳市", "code": "210100", "initial": "S", "short": "Shenyang" }, { "id": "", "provincecode": "530000", "city": "普洱市", "code": "530800", "initial": "P", "short": "Puer" }, { "id": "52", "provincecode": "220000", "city": "四平市", "code": "220300", "initial": "S", "short": "Siping" }, { "id": "56", "provincecode": "220000", "city": "松原市", "code": "220700", "initial": "S", "short": "Songyuan" }, { "id": "63", "provincecode": "230000", "city": "双鸭山市", "code": "230500", "initial": "S", "short": "Shuangyashan" }, { "id": "70", "provincecode": "230000", "city": "绥化市", "code": "231200", "initial": "S", "short": "Suihua" }, { "id": "78", "provincecode": "320000", "city": "苏州市", "code": "320500", "initial": "S", "short": "Suzhou" }, { "id": "86", "provincecode": "320000", "city": "宿迁市", "code": "321300", "initial": "S", "short": "Suqian" }, { "id": "92", "provincecode": "330000", "city": "绍兴市", "code": "330600", "initial": "S", "short": "Shaoxing" }, { "id": "109", "provincecode": "340000", "city": "宿州市", "code": "341300", "initial": "S", "short": "Suzhou" }, { "id": "118", "provincecode": "350000", "city": "三明市", "code": "350400", "initial": "S", "short": "Sanming" }, { "id": "134", "provincecode": "360000", "city": "上饶市", "code": "361100", "initial": "S", "short": "Shangrao" }, { "id": "163", "provincecode": "410000", "city": "三门峡市", "code": "411200", "initial": "S", "short": "Sanmenxia" }, { "id": "165", "provincecode": "410000", "city": "商丘市", "code": "411400", "initial": "S", "short": "Shangqiu" }, { "id": "171", "provincecode": "420000", "city": "十堰市", "code": "420300", "initial": "S", "short": "Shiyan" }, { "id": "180", "provincecode": "420000", "city": "随州市", "code": "421300", "initial": "S", "short": "Suizhou" }, { "id": "187", "provincecode": "430000", "city": "邵阳市", "code": "430500", "initial": "S", "short": "Shaoyang" }, { "id": "198", "provincecode": "440000", "city": "韶关市", "code": "440200", "initial": "S", "short": "Shaoguan" }, { "id": "199", "provincecode": "440000", "city": "深圳市", "code": "440300", "initial": "S", "short": "Shenzhen" }, { "id": "201", "provincecode": "440000", "city": "汕头市", "code": "440500", "initial": "S", "short": "Shantou" }, { "id": "209", "provincecode": "440000", "city": "汕尾市", "code": "441500", "initial": "S", "short": "Shanwei" }, { "id": "233", "provincecode": "460000", "city": "三亚市", "code": "460200", "initial": "S", "short": "Sanya" }, { "id": "245", "provincecode": "510000", "city": "遂宁市", "code": "510900", "initial": "S", "short": "Suining" }, { "id": "286", "provincecode": "540000", "city": "山南地区", "code": "542200", "initial": "S", "short": "Shannan" }, { "id": "300", "provincecode": "610000", "city": "商洛市", "code": "611000", "initial": "S", "short": "Shangluo" }, { "id": "324", "provincecode": "640000", "city": "石嘴山市", "code": "640200", "initial": "S", "short": "Shizuishan" }, { "id": "3", "provincecode": "130000", "city": "唐山市", "code": "130200", "initial": "T", "short": "Tangshan" }, { "id": "13", "provincecode": "140000", "city": "太原市", "code": "140100", "initial": "T", "short": "Taiyuan" }, { "id": "28", "provincecode": "150000", "city": "通辽市", "code": "150500", "initial": "T", "short": "Tongliao" }, { "id": "47", "provincecode": "210000", "city": "铁岭市", "code": "211200", "initial": "T", "short": "Tieling" }, { "id": "54", "provincecode": "220000", "city": "通化市", "code": "220500", "initial": "T", "short": "Tonghua" }, { "id": "85", "provincecode": "320000", "city": "泰州市", "code": "321200", "initial": "T", "short": "Taizhou" }, { "id": "96", "provincecode": "330000", "city": "台州市", "code": "331000", "initial": "T", "short": "Taizhou" }, { "id": "104", "provincecode": "340000", "city": "铜陵市", "code": "340700", "initial": "T", "short": "Tongling" }, { "id": "143", "provincecode": "370000", "city": "泰安市", "code": "370900", "initial": "T", "short": "Taian" }, { "id": "263", "provincecode": "520000", "city": "铜仁地区", "code": "522200", "initial": "T", "short": "Tongren" }, { "id": "292", "provincecode": "610000", "city": "铜川市", "code": "610200", "initial": "T", "short": "Tongchuan" }, { "id": "305", "provincecode": "620000", "city": "天水市", "code": "620500", "initial": "T", "short": "Tianshui" }, { "id": "330", "provincecode": "650000", "city": "吐鲁番地区", "code": "652100", "initial": "T", "short": "Tulufan" }, { "id": "340", "provincecode": "650000", "city": "塔城地区", "code": "654200", "initial": "T", "short": "Tachengdi" }, { "id": "343", "provincecode": "120000", "city": "天津市", "code": "120000", "initial": "T", "short": "Tianjin" }, { "id": "26", "provincecode": "150000", "city": "乌海市", "code": "150300", "initial": "W", "short": "Wuhai" }, { "id": "32", "provincecode": "150000", "city": "乌兰察布市", "code": "150900", "initial": "W", "short": "Wulanchabu" }, { "id": "75", "provincecode": "320000", "city": "无锡市", "code": "320200", "initial": "W", "short": "Wuxi" }, { "id": "89", "provincecode": "330000", "city": "温州市", "code": "330300", "initial": "W", "short": "Wenzhou" }, { "id": "99", "provincecode": "340000", "city": "芜湖市", "code": "340200", "initial": "W", "short": "Wuhu" }, { "id": "141", "provincecode": "370000", "city": "潍坊市", "code": "370700", "initial": "W", "short": "Weifang" }, { "id": "144", "provincecode": "370000", "city": "威海市", "code": "371000", "initial": "W", "short": "Weihai" }, { "id": "169", "provincecode": "420000", "city": "武汉市", "code": "420100", "initial": "W", "short": "Wuhan" }, { "id": "221", "provincecode": "450000", "city": "梧州市", "code": "450400", "initial": "W", "short": "Wuzhou" }, { "id": "278", "provincecode": "530000", "city": "文山壮族苗族自治州", "code": "532600", "initial": "W", "short": "Wenshan" }, { "id": "295", "provincecode": "610000", "city": "渭南市", "code": "610500", "initial": "W", "short": "Weinan" }, { "id": "306", "provincecode": "620000", "city": "武威市", "code": "620600", "initial": "W", "short": "Wuwei" }, { "id": "325", "provincecode": "640000", "city": "吴忠市", "code": "640300", "initial": "W", "short": "Wuzhong" }, { "id": "328", "provincecode": "650000", "city": "乌鲁木齐市", "code": "650100", "initial": "W", "short": "Wulumuqi" }, { "id": "6", "provincecode": "130000", "city": "邢台市", "code": "130500", "initial": "X", "short": "Xingtai" }, { "id": "21", "provincecode": "140000", "city": "忻州市", "code": "140900", "initial": "X", "short": "Xinzhou" }, { "id": "33", "provincecode": "150000", "city": "兴安盟", "code": "152200", "initial": "X", "short": "Xinganmeng" }, { "id": "34", "provincecode": "150000", "city": "锡林郭勒盟", "code": "152500", "initial": "X", "short": "Xilinguolemeng" }, { "id": "76", "provincecode": "320000", "city": "徐州市", "code": "320300", "initial": "X", "short": "Xuzhou" }, { "id": "114", "provincecode": "340000", "city": "宣城市", "code": "341800", "initial": "X", "short": "Xuancheng" }, { "id": "116", "provincecode": "350000", "city": "厦门市", "code": "350200", "initial": "X", "short": "Xiamen" }, { "id": "128", "provincecode": "360000", "city": "新余市", "code": "360500", "initial": "X", "short": "Xinyu" }, { "id": "158", "provincecode": "410000", "city": "新乡市", "code": "410700", "initial": "X", "short": "Xinxiang" }, { "id": "161", "provincecode": "410000", "city": "许昌市", "code": "411000", "initial": "X", "short": "Xuchang" }, { "id": "166", "provincecode": "410000", "city": "信阳市", "code": "411500", "initial": "X", "short": "Xinyang" }, { "id": "173", "provincecode": "420000", "city": "襄樊市", "code": "420600", "initial": "X", "short": "Xiangfan" }, { "id": "176", "provincecode": "420000", "city": "孝感市", "code": "420900", "initial": "X", "short": "Xiaogan" }, { "id": "179", "provincecode": "420000", "city": "咸宁市", "code": "421200", "initial": "X", "short": "Xianning" }, { "id": "185", "provincecode": "430000", "city": "湘潭市", "code": "430300", "initial": "X", "short": "Xiangtan" }, { "id": "196", "provincecode": "430000", "city": "湘西土家族苗族自治州", "code": "433100", "initial": "X", "short": "Xiangxi" }, { "id": "279", "provincecode": "530000", "city": "西双版纳傣族自治州", "code": "532800", "initial": "X", "short": "Xishuangbanna" }, { "id": "291", "provincecode": "610000", "city": "西安市", "code": "610100", "initial": "X", "short": "Xian" }, { "id": "294", "provincecode": "610000", "city": "咸阳市", "code": "610400", "initial": "X", "short": "Xianyang" }, { "id": "315", "provincecode": "630000", "city": "西宁市", "code": "630100", "initial": "X", "short": "Xining" }, { "id": "15", "provincecode": "140000", "city": "阳泉市", "code": "140300", "initial": "Y", "short": "Yangquan" }, { "id": "20", "provincecode": "140000", "city": "运城市", "code": "140800", "initial": "Y", "short": "Yuncheng" }, { "id": "43", "provincecode": "210000", "city": "营口市", "code": "210800", "initial": "Y", "short": "Yingkou" }, { "id": "58", "provincecode": "220000", "city": "延边朝鲜族自治州", "code": "222400", "initial": "Y", "short": "Yanbian" }, { "id": "65", "provincecode": "230000", "city": "伊春市", "code": "230700", "initial": "Y", "short": "Yichun" }, { "id": "82", "provincecode": "320000", "city": "盐城市", "code": "320900", "initial": "Y", "short": "Yancheng" }, { "id": "83", "provincecode": "320000", "city": "扬州市", "code": "321000", "initial": "Y", "short": "Yangzhou" }, { "id": "129", "provincecode": "360000", "city": "鹰潭市", "code": "360600", "initial": "Y", "short": "Yingtan" }, { "id": "132", "provincecode": "360000", "city": "宜春市", "code": "360900", "initial": "Y", "short": "Yichun" }, { "id": "140", "provincecode": "370000", "city": "烟台市", "code": "370600", "initial": "Y", "short": "Yantai" }, { "id": "172", "provincecode": "420000", "city": "宜昌市", "code": "420500", "initial": "Y", "short": "Yichang" }, { "id": "188", "provincecode": "430000", "city": "岳阳市", "code": "430600", "initial": "Y", "short": "Yueyang" }, { "id": "191", "provincecode": "430000", "city": "益阳市", "code": "430900", "initial": "Y", "short": "Yiyang" }, { "id": "193", "provincecode": "430000", "city": "永州市", "code": "431100", "initial": "Y", "short": "Yongzhou" }, { "id": "211", "provincecode": "440000", "city": "阳江市", "code": "441700", "initial": "Y", "short": "Yangjiang" }, { "id": "217", "provincecode": "440000", "city": "云浮市", "code": "445300", "initial": "Y", "short": "Yunfu" }, { "id": "226", "provincecode": "450000", "city": "玉林市", "code": "450900", "initial": "Y", "short": "Yulin" }, { "id": "250", "provincecode": "510000", "city": "宜宾市", "code": "511500", "initial": "Y", "short": "Yibin" }, { "id": "253", "provincecode": "510000", "city": "雅安市", "code": "511800", "initial": "Y", "short": "Yaan" }, { "id": "270", "provincecode": "530000", "city": "玉溪市", "code": "530400", "initial": "Y", "short": "Yuxi" }, { "id": "296", "provincecode": "610000", "city": "延安市", "code": "610600", "initial": "Y", "short": "Yanan" }, { "id": "298", "provincecode": "610000", "city": "榆林市", "code": "610800", "initial": "Y", "short": "Yulin" }, { "id": "321", "provincecode": "630000", "city": "玉树藏族自治州", "code": "632700", "initial": "Y", "short": "Yushu" }, { "id": "323", "provincecode": "640000", "city": "银川市", "code": "640100", "initial": "Y", "short": "Yinchuan" }, { "id": "339", "provincecode": "650000", "city": "伊犁哈萨克自治州", "code": "654000", "initial": "Y", "short": "Yilihasake" }, { "id": "8", "provincecode": "130000", "city": "张家口市", "code": "130700", "initial": "Z", "short": "Zhangjiakou" }, { "id": "84", "provincecode": "320000", "city": "镇江市", "code": "321100", "initial": "Z", "short": "Zhenjiang" }, { "id": "95", "provincecode": "330000", "city": "舟山市", "code": "330900", "initial": "Z", "short": "Zhoushan" }, { "id": "120", "provincecode": "350000", "city": "漳州市", "code": "350600", "initial": "Z", "short": "Zhangzhou" }, { "id": "137", "provincecode": "370000", "city": "淄博市", "code": "370300", "initial": "Z", "short": "Zibo" }, { "id": "138", "provincecode": "370000", "city": "枣庄市", "code": "370400", "initial": "Z", "short": "Zaozhuang" }, { "id": "152", "provincecode": "410000", "city": "郑州市", "code": "410100", "initial": "Z", "short": "Zhengzhou" }, { "id": "167", "provincecode": "410000", "city": "周口市", "code": "411600", "initial": "Z", "short": "Zhoukou" }, { "id": "168", "provincecode": "410000", "city": "驻马店市", "code": "411700", "initial": "Z", "short": "Zhumadian" }, { "id": "184", "provincecode": "430000", "city": "株洲市", "code": "430200", "initial": "Z", "short": "Zhuzhou" }, { "id": "190", "provincecode": "430000", "city": "张家界市", "code": "430800", "initial": "Z", "short": "Zhangjiajie" }, { "id": "200", "provincecode": "440000", "city": "珠海市", "code": "440400", "initial": "Z", "short": "Zhuhai" }, { "id": "204", "provincecode": "440000", "city": "湛江市", "code": "440800", "initial": "Z", "short": "Zhanjiang" }, { "id": "206", "provincecode": "440000", "city": "肇庆市", "code": "441200", "initial": "Z", "short": "Zhaoqing" }, { "id": "214", "provincecode": "440000", "city": "中山市", "code": "442000", "initial": "Z", "short": "Zhongshan" }, { "id": "239", "provincecode": "510000", "city": "自贡市", "code": "510300", "initial": "Z", "short": "Zigong" }, { "id": "255", "provincecode": "510000", "city": "资阳市", "code": "512000", "initial": "Z", "short": "Ziyang" }, { "id": "261", "provincecode": "520000", "city": "遵义市", "code": "520300", "initial": "Z", "short": "Zunyi" }, { "id": "272", "provincecode": "530000", "city": "昭通市", "code": "530600", "initial": "Z", "short": "Zhaotong" }, { "id": "307", "provincecode": "620000", "city": "张掖市", "code": "620700", "initial": "Z", "short": "Zhangye" }, { "id": "327", "provincecode": "640000", "city": "中卫市", "code": "640500", "initial": "Z", "short": "Zhongwei" }] 14 15 //城市检索的首字母 16 var searchLetter = ["A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "W", "X", "Y", "Z"] 17 18 // function searchLetter() { 19 // return searchLetter; 20 // } 21 22 //对城市信息进行分组 23 function cityList() { 24 let tempArr = []; 25 26 searchLetter.map( 27 initial => { 28 let tempObj = {}; 29 let cityInfo = []; 30 31 tempObj.initial = initial; 32 tempObj.cityInfo = cityObj.filter( 33 city => city.initial == initial 34 ); 35 36 tempArr.push(tempObj); 37 } 38 ); 39 40 // console.log(JSON.stringify(tempArr)); 41 return tempArr; 42 } 43 44 function pushCity() { 45 46 } 47 48 module.exports = { 49 searchLetter: searchLetter, 50 cityList: cityList, 51 cityObjs: cityObjs 52 }
1 module.exports = { 2 key: "申请得腾讯得key", 3 }
里面请求用到了腾讯地图得接口,(获取城市列表)所以需要申请一个腾讯地图开发的KEY,如果有的话就不需要申请了!!
忘记了
app.js里面还有一些东西,主要是为了在tab页跳转的时候,获取到参数,如果不是tab跳转就不需要了
代码
globalData: {
userInfo: null,
defaultCity: '上海市',
defaultCity2:'苏州市'
}