123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
- <title>关于我们</title>
- <meta name="description" content="关于我们">
- <meta name="keywords" content="猫王收音机,猫王音响,RADIOOO,猫王音乐台,猫王1,猫王2,猫王3,猫王小王子">
- <link rel="shortcut icon" href="/static/css/favicon.ico">
- <!--{ if ($lang == 'en') {}-->
- <link rel="stylesheet" type="text/css" href="/static/css/headerComponent_en.css">
- <link rel="stylesheet" type="text/css" href="/static/css/footerComponent_en.css">
- <!--{}else{}-->
- <link rel="stylesheet" type="text/css" href="/static/css/headerComponent.css">
- <link rel="stylesheet" type="text/css" href="/static/css/footerComponent.css">
- <!--{}}-->
- <link rel="stylesheet" type="text/css" href="/static/css/commonPage.css">
- <script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script>
- <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
- <script type="text/javascript" src="/static/js/module/TD.js"></script>
- <script>
- var _hmt = _hmt || [];
- (function() {
- var hm = document.createElement("script");
- hm.src = "https://hm.baidu.com/hm.js?ec21b876c66f6033f549fcd833ac3b7b";
- var s = document.getElementsByTagName("script")[0];
- s.parentNode.insertBefore(hm, s);
- })();
- </script>
- </head>
- <body>
- <!--{ echo $header; }-->
- <div class="m-common">
- <div class="scroll-bar">
- <div class="scroll-top">top</div>
- <div class="scroll-indicator"></div>
- </div>
- <div class="content-wrap">
- <div class="content-height">
- <div class="top-wrap" style="display:none;"></div>
- <div class="brand-logo">
- <img src="http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%8E%86%E7%A8%8B/about_top.jpg" alt="">
- </div>
- <section class="content-section">
- <h2 class="content-title"><!--{ echo $aboutData['contact_title']; }--></h2>
- <div class="content-text">
- <!--{ echo $aboutData['contact']; }-->
- </div>
- <!--{ foreach($aboutData['position'] as $key => $row){ }-->
- <div class="map-wrap">
- <div class="map" id="map<!--{echo $key;}-->"></div>
- <h3 class="map-title"><!--{ echo $aboutData['position'][$key]['title'] }--></h3>
- </div>
- <!--{ }}-->
- </section>
- <section class="content-section">
- <h2 class="content-title"><!--{ echo $aboutData['business_title']; }--></h2>
- <div class="content-text">
- <!--{ echo $aboutData['business']; }-->
- </div>
- </section>
- <section class="content-section">
- <h2 class="content-title"><!--{ echo $aboutData['client_title']; }--></h2>
- <div class="content-text">
- <!--{ echo $aboutData['client']; }-->
- </div>
- </section>
- <br>
- </div>
- </div>
- </div>
- </body>
- <script type="text/javascript">
- //创建和初始化地图函数:
- function initMap(id, axisX, axisY){
- createMap(id, axisX, axisY);//创建地图
- setMapEvent();//设置地图事件
- addMapControl();//向地图添加控件
- }
-
- //创建地图函数:
- function createMap(id, axisX, axisY){
- var map = new BMap.Map(id);//在百度地图容器中创建一个地图
- var point = new BMap.Point(axisX, axisY);//定义一个中心点坐标
- map.centerAndZoom(point,17);//设定地图的中心点和坐标并将地图显示在地图容器中
- window.map = map;//将map变量存储在全局
- var marker = new BMap.Marker(point);
- map.addOverlay(marker);
- }
-
- //地图事件设置函数:
- function setMapEvent(){
- map.enableDragging();//启用地图拖拽事件,默认启用(可不写)
- map.enableScrollWheelZoom();//启用地图滚轮放大缩小
- map.enableDoubleClickZoom();//启用鼠标双击放大,默认启用(可不写)
- map.enableKeyboard();//启用键盘上下左右键移动地图
- }
-
- //地图控件添加函数:
- function addMapControl(){
- }
-
- <!--{ foreach($aboutData['position'] as $key => $row){ }-->
- initMap('map' + <!--{echo $key;}-->, <!--{ echo $aboutData['position'][$key]['long'] }-->, <!--{ echo $aboutData['position'][$key]['lat'] }-->);//创建和初始化地图
- <!--{ }}-->
- </script>
- <script type="text/javascript" src="/static/js/module/headerComponent.js"></script>
- <script type="text/javascript" src="/static/js/commonPageController.js"></script>
- </html>
|