2018-05-11 城市插件

import { CityInfo } from './../../../model/common.model';import { FormControl } from '@angular/forms';import { Component, OnInit, HostListener, Directive, ElementRef, EventEmitter, Output,} from '@angular/core';import 'rxjs/rx';@Component({ selector: 'app-dmc-city-pannel', templateUrl: './dmc-city-pannel.component.html', styleUrls: ['./dmc-city-pannel.component.css'],})export class DmcCityPannelComponent implements OnInit { // 酒店城市 cityHotelList = [['0101', '北京', 'Beijing', 'bj', '156110100'], ['0201', '上海', 'Shanghai', 'sh', '156310100'], ['0301', '天津', 'Tianjin', 'tj', '156120100'], ['0401', '重庆', 'Chongqing', 'cq', '156500100'], ['0402', '万州(重庆)', 'Wanzhou', 'wz', '156500101'], ['0403', '丰都(重庆)', 'Fengdu', 'fd', '156500230'], ['0404', '涪陵(重庆)', 'Fuling', 'fl', '156500102'], ['0406', '武隆(重庆)', 'Wulong', 'wl', '156500232'], ['0408', '大足(重庆)', 'Dazu', 'dz', '156500111'], ['0409', '合川(重庆)', 'Hechuan', 'hc', '156500117'], ['0410', '永川(重庆)', 'Yongchuan', 'yc', '156500118'], ['0412', '荣昌(重庆)', 'Rongchang', 'rc', '156500226'], ['0413', '铜梁(重庆)', 'Tongliang', 'tl', '156500224'], ['0414', '綦江(重庆)', 'Qijiang', 'qj', '156500110'], ['0415', '江津(重庆)', 'Jiangjin', 'jj', '156500116'], ['0416', '彭水(重庆)', 'Pengshui', 'ps', '156500243'], ['0417', '黔江(重庆)', 'Qianjiang', 'qj', '156500114'], ['0418', '长寿(重庆)', 'Changshou', 'cs', '156500115'], ['0419', '酉阳(重庆)', 'Youyang', 'yy', '156500242'], ['0420', '秀山(重庆)', 'Xiushan', 'xs', '156500241'], ['0421', '万盛(重庆)', 'Wansheng', 'ws', '156500120'], ['0423', '石柱(重庆)', 'Shizhu', 'sz', '156500240'], ['0429', '忠县(重庆)', 'Zhongxian', 'zx', '156500233'], ['0501', '石家庄', 'Shijiazhuang', 'sjz', '156130100'], ['0502', '承德', 'Chengde', 'cd', '156130800'], ['0503', '秦皇岛', 'Qinhuangdao', 'qhd', '156130300'], ['0504', '南戴河', 'Nandaihe', 'ndh', '156360325'], ['0505', '邢台', 'Xingtai', 'xt', '156130500'], ['0506', '唐山', 'Tangshan', 'ts', '156130200'], ['0508', '北戴河', 'Beidaihe', 'bdh', '156130304'], ['0511', '廊坊', 'Langfang', 'lf', '156131000'], ['0512', '保定', 'Baoding', 'bd', '156130600'], ['0513', '张家口', 'Zhangjiakou', 'zjk', '156130700'], ['0514', '衡水', 'Hengshui', 'hs', '156131100'], ['0515', '邯郸', 'Handan', 'hd', '156130400'], ['0516', '沧州', 'Cangzhou', 'cz', '156130900'], ['0517', '任丘(沧州)', 'Renqiu', 'rq', '156130982'], ['0523', '霸州(廊坊)', 'Bazhou', 'bz', '156131081'], ['0526', '迁安(唐山)', 'Qianan', 'qa', '156130283'], ['0528', '高碑店(保定)', 'Gaobeidian', 'gbd', '156130684'], ['0533', '三河市(廊坊)', 'Sanhe', 'sh', '156131082'], ['0534', '山海关区(秦皇岛市)', 'Shanhaiguan', 'shgq', '156130303'], ['0537', '玉泉山(邢台)', 'Yuquanshan', 'yqs', '156130504'], ['0540', '遵化(唐山)', 'Zunhua', 'zh', '156130281'], ['0547', '唐县(保定)', 'Tangxian', 'tx', '156130627'], ['0548', '盐山(沧州)', 'Yanshan', 'ys', '156130925'], ['0550', '泊头(沧州)', 'Botou', 'bt', '156130981'], ['0551', '平山县(石家庄)', 'Pingshan', 'ps', '156130131'], ['0552', '崇礼县(张家口)', 'Chongli', 'cl', '156130733'], ['0554', '鹿泉市', 'Luquan', 'lq', ''], ['0555', '黄骅(沧州)', 'Huanghua', 'hh', '156130983'], ['0601', '太原', 'Taiyuan', 'ty', '156140100'], ['0602', '大同(山西)', 'Datong', 'dt', '156230606'], ['0603', '临汾', 'Linfen', 'lf', '156141000'], ['0604', '五台山', 'Wutaishan', 'wts', '156140922'], ['0605', '运城', 'Yuncheng', 'yc', '156140800'], ['0606', '忻州', 'Xinzhou', 'xz', '156140900'], ['0607', '晋中(榆次)', 'Jinzhong', 'jz', '156140700'], ['0608', '平遥(晋中)', 'Pingyao', 'py', '156140728'], ['0609', '晋城', 'Jincheng', 'jc', '156140500'], ['0611', '阳泉', 'Yangquan', 'yq', '156140300'], ['0613', '阳城', 'Yangcheng', 'yc', '156140522'], ['0615', '灵石(晋中)', 'Lingshi', 'ls', '156140729'], ['0616', '永济', 'Yongji', 'yj', '156140881'], ['0617', '长治', 'Changzhi', 'cz', '156140400'], ['0618', '朔州', 'Shuozhou', 'sz', '156140600'], ['0619', '吕梁', 'Lvliang', 'll', '156141100'], ['0620', '介休(晋中)', 'Jiexiu', 'jx', '156140781'], ['0621', '闻喜', 'Wenxi', 'wx', '156140823'], ['0622', '左权(晋中)', 'Zuoquan', 'zq', '156140722'], ['0624', '右玉', 'Youyu', 'yy', '156140623'], ['0626', '高平', 'Gaoping', 'gp', '156140581'], ['0627', '怀仁', 'Huairen', 'hr', '156140624'], ['0629', '孝义', 'Xiaoyi', 'xy', '156141181'], ['0701', '呼和浩特', 'Huhehaote', 'hhht', '156150100'], ['0702', '包头', 'Baotou', 'bt', '156150200'], ['0704', '锡林浩特', 'Xilinhaote', 'xlht', '156152502'], ['0705', '鄂尔多斯', 'Ordos', 'eeds', '156150600'], ['0706', '通辽', 'Tongliao', 'tl', '156150500'], ['0707', '赤峰', 'Chifeng', 'cf', '156150400'], ['0709', '满洲里', 'Manzhouli', 'mzl', '156150781'], ['0710', '巴彦淖尔', 'Bayannur', 'byne', '156150800'], ['0712', '呼伦贝尔(海拉尔)', 'Hulunbeier', 'hlbe', '156150700'], ['0713', '乌兰察布', 'Wulanchabu', 'wlcb', '156150900'], ['0714', '乌海', 'Wuhai', 'wh', '156150300'], ['0716', '阿拉善盟', 'Alashan', 'alsm', '156152922'], ['0717', '宁城', 'Ningcheng', 'nc', '156150429'], ['0718', '乌兰浩特', 'Wulanhaote', 'wlht', '156152201'], ['0719', '阿尔山', 'Aershan', 'aes', '156152202'], ['0721', '杭锦后旗', 'Hangjinhouqi', 'hjhq', '156150826'], ['0725', '根河(呼伦贝尔)', 'Genhe(hulunbeier)', 'gh', '156150785'], ['0726', '额尔古纳(呼伦贝尔)', 'Eerguna(hulunbeier)', 'eegn', '156150784'], ['0801', '大连', 'Dalian', 'dl', '156210200'], ['0802', '沈阳', 'Shenyang', 'sy', '156210100'], ['0803', '鞍山', 'Anshan', 'as', '156210300'], ['0804', '抚顺市', 'Fushun', 'fs', '156210421'], ['0805', '本溪', 'Benxi', 'bx', '156210500'], ['0806', '丹东', 'Dandong', 'dd', '156210600'], ['0807', '兴城', 'Xingcheng', 'xc', '156211481'], ['0809', '盘锦', 'Panjin', 'pj', '156211100'], ['0810', '锦州', 'Jinzhou', 'jz', '156210700'], ['0812', '海城(辽宁)', 'Haicheng', 'hc', '156450502'], ['0813', '铁岭', 'Tieling', 'tl', '156211200'], ['0815', '营口', 'Yingkou', 'yk', '156210800'], ['0816', '朝阳区(北京市)', 'Chaoyang', 'cyq', '156220104'], ['0818', '辽阳', 'Liaoyang', 'ly', '156211000'], ['0820', '葫芦岛', 'Huludao', 'hld', '156211400'], ['0822', '大石桥', 'Dashi', 'ds', '156210882'], ['0823', '阜新', 'Fuxin', 'fx', '156210900'], ['0824', '凤城', 'Fengcheng', 'fc', '156210682'], ['0825', '东港(辽宁)', 'Donggang', 'dg', '156371102'], ['0826', '法库', 'Faku', 'fk', '156210124'], ['0827', '旅顺', 'Lvshun', 'ls', '156210212'], ['0828', '瓦房店', 'Wafangdian', 'wfd', '156210281'], ['0829', '长兴岛', 'Changxingdao', 'cxd', '156210284'], ['0830', '普兰店', 'Pulandian', 'pld', '156210282'], ['0901', '长春', 'Changchun', 'cc', '156220100'], ['0902', '吉林', 'Jilin', 'jl', '156220200'], ['0903', '通化', 'Tonghua', 'th', '156220500'], ['0904', '延吉', 'Yanji', 'yj', '156222401'], ['0905', '延边', 'Yanbian', 'yb', '156222400'], ['0910', '松原', 'Songyuan', 'sy', '156220700'], ['0911', '珲春', 'Hunchun', 'hc', '156222404'], ['0913', '辽源', 'Liaoyuan', 'ly', '156220400'], ['0914', '辽源', 'Changbaishan', 'ly', '1560914'], ['0916', '扶余', 'Fuyu', 'fy', '156220724'], ['0917', '敦化', 'Dunhua', 'dh', '156222403'], ['0918', '白山市', 'Baishan', 'bs', ''], ['0919', '四平', 'Siping', 'sp', '156220300'], ['0930', '龙井', 'Longjing', 'lj', '156222405'], ['1001', '哈尔滨', 'Haerbin', 'heb', '156230100'], ['1002', '牡丹江', 'Mudanjiang', 'mdj', '156231000'], ['1003', '亚布力', 'Yabulee', 'ybl', '156230184'], ['1004', '大庆', 'Daqing', 'dq', '156230600'], ['1005', '齐齐哈尔', 'Qiqihaer', 'qqhe', '156230200'], ['1006', '绥芬河', 'Suifenhe', 'sfh', '156231081'], ['1008', '尚志', 'Shangzhi', 'sz', '156230183'], ['1009', '鹤岗', 'Hegang', 'hg', '156230400'], ['1010', '绥化', 'Suihua', 'sh', '156231200'], ['1012', '佳木斯', 'Jiamusi', 'jms', '156230800'], ['1013', '密山', 'Mishan', 'ms', '156230382'], ['1014', '黑河', 'Heihe', 'hh', '156231100'], ['1015', '鸡西', 'Jixi', 'jx', '156230300'], ['1016', '漠河', 'Mohe', 'mh', '156232723'], ['1018', '加格达奇', 'Jiagedaqi', 'jgdq', '156232724'], ['1019', '伊春', 'Yichun', 'yc', '156230700'], ['1020', '双鸭山', 'Shuangyashan', 'sys', '156230500'], ['1101', '南京', 'Nanjing', 'nj', '156320100'], ['1102', '苏州', 'Suzhou', 'sz', '156320500'], ['1103', '常州', 'Changzhou', 'cz', '156320400'], ['1104', '扬州', 'Yangzhou', 'yz', '156321000'], ['1105', '无锡', 'Wuxi', 'wx', '156320200'], ['1106', '徐州', 'Xuzhou', 'xz', '156320300'], ['1107', '南通', 'Nantong', 'nt', '156320600'], ['1108', '镇江', 'Zhenjiang', 'zj', '156321100'], ['1109', '宜兴(无锡)', 'Yixing', 'yx', '156320282'], ['1110', '连云港', 'Lianyungang', 'lyg', '156320700'], ['1111', '张家港(苏州)', 'Zhangjiagang', 'zjg', '156320582'], ['1112', '镇江扬中', 'Yangzhong', 'yz', ''], ['1113', '江阴(无锡)', 'Jiangyin', 'jy', '156320281'], ['1114', '吴江(苏州)', 'Wujiang', 'wj', '156320509'], ['1115', '泰州', 'Taizhou', 'tz', '156321200'], ['1116', '盐城', 'Yancheng', 'yc', '156320900'], ['1117', '常熟(苏州)', 'Changshu', 'cs', '156320581'], ['1118', '江都(扬州)', 'Jiangdu', 'jd', '156321012'], ['1119', '仪征(扬州)', 'Yizheng', 'yz', '156321081'], ['1120', '太仓(苏州)', 'Taicang', 'tc', '156320585'], ['1121', '同里(苏州)', 'Tongli', 'tl', ''], ['1122', '溧阳天目湖(常州)', 'Liyang', 'ly', '156320481'], ['1123', '淮安', 'Huaian', 'ha', '156320800'], ['1124', '泰兴(泰州)', 'Taixing', 'tx', '156321283'], ['1125', '启东(南通)', 'Qidong', 'qd', '156320681'], ['1126', '周庄(苏州昆山)', 'Zhouzhuang', 'zz', ''], ['1127', '昆山(苏州)', 'Kunshan', 'ks', '156320583'], ['1128', '如东(南通)', 'Rudong', 'rd', '156320623'], ['1129', '丹阳(镇江)', 'Danyang', 'dy', '156321181'], ['1130', '金坛(常州)', 'Jintan', 'jt', '156320482'], ['1131', '宿迁', 'Suqian', 'sq', '156321300'], ['1134', '新沂(徐州)', 'Xinyi', 'xy', '156320381'], ['1136', '东台(盐城)', 'Dongtai', 'dt', '156320981'], ['1137', '靖江(泰州)', 'Jingjiang', 'jj', '156321282'], ['1138', '泗阳(宿迁)', 'Siyang', 'sy', '156321323'], ['1139', '南通海安', 'Haian', 'ha', ''], ['1141', '姜堰(泰州)', 'Jiangyan', 'jy', '156321284'], ['1143', '句容(镇江)', 'Jurong', 'jr', '156321183'], ['1144', '高邮(扬州)', 'Gaoyou', 'gy', '156321084'], ['1146', '如皋(南通)', 'Rugao', 'rg', '156320682'], ['1149', '邳县(徐州)', 'Pizhou', 'px', ''], ['1150', '大丰(盐城)', 'Dafeng', 'df', '156320982'], ['1152', '海门(南通)', 'Haimen', 'hm', '156320684'], ['1153', '通州(南通)', 'Tongzhou', 'tz', '156320612'], ['1154', '兴化(泰州)', 'Xinghua', 'xh', '156321281'], ['1155', '铜山(徐州)', 'Tongshan', 'ts', '156320312'], ['1156', '盱眙(淮安)', 'Xuyi', 'xy', '156320830'], ['1157', '泗洪(宿迁)', 'Sihong', 'sh', '156321324'], ['1160', '金湖(淮安)', 'Jinhu', 'jh', '156320831'], ['1163', '溧水县(南京)', 'Lishuixian', 'ls', '156320124'], ['1164', '响水县(盐城)', 'Xiangshui', 'xs', '156320921'], ['1165', '滨海县(盐城)', 'Binhai', 'bh', '156320922'], ['1166', '洪泽县(淮安)', 'Hongze', 'hz', '156320829'], ['1167', '丰县(徐州)', 'Fengxian', 'fx', '156320321'], ['1168', '沭阳(宿迁)', 'Shuyang', 'sy', '156321322'], ['1201', '杭州', 'Hangzhou', 'hz', '156330100'], ['1202', '宁波', 'Ningbo', 'nb', '156330200'], ['1203', '温州', 'Wenzhou', 'wz', '156330300'], ['1204', '金华', 'Jinhua', 'jh', '156330700'], ['1205', '绍兴', 'Shaoxing', 'sx', '156330600'], ['1206', '永康', 'Yongkang', 'yk', '156330784'], ['1207', '义乌', 'Yiwu', 'yw', '156330782'], ['1208', '玉环(台州)', 'Yuhuan', 'yh', '156331021'], ['1209', '嘉兴', 'Jiaxing', 'jx', '156330400'], ['1212', '诸暨(绍兴)', 'Zhuji', 'zj', '156330681'], ['1213', '临安(杭州)', 'Linan', 'la', '156330185'], ['1214', '兰溪', 'Lanxi', 'lx', '156330781'], ['1215', '奉化(宁波)', 'Fenghua', 'fh', '156330283'], ['1224', '台州', 'Taizhou', 'tz', '156331000'], ['1226', '临海(台州)', 'Linhai', 'lh', '156331082'], ['1227', '天台(台州)', 'Tiantai', 'tt', '156331023'], ['1230', '丽水', 'Lishui', 'ls', '156331100'], ['1231', '慈溪(宁波)', 'Cixi', 'cx', '156330282'], ['1233', '千岛湖(杭州)', 'Qiandaohu', 'qdh', '156330186'], ['1234', '海宁', 'Haining', 'hn', '156330481'], ['1235', '衢州', 'Quzhou', 'qz', '156330800'], ['1236', '嵊州(绍兴)', 'Shengzhou', 'sz', '156330683'], ['1237', '瑞安(温州)', 'Ruian', 'ra', '156330381'], ['1238', '温岭(台州)', 'Wenling', 'wl', '156331081'], ['1239', '湖州', 'Huzhou', 'hz', '156330500'], ['1240', '安吉(湖州)', 'Anji', 'aj', '156330523'], ['1241', '海盐', 'Haiyan', 'hy', '156330424'], ['1242', '德清', 'Deqing', 'dq', '156330521'], ['1243', '东阳', 'Dongyang', 'dy', '156330783'], ['1245', '舟山', 'Zhoushan', 'zs', '156330900'], ['1246', '上虞(绍兴)', 'Shangyu', 'sy', '156330682'], ['1247', '桐庐(杭州)', 'Tonglu', 'tl', '156330122'], ['1248', '富阳(杭州)', 'Fuyang', 'fy', '156330183'], ['1250', '仙居(台州)', 'Xianju', 'xj', '156331024'], ['1251', '新昌(绍兴)', 'Xinchang', 'xc', '156330624'], ['1252', '宁海(宁波)', 'Ninghai', 'nh', '156330226'], ['1253', '象山(宁波)', 'Xiangshan', 'xs', '156450304'], ['1258', '象山(宁波)', 'Sanmeng', 'sm', '1561258'], ['1259', '乐清(温州)', 'Yueqing', 'yq', '156330382'], ['1260', '乐清(温州)', 'Longquan', 'lq', '1561260'], ['1262', '江山(衢州)', 'Jiangshan', 'js', '156330881'], ['1263', '桐乡', 'Tongxiang', 'ts', '156330483'], ['1264', '武义', 'Wuyi', 'wy', '156330723'], ['1266', '雁荡山(温州)', 'Yandangshan', 'yds', '156330383'], ['1267', '缙云(丽水)', 'Jinyun', 'jy', '156331122'], ['1268', '平湖', 'Pinghu', 'ph', '156330482'], ['1270', '西塘(嘉善)', 'Xitang', 'xt', '156330422'], ['1271', '建德(杭州)', 'Jiande', 'jq', '156330182'], ['1272', '遂昌(丽水)', 'Suichang(lishui)', 'sc', '156331123'], ['1274', '浦江', 'Pujiang', 'pj', '156330726'], ['1275', '余姚(宁波)', 'Yuyao', 'yy', '156330281'], ['1276', '永嘉(温州)', 'Yongjia', 'yj', '156330324'], ['1277', '嘉善', 'Jiashan', 'js', '156330421'], ['1279', '常山(衢州)', 'Changshan', 'cs', '156330822'], ['1280', '龙游(衢州)', 'Longyou', 'ly', '156330825'], ['1283', '苍南(温州)', 'Cangnan', 'cn', '156330327'], ['1284', '泰顺(温州)', 'Taishun', 'ts', '156330329'], ['1286', '开化(衢州)', 'Kaihua', 'kh', '156330824'], ['1287', '平阳(温州)', 'Pingyang', 'py', '156330326'], ['1288', '横店', 'Hengdian', 'hd', '156330785'], ['1291', '磐安', 'Panan', 'pa', '156330727'], ['1293', '乌镇(桐乡)', 'Wuzhen', 'wz', '156330484'], ['1297', '南浔(湖州)', 'Nanxun', 'nx', '156330503'], ['1298', '长兴(湖州)', 'Changxing', 'cx', '1561298'], ['1299', '景宁(丽水)', 'Jingning', 'jn', '156331127'], ['1300', '松阳(丽水)', 'Sonyang', 'sy', '156331124'], ['1301', '合肥', 'Hefei', 'hf', '156340100'], ['1302', '黄山', 'Huangshan', 'hs', '156341000'], ['1303', '安庆', 'Anqing', 'aq', '156340800'], ['1304', '芜湖', 'Wuhu', 'wh', '1561304'], ['1305', '蚌埠', 'Bengbu', 'bb', '156340300'], ['1306', '淮南', 'Huainan', 'hn', '156340400'], ['1307', '阜阳', 'Fuyang', 'fy', ''], ['1308', '巢湖(合肥)', 'Chaohu', 'ch', '156340181'], ['1309', '九华山(池州)', 'Jiuhuashan', 'jhs', '156341724'], ['1311', '马鞍山', 'Maanshan', 'mas', '156340500'], ['1312', '亳州', 'Bozhou', 'bz', '156341600'], ['1313', '天柱山(安庆)', 'Tianzhushan', 'tzs', '156340829'], ['1314', '宿州', 'Anhuisuzhou', 'sz', '156341300'], ['1315', '铜陵', 'Tongling', 'tl', '156340700'], ['1318', '滁州', 'Chuzhou', 'cz', '156341100'], ['1319', '六安', 'Liuan', 'la', '156341500'], ['1320', '池州', 'Chizhou', 'cz', '156341700'], ['1322', '淮北', 'Huaibei', 'hb', '156340600'], ['1323', '宁国(宣城)', 'Ningguo', 'ng', '156341881'], ['1324', '广德(宣城)', 'Guangde', 'gd', '156341822'], ['1325', '桐城(安庆)', 'Tongcheng', 'tc', '156340881'], ['1328', '宣城', 'Xuanchen', 'xc', '156341800'], ['1330', '宏村(黄山)', 'Hongcun', 'hc', '156341025'], ['1332', '西递(黄山)', 'Xidi', 'xd', '156341026'], ['1333', '天长(滁州)', 'Tianchang', 'tc', '156341181'], ['1334', '舒城(六安)', 'Shucheng', 'sc', '156341523'], ['1401', '厦门', 'Xiamen', 'xm', '156350200'], ['1402', '福州', 'Fuzhou', 'fz', '156350100'], ['1403', '泉州', 'Quanzhou', 'qz', '156350500'], ['1404', '武夷山', 'Wuyishan', 'wys', '156350782'], ['1405', '石狮', 'Shishi', 'ss', '156350581'], ['1406', '莆田', 'Putian', 'pt', '156350300'], ['1408', '漳州', 'Zhangzhou', 'zz', '156350600'], ['1409', '龙岩', 'Longyan', 'ly', '156350800'], ['1410', '三明', 'Sanming', 'sm', '156350400'], ['1412', '福鼎(宁德)', 'Fuding', 'fd', '156350982'], ['1413', '晋江', 'Jinjiang', 'jj', '156350582'], ['1414', '宁德', 'Ningde', 'nd', '156350900'], ['1415', '连城(龙岩)', 'Liancheng', 'lc', '156350825'], ['1417', '龙海(漳州)', 'Longhai', 'lh', '156350681'], ['1418', '东山(漳州)', 'Dongshan', 'ds', '156350626'], ['1419', '安溪(泉州)', 'Anxi', 'ax', '156350524'], ['1420', '长乐(福州)', 'Changle', 'cl', '156350182'], ['1422', '福清(福州)', 'Fuqing', 'fq', '156350181'], ['1423', '邵武(南平)', 'Shaowu', 'sw', '156350781'], ['1424', '长汀(龙岩)', 'Changting', 'ct', '156350821'], ['1425', '沙县(三明)', 'Shaxian', 'sx', '156350427'], ['1426', '上杭(龙岩)', 'Shanghang', 'sh', '156350823'], ['1427', '惠安(泉州)', 'Huian', 'ha', '156350521'], ['1428', '永安(三明)', 'Yongan', 'ya', '156350481'], ['1429', '泰宁(三明)', 'Taining', 'tn', '156350429'], ['1430', '连江(福州)', 'Lianjiang', 'lj', '156350122'], ['1431', '将乐(三明)', 'Jiangle', 'jl', '156350428'], ['1432', '武平(龙岩)', 'Wuping', 'wp', '156350824'], ['1433', '德化(泉州)', 'Dehua', 'dh', '156350526'], ['1435', '霞浦(宁德)', 'Xiapu', 'xp', '156350921'], ['1437', '永定(龙岩)', 'Yongding', 'yd', '156350822'], ['1438', '平潭(福州)', 'Pingtan', 'pt', '156350128'], ['1501', '南昌', 'Nanchang', 'nc', '156360100'], ['1502', '九江', 'Jiujiang', 'jj', '156360400'], ['1503', '吉安', 'Jian', 'ja', '156360800'], ['1506', '庐山(九江)', 'Lushan', 'ls', '156360402'], ['1507', '景德镇', 'Jingdezhen', 'jdz', '156360200'], ['1508', '上饶市', 'Shangrao', 'sr', '156361100'], ['1509', '宜春', 'Yichun', 'yc', '156360900'], ['1511', '井冈山', 'Jinggangshan', 'jgs', '156360881'], ['1512', '萍乡', 'Pingxiang', 'px', '156360300'], ['1514', '新余', 'Xinyu', 'xy', '156360500'], ['1515', '抚州', 'Fuzhou', 'fz', '156361000'], ['1516', '赣州', 'Ganzhou', 'gz', '156360700'], ['1517', '鹰潭', 'Yingtan', 'yt', '156360600'], ['1520', '婺源', 'Wuyuan', 'wy', '156361130'], ['1522', '德兴(上饶)', 'Dexing', 'dx', '156361181'], ['1523', '三清山(上饶)', 'Sanqingshan', 'sqs', '156361182'], ['1524', '玉山县(上饶)', 'Yushan', 'ys', '156361123'], ['1526', '南康市', 'Nankangshi', '', 'nk'], ['1527', '永修县(九江)', 'Yongxiu', 'yx', '156360425'], ['1601', '青岛', 'Qingdao', 'qd', '156370200'], ['1602', '济南', 'Jinan', 'jn', '156370100'], ['1603', '潍坊', 'Weifang', 'wf', '156370700'], ['1604', '烟台', 'Yantai', 'yt', '156370600'], ['1605', '威海', 'Weihai', 'wh', '156371000'], ['1606', '淄博', 'Zibo', 'zb', '156370300'], ['1607', '东营市', 'Dongying', 'dy', '156370502'], ['1608', '枣庄', 'Zaozhuang', 'zz', '156370400'], ['1610', '曲阜(济宁)', 'Qufu', 'qf', '156370881'], ['1611', '临沂', 'Linyi', 'ly', '156371300'], ['1612', '德州', 'Dezhou', 'dz', '156371400'], ['1613', '蓬莱(烟台)', 'Penglai', 'pl', '156370684'], ['1614', '泰安', 'Taian', 'ta', '156370900'], ['1615', '日照', 'Rizhao', 'rz', '156371100'], ['1616', '菏泽', 'Heze', 'hz', '156371700'], ['1618', '滨州', 'Binzhou', 'bz', '156371600'], ['1619', '济宁', 'Jining', 'jn', '156370800'], ['1620', '寿光(潍坊)', 'Shouguang', 'sg', '156370783'], ['1622', '聊城', 'Liaocheng', 'lc', '156371500'], ['1625', '即墨(青岛)', 'Jimo', 'jm', '156370282'], ['1626', '莱西(青岛)', 'Laixi', 'lx', '156370285'], ['1627', '章丘(济南)', 'Zhangqiu', 'zq', '156370181'], ['1629', '文登(威海)', 'Wendeng', 'wd', '156371081'], ['1631', '胶州(青岛)', 'Jiaozhou', 'jz', '156370281'], ['1632', '胶南(青岛)', 'Jiaonan', 'jn', '156370284'], ['1633', '长岛县(烟台)', 'Changdaoxian', 'cd', '156370634'], ['1634', '莱芜', 'Laiwu', 'lw', '156371200'], ['1636', '荣成(威海)', 'Rongcheng', 'rc', '156371082'], ['1637', '莱阳(烟台)', 'Laiyang', 'ly', '156370682'], ['1638', '平邑(临沂)', 'Pingyixian', 'py', '156371326'], ['1639', '青州(潍坊)', 'Qingzhou', 'qz', '156370781'], ['1640', '龙口(烟台)', 'Longkou', 'lk', '156370681'], ['1641', '广饶(东营)', 'Guangrao', 'gr', '156370523'], ['1642', '垦利(东营)', 'Kenli', 'kl', '156370521'], ['1643', '平度(青岛)', 'Pingdu', 'pd', '156370283'], ['1644', '高密(潍坊)', 'Gaomi', 'gm', '156370785'], ['1645', '肥城(泰安)', 'Feicheng', 'fc', '156370983'], ['1646', '五莲(日照)', 'Wulian', 'wl', '156371121'], ['1648', '诸城(潍坊)', 'Zucheng', 'zc', '156370782'], ['1649', '夏津(德州)', 'Xiajin', 'xj', '156371427'], ['1650', '博兴(滨州)', 'Boxing', 'bx', '156371625'], ['1651', '海阳(烟台)', 'Haiyang', 'hy', '156370687'], ['1652', '莱州(烟台)', 'Laizhou', 'lz', '156370683'], ['1653', '安丘(潍坊)', 'Anqiu', 'aq', '156370784'], ['1654', '栖霞区(南京市)', 'Qixia', 'qx', '156370686'], ['1655', '兖州(济宁)', 'Yanzhou', 'yz', '156370882'], ['1656', '招远(烟台)', 'Zhaoyuan', 'zy', '156370685'], ['1657', '沂源县(淄博)', 'Yiyuanxian', 'yy', '156370323'], ['1658', '沂南(临沂)', 'Yinan', 'yn', '156371321'], ['1659', '郓城(菏泽)', 'Huicheng', 'hc', '156371725'], ['1660', '沂水(临沂)', 'Yishui', 'ys', '156371323'], ['1661', '乳山(威海)', 'Rushan', 'rs', '156371083'], ['1663', '邹平县(滨州)', 'Zoupingxian', 'zp', '156371626'], ['1664', '济阳县(济南)', 'Jiyangxian', 'jy', '156370125'], ['1665', '滕州(枣庄)', 'Tengzhou', 'tz', '156370481'], ['1666', '平原县(德州)', 'Pingyuanxian', 'py', '156371426'], ['1667', '茌平(聊城)', 'Chiping', 'cp', '156371523'], ['1668', '昌乐(潍坊)', 'Changle', 'cl', '156370725'], ['1669', '无棣(滨州)', 'Wudi', 'wd', '156371623'], ['1670', '东平(泰安)', 'Dongping', 'dp', '156370923'], ['1672', '邹城(济宁)', 'Zoucheng', 'zc', '156370883'], ['1673', '金乡(济宁)', 'Jinxiang', 'jx', '156370828'], ['1701', '郑州', 'Zhengzhou', 'zz', '156410100'], ['1702', '洛阳', 'Luoyang', 'ly', '156410300'], ['1703', '开封', 'Kaifeng', 'kf', '156410200'], ['1704', '新乡', 'Xinxiang', 'xx', '156410700'], ['1705', '平顶山', 'Pingdingshan', 'pds', '156410400'], ['1706', '濮阳', 'Puyang', 'py', '156410900'], ['1707', '南阳', 'Nanyang', 'ny', '156411300'], ['1708', '三门峡', 'Sanmenxia', 'smx', '156411200'], ['1709', '济源', 'Jiyuan', 'jy', '156419001'], ['1710', '焦作', 'Jiaozuo', 'jz', '156410800'], ['1711', '灵宝(三门峡)', 'Lingbao', 'lb', '156411282'], ['1712', '鹤壁', 'Hebi', 'hb', '156410600'], ['1713', '许昌', 'Xuchang', 'xc', '156411000'], ['1714', '周口', 'Zhoukou', 'zk', '156411600'], ['1716', '安阳', 'Anyang', 'ay', '156410500'], ['1717', '漯河', 'Luohe', 'lh', '156411100'], ['1718', '驻马店', 'Zhumadian', 'zmd', '156411700'], ['1719', '登封(郑州)', 'Dengfeng', 'df', '156410185'], ['1720', '信阳', 'Xinyang', 'xy', '156411500'], ['1721', '商丘', 'Shangqiu', 'sq', '156411400'], ['1722', '荥阳(郑州)', 'Xingyang', 'xy', '156410182'], ['1723', '新郑(郑州)', 'Xingzheng', 'xz', '156410184'], ['1724', '新密(郑州)', 'Xinmi', 'xm', '156410183'], ['1726', '栾川(洛阳)', 'Luanchuan', 'lc', '156410324'], ['1727', '汝州(平顶山)', 'Ruzhou', 'rz', '156410482'], ['1728', '林州(安阳)', 'Linzhou', 'lz', '156410581'], ['1729', '禹州(许昌)', 'Yuzhou', 'yz', '156411081'], ['1730', '永城(商丘)', 'Yongcheng', 'yc', '156411481'], ['1731', '巩义(郑州)', 'Gongyi', 'gy', '156410181'], ['1732', '偃师(洛阳)', 'Yanshi', 'ys', '156410381'], ['1801', '武汉', 'Wuhan', 'wh', '156420100'], ['1802', '荆州', 'Jingzhou', 'jz', '156421000'], ['1803', '宜昌', 'Yichang', 'yc', '156420500'], ['1807', '十堰', 'Shiyan', 'sy', '156420300'], ['1810', '荆门', 'Jingmen', 'jm', '156420800'], ['1811', '恩施', 'Enshi', 'es', '156422800'], ['1813', '神农架', 'Shennongjia', 'snj', '156429021'], ['1814', '黄石', 'Huangshi', 'hs', '156420200'], ['1815', '仙桃(荆州)', 'Xiantao', 'xt', '156429004'], ['1816', '丹江口(十堰)', 'Danjiangkou', 'djk', '156420381'], ['1818', '鄂州', 'Ezhou', 'ez', '156420700'], ['1819', '大冶(黄石)', 'Daye', 'dy', '156420281'], ['1820', '咸宁', 'Xianning', 'xn', '156421200'], ['1821', '赤壁(咸宁)', 'Chibi', 'cb', '156421281'], ['1822', '孝感', 'Xiaogan', 'xg', '156420900'], ['1823', '随州', 'Suizhou', 'sz', '156421300'], ['1826', '钟祥(荆门)', 'Zhongxiang', 'zx', '156420881'], ['1829', '潜江', 'Qianjiang', 'qj', '156429005'], ['1830', '黄冈', 'Huanggang', 'hg', '156421100'], ['1831', '武当山(十堰)', 'Wudangshan', 'wds', '156420382'], ['1832', '应城(孝感)', 'Yingcheng', 'yc', '156420981'], ['1833', '洪湖(荆州)', 'Honghu', 'hh', '156421083'], ['1834', '襄阳', 'Xiangyang', 'xy', '156420600'], ['1835', '嘉鱼(咸宁)', 'Jiayu', 'jy', '156421221'], ['1836', '武穴(黄冈)', 'Wuxue', 'wx', '156421182'], ['1837', '麻城(黄冈)', 'Macheng', 'mc', '156421181'], ['1838', '罗田(黄冈)', 'Luotian', 'lt', '156421123'], ['1839', '利川(恩施)', 'Lichuan', 'lc', '156422802'], ['1901', '长沙', 'Changsha', 'cs', '156430100'], ['1902', '株洲', 'Zhuzhou', 'zz', '156430200'], ['1903', '张家界', 'Zhangjiajie', 'zjj', '156430800'], ['1904', '岳阳市', 'Yueyang', 'yy', '156430621'], ['1906', '湘潭', 'Xiangtan', 'xt', '156430300'], ['1907', '郴州', 'Chenzhou', 'cz', '156431000'], ['1910', '常德', 'Changde', 'cd', '156430700'], ['1915', '凤凰(湘西)', 'Fenghuang', 'fh', '156433123'], ['1916', '韶山(湘潭)', 'Shaoshan', 'ss', '156430382'], ['1918', '衡阳', 'Hengyang', 'hy', '156430400'], ['1919', '浏阳(长沙)', 'Liuyang', 'ly', '156430181'], ['1920', '益阳', 'Yiyang', 'yy', '156430900'], ['1921', '怀化', 'Huaihua', 'hh', '156431200'], ['1922', '耒阳(衡阳)', 'Leiyang', 'ly', '156430481'], ['1923', '永州', 'Yongzhou', 'yz', '156431100'], ['1924', '邵阳', 'Shaoyang', 'sy', '156430500'], ['1925', '冷水(娄底)', 'Lengshui', 'ls', '156431381'], ['1927', '吉首(湘西)', 'Jishou', 'js', '156433101'], ['1928', '娄底', 'Loudi', 'ld', '156431300'], ['2001', '广州', 'Guangzhou', 'gz', '156440100'], ['2002', '汕头', 'Shantou', 'st', '156440500'], ['2003', '深圳', 'Shenzhen', 'sz', '156440300'], ['2004', '珠海', 'Zhuhai', 'zh', '156440400'], ['2005', '佛山', 'Foshan', 'fs', '156440600'], ['2006', '揭阳', 'Jieyang', 'jy', '156445200'], ['2007', '东莞', 'Dongguan', 'dg', '156441900'], ['2009', '茂名', 'Maoming', 'mm', '156440900'], ['2010', '惠州', 'Huizhou', 'hz', '156441300'], ['2011', '中山区(大连市)', 'Zhongshan', 'zsq', '156442000'], ['2013', '肇庆', 'Zhaoqing', 'zq', '156441200'], ['2014', '湛江', 'Zhanjiang', 'zj', '156440800'], ['2016', '潮州', 'Chaozhou', 'cz', '156445100'], ['2020', '阳江', 'Yangjiang', 'yj', '156441700'], ['2021', '江门', 'Jiangmen', 'jm', '156440700'], ['2026', '河源', 'Heyuan', 'hy', '156441600'], ['2027', '清远', 'Qingyuan', 'qy', '156441800'], ['2028', '梅州', 'Meizhou', 'mz', '156441400'], ['2029', '鹤山区(鹤壁市)', 'Heshan', 'hs', '156440784'], ['2030', '韶关', 'Shaoguan', 'sg', '156440200'], ['2037', '台山', 'Taishan', 'ts', '156440781'], ['2040', '汕尾', 'Shanwei', 'sw', '156441500'], ['2041', '云浮', 'Yunfu', 'yf', '156445300'], ['2045', '顺德', 'Shunde', 'sd', '156440606'], ['2048', '开平区(唐山市)', 'Kaiping', 'kp', '156440783'], ['2049', '从化(广州)', 'Conghua', 'ch', ''], ['2050', '恩平', 'Enping', 'ep', '156440785'], ['2101', '桂林', 'Guilin', 'gl', '156450300'], ['2102', '南宁', 'Nanning', 'nn', '156450100'], ['2103', '北海', 'Beihai', 'bh', '156450500'], ['2104', '玉林', 'Yulin', 'yl', '156450900'], ['2105', '柳州', 'Liuzhou', 'lz', '156450200'], ['2106', '阳朔(桂林)', 'Yangshuo', 'ys', '156450321'], ['2107', '贺州', 'Hezhou', 'hz', '156451100'], ['2108', '梧州', 'Wuzhou', 'wz', '156450400'], ['2109', '钦州', 'Qinzhou', 'qz', '156450700'], ['2111', '贵港', 'Guigang', 'gg', '156450800'], ['2112', '百色', 'Baise', 'bs', '156451000'], ['2113', '防城港', 'Fangchenggang', 'fcg', '156450600'], ['2114', '大新(凭祥)', 'Daxin', 'dx', ''], ['2115', '凤山县', 'Fengshan', 'fs', '156451223'], ['2118', '来宾', 'Laibin', 'lb', '156451300'], ['2119', '河池', 'Hechi', 'hc', '156451200'], ['2120', '巴马', 'Bama', 'bm', '156451227'], ['2121', '德保县', 'Debao', 'db', '156451024'], ['2123', '宜州(河池)', 'Yizhou', 'yz', '156451281'], ['2124', '兴安(桂林)', 'Xingan', 'xa', '156450325'], ['2125', '龙胜(桂林)', 'Longsheng', 'ls', '156450328'], ['2126', '资源(桂林)', 'Ziyuan', 'zy', '156450329'], ['2127', '东兴(防城港)', 'Dongxing', 'dx', '156450681'], ['2128', '桂平(贵港)', 'Guiping', 'gp', '156450881'], ['2201', '三亚', 'Sanya', 'sy', '156460200'], ['2202', '海口', 'Haikou', 'hk', '156460100'], ['2203', '万宁', 'Wanning', 'wn', '156469006'], ['2206', '琼海', 'Qionghai', 'qh', '156469002'], ['2207', '陵水', 'Lingshui', 'ls', '156469028'], ['2211', '陵水', 'Xinglong', '', '1562211'], ['2212', '文昌', 'Wenchang', 'wc', '156469005'], ['2213', '五指山', 'Wuzhishan', 'wzs', '156469001'], ['2214', '保亭(七仙岭)', 'Baoting', 'bt', '156469029'], ['2215', '定安', 'Dingan', 'da', '156469021'], ['2216', '儋州', 'Danzhou', 'dz', '156469003'], ['2218', '东方', 'Dongfang', 'df', '156469007'], ['2219', '乐东', 'Ledong', 'ld', '156469027'], ['2220', '博鳌', 'Boao', 'ba', '156469012'], ['2301', '成都', 'Chengdu', 'cd', '156510100'], ['2302', '绵阳', 'Mianyang', 'my', '156510700'], ['2303', '乐山', 'Leshan', 'ls', '156511100'], ['2304', '眉山', 'Meishan', 'ms', '156511400'], ['2305', '自贡', 'Zigong', 'zg', '156510300'], ['2306', '雅安', 'Yaan', 'ya', '156511800'], ['2307', '都江堰青城山(成都)', 'Dujiangyan', 'djy', '156510181'], ['2308', '宜宾', 'Yibin', 'yb', '156511500'], ['2309', '南充', 'Nanchong', 'nc', '156511300'], ['2310', '峨眉山', 'Emeishan', 'ems', '156511181'], ['2311', '九寨沟', 'Jiuzhaigou', 'jzg', '156513225'], ['2312', '德阳', 'Deyang', 'dy', '156510600'], ['2313', '广安', 'Guangan', 'ga', '156511600'], ['2314', '泸州', 'Luzhou', 'lz', '156510500'], ['2315', '遂宁', 'Suining', 'sn', '156510900'], ['2317', '阆中(南充)', 'Langzhong', 'lz', '156511381'], ['2318', '西昌(凉山州)', 'Xichang', 'xc', '156513401'], ['2319', '内江', 'Neijiang', 'nj', '156511000'], ['2320', '广元', 'Guangyuan', 'gy', '156510800'], ['2321', '攀枝花', 'Panzhihua', 'pzh', '156510400'], ['2328', '海螺沟(甘孜州)', 'Hailuogou', 'hlg', '156513340'], ['2329', '江油(绵阳)', 'Jiangyou', 'jy', '156510781'], ['2330', '稻城(甘孜州)', 'Daocheng', 'dc', '156513337'], ['2333', '巴中', 'Bazhong', 'bz', '156511900'], ['2334', '马尔康(阿坝州)', 'Maerkang', 'mek', '156513229'], ['2336', '康定(甘孜州)', 'Kangding', 'kd', '156513321'], ['2337', '泸定县(甘孜州)', 'Luding', 'ld', '156513322'], ['2339', '泸定县(甘孜州)', 'Pengzhou', '', '1562339'], ['2340', '达州', 'Dazhou', 'dz', '156511700'], ['2346', '达州', 'Ziyang', '', '1562346'], ['2350', '西岭雪山(大邑)', 'Xilingxues', 'xlxs', '156510130'], ['2351', '北川县(绵阳)', 'Beichuan', 'bc', '156510726'], ['2352', '简阳(资阳)', 'Jianyang', 'jy', '156512081'], ['2353', '蜀南竹海(宜宾)', 'Sunanzhuhai', 'snzh', '156511530'], ['2354', '若尔盖(阿坝)', 'Ruoergai', 'reg', '156513232'], ['2356', '阿坝州', 'Abazhou', 'abz', ''], ['2401', '贵阳', 'Guiyang', 'gy', '156520100'], ['2402', '遵义', 'Zunyi', 'zy', '156520300'], ['2403', '兴义(黔西南州)', 'Xingyi', 'xy', '156522301'], ['2404', '凯里(黔东南)', 'Kaili', 'kl', '156522601'], ['2405', '安顺(黄果树)', 'Anshun', 'as', '156520400'], ['2407', '仁怀(遵义)', 'Renhuai', 'rh', '156520382'], ['2408', '都匀市(黔南州)', 'Dujunshi', 'djs', '156522701'], ['2411', '荔波(黔南州)', 'Libo', 'lb', '156522722'], ['2412', '六盘水', 'Liupanshui', 'lps', '156520200'], ['2413', '铜仁', 'Tongren', 'tr', '156520600'], ['2414', '毕节', 'Bijie', 'bj', '156520500'], ['2415', '镇远(黔东南州)', 'Zhengyuan', 'zy', '156522625'], ['2418', '安顺(黄果树)', 'Anshun', 'as', '156520400'], ['2419', '安龙县', 'Anlongxian', 'al', '156522328'], ['2501', '昆明', 'Kunming', 'km', '156530100'], ['2503', '丽江(含束河)', 'Lijiang', 'lj', '156530700'], ['2505', '大理', 'Dali', 'dl', '156532900'], ['2506', '香格里拉(迪庆州)', 'Xianggelila', 'xgll', '156533421'], ['2507', '西双版纳', 'Xishuangbanna', 'xsbn', '156532800'], ['2510', '保山', 'Baoshan', 'bs', '156530500'], ['2511', '临沧', 'Lincang', 'lc', '156530900'], ['2512', '腾冲', 'Tengchong', 'tc', '156530522'], ['2513', '文山', 'Wenshan', 'ws', '156532600'], ['2517', '红河州', 'Honghezhou', 'hhz', ''], ['2518', '楚雄', 'Chuxiong', 'cx', '156532300'], ['2519', '德钦(迪庆州)', 'Deqin', 'dq', '156533422'], ['2520', '瑞丽(德宏州)', 'Ruili', 'rl', '156533102'], ['2521', '芒市(德宏州)', 'Mangshi', 'ms', '156533103'], ['2522', '曲靖', 'Qujing', 'qj', '156530300'], ['2523', '玉溪', 'Yuxi', 'yx', '156530400'], ['2524', '泸沽湖', 'Luguhu', 'lgh', '156513438'], ['2527', '怒江', 'Nujiang', 'nj', '156533300'], ['2528', '泸西(红河州)', 'Luxi', 'lx', '156532527'], ['2529', '普洱', 'Puer', 'pe', '156530800'], ['2530', '昭通', 'Zhaotong', 'zt', '156530600'], ['2601', '拉萨', 'Lasa', 'ls', '156540100'], ['2603', '林芝', 'Linzhi', 'lz', '156542600'], ['2604', '日喀则', 'Rikaze', 'rkz', '156542300'], ['2606', '昌都', 'Changdu', 'cd', '156542100'], ['2607', '山南', 'Shannan', 'sn', '156542200'], ['2701', '西安', 'Xian', 'xa', '156610100'], ['2702', '宝鸡', 'Baoji', 'bj', '156610300'], ['2703', '咸阳', 'Xianyang', 'xy', '156610400'], ['2704', '杨凌区(咸阳)', 'Yangling', 'yl', '156610403'], ['2705', '延安', 'Yanan', 'ya', '156610600'], ['2706', '韩城', 'Hancheng', 'hc', '156610581'], ['2707', '汉中', 'Hanzhong', 'hz', '156610700'], ['2708', '渭南', 'Weinan', 'wn', '156610500'], ['2709', '榆林', 'Yulin', 'yl', '156610800'], ['2710', '华山', 'Huashan', 'hs', '156610583'], ['2712', '商洛', 'Shangluo', 'sl', '156611000'], ['2713', '铜川', 'Tongchuan', 'tc', '156610200'], ['2714', '安康', 'Ankang', 'ak', '156610900'], ['2715', '靖边县', 'Jingbianxian', 'jb', '156610824'], ['2716', '扶风县', 'Fufengxian', 'ff', '156610324'], ['2717', '柞水县', 'Zhashuixian', 'zs', '156611026'], ['2718', '吴起县', 'Wuqi', 'wq', '156610626'], ['2721', '兴平', 'Xingping', 'xp', '156610481'], ['2801', '兰州', 'Lanzhou', 'lz', '156620100'], ['2802', '嘉峪关', 'Jiayuguan', 'jxg', '156620200'], ['2803', '敦煌', 'Dunhuang', 'dh', '156620982'], ['2804', '张掖', 'Zhangye', 'zy', '156620700'], ['2805', '天水', 'Tianshui', 'ts', '156620500'], ['2806', '酒泉', 'Jiuquan', 'jq', '156620900'], ['2807', '白银', 'Baiyin', 'by', '156620400'], ['2808', '武威', 'Wuwei', 'ww', '156620600'], ['2809', '平凉', 'Pingliang', 'pl', '156620800'], ['2810', '金昌', 'Jinchang', 'jc', '156620300'], ['2812', '甘南县(齐齐哈尔市)', 'Gannan', 'gn', '156623000'], ['2813', '庆阳', 'Qingyang', 'qy', '156621000'], ['2901', '银川', 'Yinchuan', 'yc', '156640100'], ['2902', '石嘴山', 'Shizuishan', 'szs', '156640200'], ['2903', '吴忠', 'Wuzhong', 'wz', '156640300'], ['2904', '中卫', 'Zhongwei', 'zw', '156640500'], ['2905', '固原', 'Guyuan', 'gy', '156640400'], ['2906', '灵武', 'Lingwu', 'lw', '156640181'], ['3001', '西宁', 'Xining', 'xn', '156630100'], ['3002', '青海湖', 'Qinghaihu', 'qhh', '156630124'], ['3003', '格尔木', 'Geermu', 'gem', '156632801'], ['3004', '德令哈', 'Delingha', 'dlh', '156632802'], ['3005', '玉树藏族自治州', 'Yushu', 'ys', '156632721'], ['3006', '贵德县', 'Guide', 'gd', '156632523'], ['3007', '湟中县', 'Huangzhong', 'hz', '156630122'], ['3101', '乌鲁木齐', 'Wulumuqi', 'wlmq', '156650121'], ['3102', '克拉玛依', 'Kelamayi', 'klmy', '156650200'], ['3104', '库尔勒', 'Kuerle', 'kel', '156652801'], ['3105', '库尔勒', 'Shanshan', '', '1563105'], ['3106', '伊宁', 'Yining', 'yn', '156654021'], ['3107', '石河子', 'Shihezi', 'ssz', '156659001'], ['3108', '吐鲁番', 'Turpan', 'tlf', '156652100'], ['3109', '阿克苏', 'Akesu', 'aks', '156652900'], ['3110', '喀纳斯', 'Kanasi', 'kns', '156654322'], ['3111', '喀什', 'Kashi', 'ks', '156653100'], ['3112', '奎屯', 'Kuitun', 'kt', '156654003'], ['3113', '哈密', 'Hami', 'hm', '156652200'], ['3114', '塔什库尔干', 'Tashikuergan', 'tsheg', '156653131'], ['3115', '昌吉', 'Changji', 'cj', '156652300'], ['3116', '博尔塔拉', 'Boertala', 'betl', '156652700'], ['3117', '博乐', 'Bole', 'bl', '156652701'], ['3118', '阿勒泰', 'Aletai', 'alt', '156654300'], ['3119', '鄯善县', 'Shanshanxian', 'ssx', '156652122'], ['3120', '呼图壁县', 'Hutubi', 'htb', '156652323'], ['3121', '和田市', 'Hetian', 'ht', '156653221'], ['0927', '蛟河', 'Jiaohe', 'jh', '156220281'], ['0929', '梅河口', 'Meihekou', 'mhk', '156220581'], ['0915', '磐石', 'Panshi', 'ps', '156220284'], ['1840', '天门(湖北)', 'Tianmen', 'tm', '156429006'], ['1328', '宣城', 'Xuancheng', 'xc', '156341800'], ['1225', '宣城', 'Huangyan', '', '1561225'], ['2316', '松潘(黄龙,川主寺)', 'Song pan', 'sp', ''], ['2408', '都匀市(黔南州)', 'Duyun', 'dy', '156522701'], ['1411', '南平', 'Nanping', 'np', '156350700'], ['0920', '白城', 'Baicheng', 'bc', '156220800'], ['2817', '陇南市', 'Longnan', 'ln', '156621200'], ['1025', '七台河', 'QItaihe', 'qt', '156230900'], ['3011', '平安县', 'Pingan', 'pa', '156632121'], ['0425', '巫山(重庆)', 'Wushan', 'ws', '156500237'], ['0427', '奉节(重庆)', 'Fengjie', 'fj', '156500236'], ['0424', '开县(重庆)', 'Kaixian', 'kx', '156500234'], ['0422', '云阳(重庆)', 'Yunyang', 'yy', '156500235']]; cityHotelHotList = [['0101', '北京', 'Beijing', '', '156110100'], ['0201', '上海', 'Shanghai', '', '156310100'], ['2001', '广州', 'Guangzhou', '', '156440100'], ['2003', '深圳', 'Shenzhen', '', '156440300'], ['1201', '杭州', 'Hangzhou', '', '156330100'], ['1102', '苏州', 'Suzhou', '', '156320500'], ['1202', '宁波', 'Ningbo', '', '156330200'], ['1101', '南京', 'Nanjing', '', '156320100'], ['2201', '三亚', 'Sanya', '', '156460200'], ['1801', '武汉', 'Wuhan', '', '156420100'], ['2301', '成都', 'Chengdu', '', '156510100'], ['0401', '重庆', 'Chongqing', '', '156500100'], ['2701', '西安', 'Xian', 'xa', '156610100'], ['2501', '昆明', 'Kunming', '', '156530100'], ['1601', '青岛', 'Qingdao', '', '156370200'], ['0801', '大连', 'Dalian', '', '156210200'], ['0802', '沈阳', 'Shenyang', '', '156210100'], ['0301', '天津', 'Tianjin', '', '156120100'], ['0506', '唐山', 'Tangshan', '', '156130200'], ['0810', '锦州', 'Jinzhou', '', '156210700'], ['2004', '珠海', 'Zhuhai', '', '156440400'], ['2002', '汕头', 'Shantou', '', '156440500'], ['2806', '酒泉', 'Jiuquan', '', '156620900'], ['1602', '济南', 'Jinan', '', '156370100'], ['2505', '大理', 'Dali', '', '156532900'], ['2809', '平凉', 'Pingliang', '', '156620800'], ['2810', '金昌', 'Jinchang', '', '156620300']]; cityAB = this.filterCity(['A', 'B']); cityCD = this.filterCity(['C', 'D']); cityEFG = this.filterCity(['E', 'F', 'G']); cityHI = this.filterCity(['H', 'I']); cityJK = this.filterCity(['J', 'K']); cityLM = this.filterCity(['L', 'M']); cityNOPQ = this.filterCity(['N', 'O', 'P', 'Q']); cityRS = this.filterCity(['R', 'S']); cityTUV = this.filterCity(['T', 'U', 'V']); cityWX = this.filterCity(['W', 'X']); cityY = this.filterCity(['Y']); cityZ = this.filterCity(['Z']); tabs = [ { name: '热门', content: this.cityHotelHotList, }, { name: 'AB', content: this.cityAB, }, { name: 'CD', content: this.cityCD, }, { name: 'EFG', content: this.cityEFG, }, { name: 'HI', content: this.cityHI, }, { name: 'JK', content: this.cityJK, }, { name: 'LM', content: this.cityLM, }, { name: 'NOPQ', content: this.cityNOPQ, }, { name: 'RS', content: this.cityRS, }, { name: 'TUV', content: this.cityTUV, }, { name: 'WX', content: this.cityWX, }, { name: 'Y', content: this.cityY, }, { name: 'Z', content: this.cityZ, }, ]; isCityPannelOpen = false; isCityFilterOpen = false; cityName: string; cityCode: string; cityId: string; filterMatched: any; matchedCount: number; @Output() lastInfo: EventEmitter = new EventEmitter(); @HostListener('window:click', ['$event']) isHide(event) { if ( !this.el.nativeElement.querySelector('.wrapper').contains(event.target) ) { this.isCityPannelOpen = false; this.isCityFilterOpen = false; } } @HostListener('window:keyup', ['$event']) keyPress(event) { const code = event.keyCode; if (this.isCityFilterOpen) { switch (code) { case 40: const li = this.el.nativeElement.querySelectorAll( '.cityFilterWrapper li' ); for (let i = 0; i < this.filterMatched.length; i = i + 1) { if ( li[i].className === 'cur' && i < this.filterMatched.length - 1 ) { li[i].className = ''; li[i + 1].className = 'cur'; break; } } break; case 38: const _li = this.el.nativeElement.querySelectorAll( '.cityFilterWrapper li' ); for (let i = 0; i < this.filterMatched.length; i = i + 1) { if (_li[i].className === 'cur' && i > 0) { _li[i].className = ''; _li[i - 1].className = 'cur'; break; } } break; case 13: this.el.nativeElement .querySelector('.cityFilterWrapper .cur a') .click(); break; } } } constructor(private el: ElementRef) {} ngOnInit() {} filterCity(city: Array): any { const cityList = []; city.forEach((v) => { for (let i = 0; i < this.cityHotelList.length; i ++) { const firstLetter = this.cityHotelList[i][2].substr(0, 1); if (v === firstLetter) { cityList.push(this.cityHotelList[i]); } } }); return cityList; } showCityPannel() { this.isCityPannelOpen = true; } closeCityPannel() { setTimeout(() => { this.isCityPannelOpen = false; }, 200); } chooseCity(e) { this.cityName = e.target.getAttribute('title'); this.cityCode = e.target.getAttribute('citycode'); this.cityId = e.target.getAttribute('cityid'); const lastInfo: CityInfo = new CityInfo( this.cityName, this.cityId, this.cityCode ); this.lastInfo.emit(lastInfo); setTimeout(() => { this.isCityPannelOpen = false; this.isCityFilterOpen = false; }, 200); } cityInputFilter() { const reg = new RegExp('[\\u4E00-\\u9FFF]+$', 'g'); this.filterMatched = []; if (this.cityName) { this.isCityFilterOpen = true; } else { this.isCityFilterOpen = false; this.cityId = ''; this.cityCode = ''; const lastInfo: CityInfo = new CityInfo( this.cityName, this.cityId, this.cityCode ); this.lastInfo.emit(lastInfo); } if (reg.test(this.cityName)) { for (let i = 0; i < this.cityHotelList.length; i = i + 1) { if (this.cityHotelList[i][1].indexOf(this.cityName) >= 0) { this.filterMatched.push(this.cityHotelList[i]); } } } else { for (let i = 0; i < this.cityHotelList.length; i = i + 1) { if ( this.cityHotelList[i][2] .toLocaleLowerCase() .indexOf(this.cityName.toLocaleLowerCase()) >= 0 || this.cityHotelList[i][3] .toLocaleLowerCase() .indexOf(this.cityName.toLocaleLowerCase()) >= 0 ) { this.filterMatched.push(this.cityHotelList[i]); } } } this.matchedCount = this.filterMatched.length; }}
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 203,098评论 5 476
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 85,213评论 2 380
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 149,960评论 0 336
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,519评论 1 273
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,512评论 5 364
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,533评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,914评论 3 395
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,574评论 0 256
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,804评论 1 296
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,563评论 2 319
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,644评论 1 329
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,350评论 4 318
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,933评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,908评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,146评论 1 259
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 42,847评论 2 349
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,361评论 2 342

推荐阅读更多精彩内容