//初始化地图对象,加载地图 var map = new AMap.Map("mapContainer",{ resizeEnable: true, //二维地图显示视口 view: new AMap.View2D({ //地图中心点 center:new AMap.LngLat(121.599057,29.81653), //地图显示的缩放级别 zoom:13 }) }); map.setLang('cn'); //地图中添加地图操作ToolBar插件 map.plugin(["AMap.ToolBar"], function(){ var toolBar = new AMap.ToolBar(); map.addControl(toolBar); }); //地图初始化时,在地图上添加一个marker标记,鼠标点击marker可弹出自定义的信息窗体 addMarker(); //添加marker标记 function addMarker(){ map.clearMap(); var marker = new AMap.Marker({ map: map, //位置 position: new AMap.LngLat(121.599057,29.81653), //复杂图标 icon: "https://webapi.amap.com/images/0.png" }); //鼠标点击marker弹出自定义的信息窗体 AMap.event.addListener(marker,'click',function(){ infoWindow.open(map,marker.getPosition()); }); } //实例化信息窗体 var infoWindow = new AMap.InfoWindow({ isCustom:true, //使用自定义窗体 content:createInfoWindow('宁波博天堂918电子股份有限公司',"地址:宁波市鄞州投资创业中心金源路988号
电话:0574-56809777"), offset:new AMap.Pixel(16, -45)//-113, -140 }); //构建自定义信息窗体 function createInfoWindow(title,content){ var info = document.createElement("div"); info.className = "info"; // 定义顶部标题 var top = document.createElement("div"); var titleD = document.createElement("div"); var closeX = document.createElement("img"); top.className = "info-top"; titleD.innerHTML = title; closeX.src = "https://webapi.amap.com/images/close2.gif"; closeX.onclick = closeInfoWindow; top.appendChild(titleD); top.appendChild(closeX); info.appendChild(top); // 定义中部内容 var middle = document.createElement("div"); middle.className = "info-middle"; middle.style.backgroundColor='white'; middle.innerHTML = content; info.appendChild(middle); // 定义底部内容 var bottom = document.createElement("div"); bottom.className = "info-bottom"; bottom.style.position = 'relative'; bottom.style.top = '0px'; bottom.style.margin = '0 auto'; var sharp = document.createElement("img"); sharp.src = "https://webapi.amap.com/images/sharp.png"; bottom.appendChild(sharp); info.appendChild(bottom); return info; } //关闭信息窗体 function closeInfoWindow(){ map.clearInfoWindow(); }

宁波博天堂918电子股份有限公司

电话:+86-574-56807000

封装材料总经办

冲压引线框架事业部

蚀刻事业部(引线框架)

蚀刻事业部(其他蚀刻元件)

电话:+86-574-56807030 

E-mail:fxl@kangqiang.com

光电事业部

电话:+86-574-55006449 

E-mail:xb@kangqiang.com

键合丝事业部

电话:+86-574-56807424 

E-mail:zhl@kangqiang.com

江阴博天堂918电子有限公司

$(document).ready(function(){ $("* img").attr({alt:"博天堂918电子",title:"博天堂918电子"}); }); $(".swiper-container img" ). removeAttr ("title") ; $(function(){ $('.click_kf').click(function(){ $(this).addClass('hidethis'); $('.open_this').addClass('cur'); }); $('.close_this').click(function(){ $('.click_kf').removeClass('hidethis'); $('.open_this').removeClass('cur'); }); $('.blcktop').click(function(){ $('html , body').animate({scrollTop: 0},'slow'); }); }); if (!window.jQuery) { document.write(unescape("%3Cscript src='/public/static/common/js/jquery.min.js' type='text/javascript'%3E%3C/script%3E")); document.write(unescape("%3Cscript type='text/javascript'%3E try{jQuery.noConflict();}catch(e){} %3C/script%3E")); } if (window.jQuery) { (function($){ default_switch(); //简体繁体互换 function default_switch() { var home_lang = getCookie('home_lang'); if (home_lang == '') { home_lang = 'cn'; } if ($.inArray(home_lang, ['zh','cn'])) { var obj = $('#jquerys2t_1573822909'); var isSimplified = getCookie('jquerys2t_1573822909'); if ('cn' == isSimplified) { $('body').t2s(); $(obj).text('繁體'); } else if ('zh' == isSimplified) { $('body').s2t(); $(obj).text('简体'); } } } //简体繁体互换 $('#jquerys2t_1573822909').click(function(){ var obj = this; var isSimplified = getCookie('jquerys2t_1573822909'); if ('' == isSimplified || 'cn' == isSimplified) { $('body').s2t(); // 简体转繁体 setCookie('jquerys2t_1573822909', 'zh'); $(obj).text('简体'); } else { $('body').t2s(); // 繁体转简体 setCookie('jquerys2t_1573822909', 'cn'); $(obj).text('繁體'); } }); })(jQuery); }