Page_contact.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <!--banner 开始-->
  2. <div class="page_banner_w">
  3. <div class="page_banner">
  4. <img src="img/contact_banner.jpg" class="bgimg"/>
  5. </div>
  6. <div class="page_banner_mask">
  7. <div class="p0 animateTop">沒有了诚信与信任,再合作就是多余</div>
  8. <div class="p2 animateTop">每一个梦想我们都会鼎力相助</div>
  9. <div class="form animateTop">
  10. <div class="input">
  11. <input type="text" placeholder="姓名">
  12. </div>
  13. <div class="input">
  14. <input type="text" placeholder="电话">
  15. </div>
  16. <div class="input">
  17. <input type="text" placeholder="邮箱">
  18. </div>
  19. <div class="input">
  20. <input type="text" placeholder="地址">
  21. </div>
  22. <div class="input">
  23. <textarea name="" placeholder="留言内容"></textarea>
  24. </div>
  25. </div>
  26. <div class="btn animateTop"><a>联系我们</a></div>
  27. </div>
  28. </div>
  29. <!--banner 结束-->
  30. <!--联系我们 开始-->
  31. <div class="page_contact_w w100 bgGray pt15">
  32. <div class="page_contact mar1500 bgfff isAnimation" data-animation="slideInUp" data-timeout="100">
  33. <div class="page_contact_c">
  34. <div class="top">
  35. <ul class="clearfix">
  36. <li class="address">
  37. <div class="li_c">
  38. <div class="title">联系地址</div>
  39. <div class="add">{$address}</div>
  40. </div>
  41. </li>
  42. <li class="contact">
  43. <div class="li_c">
  44. <div class="title">咨询</div>
  45. <div class="tel">电话:{$call}</div>
  46. <div class="tel">邮箱:{$site_email}</div>
  47. </div>
  48. </li>
  49. <li class="kefu">
  50. <div class="li_c">
  51. <div class="title">在线客服</div>
  52. <div class="qq_w clearfix">
  53. <div class="qq fl">
  54. <div class="h">客服1</div>
  55. <div class="b"><a href="http://wpa.qq.com/msgrd?v=1&uin={$qq}&site=qq&menu=yes">QQ咨询</a></div>
  56. </div>
  57. <div class="qq fl">
  58. <div class="h">客服2</div>
  59. <div class="b"><a href="http://wpa.qq.com/msgrd?v=1&uin={$qq_}&site=qq&menu=yes">QQ咨询</a></div>
  60. </div>
  61. </div>
  62. </div>
  63. </li>
  64. <li class="weixin">
  65. <div class="li_c">
  66. <div class="weixin_w clearfix">
  67. <div class="code fl">
  68. <div class="h">官方微信</div>
  69. <div class="b"><img src="<YP:block pos="wechat_code" type="image" />" width="75"/></div>
  70. </div>
  71. <div class="code fl">
  72. <div class="h">手机网站</div>
  73. <div class="b"><img src="<YP:block pos="mobile_code" type="image" />" width="75"/></div>
  74. </div>
  75. </div>
  76. </div>
  77. </li>
  78. </ul>
  79. </div>
  80. <div id="allmap"> </div>
  81. <style type="text/css">
  82. #allmap {
  83. height: 622px;
  84. width: 100%;
  85. overflow: hidden;
  86. margin: 0 auto;
  87. }
  88. .BMapLib_SearchInfoWindow .BMapLib_sendToPhone {
  89. display: none;
  90. }
  91. .BMapLib_SearchInfoWindow .BMapLib_bubble_top {
  92. height: 50px !important;
  93. line-height: 50px !important;
  94. }
  95. .BMapLib_SearchInfoWindow .BMapLib_bubble_title {
  96. line-height: 50px !important;
  97. background-color: #f9f9f9 !important;
  98. overflow: hidden;
  99. height: 50px !important;
  100. padding: 0 15px !important;
  101. font-size: 16px !important;
  102. }
  103. .BMapLib_SearchInfoWindow .BMapLib_bubble_tools {
  104. height: 50px !important;
  105. }
  106. .BMapLib_SearchInfoWindow .BMapLib_bubble_close {
  107. height: 50px !important;
  108. }
  109. .BMapLib_SearchInfoWindow .BMapLib_bubble_content {
  110. padding: 10px !important;
  111. }
  112. .BMapLib_SearchInfoWindow .BMapLib_bubble_content div {
  113. font-size: 14px !important;
  114. line-height: 200% !important;
  115. }
  116. </style>
  117. <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=H1aHM7IKDb4FGhmsBdzQVRr9FPamK4LH"></script>
  118. <script type="text/javascript"src="http://api.map.baidu.com/library/SearchInfoWindow/1.5/src/SearchInfoWindow_min.js"></script>
  119. <script type="text/javascript">
  120. // 百度地图API功能
  121. window.onload = function() {
  122. var map = new BMap.Map('allmap');
  123. var poi = new BMap.Point(113.363317,23.141258);
  124. map.centerAndZoom(poi, 17);
  125. var content = '<div style="margin:0;line-height:20px;padding:2px;">' +'电话:{$call}<br/>邮箱:{$site_email}<br/>地址:{$address}' +'</div>';
  126. //创建检索信息窗口对象
  127. var searchInfoWindow = null;
  128. searchInfoWindow = new BMapLib.SearchInfoWindow(map, content, {
  129. title: "{$company}", //标题
  130. width: 400, //宽度
  131. height: 105, //高度
  132. panel: "panel", //检索结果面板
  133. enableAutoPan: true, //自动平移
  134. searchTypes: [
  135. BMAPLIB_TAB_SEARCH, //周边检索
  136. BMAPLIB_TAB_TO_HERE, //到这里去
  137. BMAPLIB_TAB_FROM_HERE //从这里出发
  138. ]
  139. });
  140. //创建小狐狸
  141. var myIcon = new BMap.Icon("/Uploads/202209/63105ea487f0c.png", new BMap.Size(32, 32));
  142. var marker = new BMap.Marker(poi, {
  143. icon: myIcon
  144. }); // 创建标注
  145. searchInfoWindow.open(marker);
  146. //创建marker对象
  147. marker.addEventListener("click", function(e) {
  148. searchInfoWindow.open(marker);
  149. })
  150. map.addOverlay(marker); //在地图中添加marker
  151. }
  152. </script>
  153. </div>
  154. </div>
  155. </div>
  156. <!--联系我们 结束-->