$(function(){ // select(); }) function mapInt02(mapx,mapy){ var num = 0.002; var num2 = 0.0005; var map = new BMap.Map("map"); var point = new BMap.Point(mapx,mapy); var myIcon = new BMap.Icon("../upload/20221201/address.png", new BMap.Size(250,132)); var marker2 = new BMap.Marker(point,{icon:myIcon}); map.addOverlay(marker2); if($(window).width()>1024){ map.centerAndZoom(point, 20); }else{ map.centerAndZoom(point, 20); } map.enableScrollWheelZoom(); map.enableContinuousZoom(); // if($(window).width()<1025){ // num = 0; // map.centerAndZoom(point2, 20); // } } function caseAjax(str,url){ if (url.indexOf('?') == -1) { url += '?tm=' + Math.random(); } else { url += '&tm=' + Math.random(); } $.ajax({ url:url, success:function(msg){ $(str).html(""); $(str).append(msg); setTimeout(function(){ ScollText(".contact_cont .contact_p"); },200) } }); }