function loadother(){ if(typeof(campusid) != "undefined" && !isNaN(campusid)) { var data_info = [{"id":"185932","map_x":"118.927483","map_y":"32.102966","pointname":"总部","pointaddress":"文澜路六号中建大厦","areaname":"栖霞区","areacode":"100032001013"},{"id":"185933","map_x":"118.97281","map_y":"32.140488","pointname":"仙林校区","pointaddress":"仙林大学城齐民西路六号仙林智谷二号楼","areaname":"栖霞区","areacode":"100032001013"},{"id":"185941","map_x":"118.791917","map_y":"32.048365","pointname":"新街口校区","pointaddress":"中山东路九号 天时国际商贸中心八层F座","areaname":"玄武区","areacode":"100032001002"},{"id":"185940","map_x":"118.720644","map_y":"32.211891","pointname":"浦江校区","pointaddress":"南信大人才公寓十五栋二单元","areaname":"浦口区","areacode":"100032001011"},{"id":"185939","map_x":"118.703491","map_y":"32.159391","pointname":"东大成贤校区","pointaddress":"星火路十九号星智汇商务花园九栋","areaname":"浦口区","areacode":"100032001011"},{"id":"185938","map_x":"118.652851","map_y":"32.080133","pointname":"浦口紫晶龙华广场校区","pointaddress":"南京工业大学门口紫晶龙华广场一栋","areaname":"浦口区","areacode":"100032001011"},{"id":"185937","map_x":"118.908843","map_y":"31.92095","pointname":"江宁文鼎校区","pointaddress":"龙眠大道618号协众财富广场(交院地铁站往南医大方向200米)","areaname":"江宁区","areacode":"100032001015"},{"id":"185936","map_x":"118.762617","map_y":"31.963827","pointname":"江宁将军山校区","pointaddress":"三江学院主校区一号教学楼","areaname":"雨花台区","areacode":"100032001014"},{"id":"185935","map_x":"118.791683","map_y":"31.942363","pointname":"南航校区","pointaddress":"秣陵街道将军大道20号翠屏国际广场21幢","areaname":"江宁区","areacode":"100032001015"},{"id":"185934","map_x":"118.8882","map_y":"31.707278","pointname":"溧水校区","pointaddress":"禄口街道石埝社区金城步行街八幢811号(金城学院南门正对面)","areaname":"江宁区","areacode":"100032001015"},]; //补充其他行政区分组 if(data_info.length>10){ var areaGroupArr=new Array(); var defaultCode=''; for(var i=0;i< data_info.length;i++){ if(data_info[i].id==campusid){ defaultCode=data_info[i].areacode; } var _item=areaGroupArr.find(it=>it.areacode==data_info[i].areacode); if(_item){ _item.count++; }else{ areaGroupArr.push({areacode:data_info[i].areacode,areaname:data_info[i].areaname,count:1,fid:data_info[i].id}); } } $('#areaul li:gt(0)').remove(); for(var i=0;i< areaGroupArr.length;i++){ $('#areaul').append(`