Page_contact1.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <div class="banner">
  2. <img src="wap/img/contact_banner.jpg"/>
  3. </div>
  4. <div class="contact_page bgfff mt10">
  5. <div class="info padall">
  6. <div class="title">联系地址</div>
  7. <div class="des">{$address}</div>
  8. </div>
  9. <div class="info padall">
  10. <div class="title">咨询</div>
  11. <div class="des">电话:<a href="tel:{$call}">{$call}</a></div>
  12. <div class="des">邮箱:{$site_email}</div>
  13. </div>
  14. <div class="kefu clearfix">
  15. <div class="left fl padall">
  16. <div class="qq"><a href="http://wpa.qq.com/msgrd?v=1&uin={$qq}&site=qq&menu=yes"><img src="wap/img/contact_qq.png"/>在线咨询</a></div>
  17. <div class="qq"><a href="http://wpa.qq.com/msgrd?v=1&uin={$qq_}&site=qq&menu=yes"><img src="wap/img/contact_qq.png"/>在线咨询</a></div>
  18. </div>
  19. <div class="right fr padall">
  20. <div class="img"><img src="<YP:block pos="wechat_code" type="image" />"/></div>
  21. <div class="name">众炬科技</div>
  22. </div>
  23. </div>
  24. <div class="map padall">
  25. <div class="contact_map">
  26. <div style="width:100%; height:260px;" id="map"></div>
  27. <script type="text/javascript" src="http://api.map.baidu.com/api?v=1.5&ak=049d71bf083fc864681834159cb08a31"></script>
  28. <script type="text/javascript">
  29. var map = new BMap.Map("map");
  30. map.centerAndZoom(new BMap.Point(113.429688,23.122076), 15);
  31. map.enableScrollWheelZoom();
  32. var marker=new BMap.Marker(new BMap.Point(113.429688,23.122076));
  33. map.addOverlay(marker);
  34. var licontent="<b>{$company}</b><br/><br/>";
  35. licontent+="<span><strong>地址:</strong>{$address}</span><br>";
  36. licontent+="<span><strong>电话:</strong>{$call}</span><br>";
  37. var content1 ="<form action=\"http://api.map.baidu.com/direction\" target=\"_blank\" method=\"get\">" + licontent +"</form>";
  38. var opts1 = { width: 200 };
  39. var infoWindow = new BMap.InfoWindow(content1, opts1);
  40. marker.openInfoWindow(infoWindow);
  41. marker.addEventListener('click',function(){ marker.openInfoWindow(infoWindow);});
  42. </script>
  43. </div>
  44. </div>
  45. </div>