function loadother(){ if(typeof(campusid) != "undefined" && !isNaN(campusid)) { var data_info = [{"id":"177075","map_x":"120.220647","map_y":"30.203618","pointname":"悦舞圈春晓路店","pointaddress":"春晓路197号","areaname":"滨江区","areacode":"100033001008"},{"id":"177074","map_x":"120.318025","map_y":"30.416406","pointname":"悦舞圈东湖南路店","pointaddress":"东湖南路284-286号","areaname":"临平区","areacode":"100033001007"},{"id":"177073","map_x":"120.136119","map_y":"30.324061","pointname":"悦舞圈吉如家园店","pointaddress":"严家桥街吉如家园","areaname":"拱墅区","areacode":"100033001005"},{"id":"177072","map_x":"120.292666","map_y":"30.392282","pointname":"悦舞圈良熟店","pointaddress":"良熟生活广场","areaname":"临平区","areacode":"100033001007"},{"id":"177071","map_x":"120.308277","map_y":"30.46377","pointname":"悦舞圈蜗牛广场店","pointaddress":"嘉丰万悦城南区步行街4-3号","areaname":"临平区","areacode":"100033001007"},{"id":"177070","map_x":"120.18269","map_y":"30.265947","pointname":"悦舞圈新华路店","pointaddress":"新华路39号铭成商务楼","areaname":"拱墅区","areacode":"100033001005"},]; //补充其他行政区分组 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(`