<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:65:"F:\sywork\www\hsycms.v2.0/app/index\view\mobile\showdownload.html";i:1564483157;s:64:"F:\sywork\www\hsycms.v2.0/app/index\view\mobile\showcontact.html";i:1564483134;s:57:"F:\sywork\www\hsycms.v2.0\app\index\view\mobile\head.html";i:1564483816;s:56:"F:\sywork\www\hsycms.v2.0\app\index\view\mobile\map.html";i:1564392997;s:57:"F:\sywork\www\hsycms.v2.0\app\index\view\mobile\foot.html";i:1564482956;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta charset="utf-8">
<title><?php echo $site['webtitle']; ?></title>
<meta name="keywords" content="<?php echo $site['webkeywords']; ?>">
<meta name="description" content="<?php echo $site['webdescription']; ?>">
<link rel="stylesheet" href="__PUBLIC__/static/mobile/css/swiper.min.css">
<link rel="stylesheet" href="__PUBLIC__/static/mobile/css/style.css?t=<?php echo time(); ?>" />
<script src="__PUBLIC__/static/mobile/js/jquery.1.11.js"></script>
<script src="__PUBLIC__/static/mobile/js/swiper.min.js"></script>
</head>
<body>
<div class="head"><a href="/m"><img src="<?php echo config('weblogo'); ?>" alt="" class="logo" /></a>
  <div class="menushow"><span></span><span></span><span></span></div>
  <a href="tel:<?php echo $site['contact_tel']; ?>" title="<?php echo $site['contact_tel']; ?>" class="tel"></a>
</div>
<div class="mask"></div>
<ul class="menu">
  <h2>菜单</h2>
  <li><a href="/m">首页</a></li>
  <?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$n): $mod = ($i % 2 );++$i;?>
  <li><a href="<?php echo u($n['entitle'],'',1); ?>"><?php echo $n['title']; ?></a> </li>
  <?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<script>
$(function(){  
   hidemenu();	
   $(".menushow").click(function(){	   	  
	  	$(".menu").addClass("show");
		$(".mask").addClass("show");
		$(this).addClass("on");					  
   })
   $(".mask").click(function(){ 
       hidemenu();
   })
   function hidemenu(){    
	 $(".menu").removeClass("show");
	 $(".mask").removeClass("show");
	 $(".menushow").removeClass("on");	 
   } 
})
</script>
<div class="topimg" style="background-image:url(<?php echo (isset($banner) && ($banner !== '')?$banner:'_CN_/topimg.jpg'); ?>)"></div>
<div class="nycate">
  <ul>
    <?php if(is_array($leftlist) || $leftlist instanceof \think\Collection || $leftlist instanceof \think\Paginator): $i = 0; $__LIST__ = $leftlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?> 
     <li>
     <a href="<?php echo u($entitle,$v['id'],1); ?>" <?php if($v['id'] == $id): ?>class="on"<?php endif; ?>><?php echo $v['title']; ?></a>
      </li>
    <?php endforeach; endif; else: echo "" ;endif; ?>
  </ul>
</div>
<div class="pdbox"> <?php echo $one['content']; ?> <br /> <div class="clear"></div>
<style type="text/css">
.map{ background:#fff; border:1px solid #eee; padding:5px; }
.map table,tr,td{box-sizing: content-box;}
#allmap {width: 100%;height:250px;overflow: hidden;margin:0;font-family:"微软雅黑"; }
#allmap img{max-width:none;}
</style>
<div class="map">
<div id="allmap"></div>	
</div>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=0AhnqzMOO8ra47GayYcDwiIy"></script>
<script type="text/javascript" src="http://api.map.baidu.com/library/SearchInfoWindow/1.5/src/SearchInfoWindow_min.js"></script>
<link rel="stylesheet" href="http://api.map.baidu.com/library/SearchInfoWindow/1.5/src/SearchInfoWindow_min.css" />
 <script type="text/javascript">
  // 百度地图API功能
  var map = new BMap.Map("allmap");
  var point = new BMap.Point(<?php echo $site['contact_latlng']; ?>);
  map.centerAndZoom(point, 20);
  map.enableScrollWheelZoom();
  map.enableInertialDragging();
  var content = '<div style="padding:8px;line-height:22px;">地址：<?php echo $site['contact_address']; ?><br/>电话：<?php echo $site['contact_tel']; ?></div>';  
  var searchInfoWindow = null;
  searchInfoWindow = new BMapLib.SearchInfoWindow(map, content, {
		  title  : "<?php echo $site['contact_company']; ?>",      //标题
		  width  : 290,             //宽度			
		  panel  : "panel",         //检索结果面板
		  enableAutoPan : true,     //自动平移
		  searchTypes   :[
			  BMAPLIB_TAB_SEARCH,   //周边检索
			  BMAPLIB_TAB_TO_HERE,  //到这里去
			  BMAPLIB_TAB_FROM_HERE //从这里出发
		  ]
  });
  var marker = new BMap.Marker(point); 	
  marker.enableDragging(); //marker可拖拽  
  marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画
  //searchInfoWindow.open(marker);  //默认打开  
  map.addOverlay(marker); //在地图中添加marker    
</script> </div>
</div>
<div class="clear"></div>
<div class="footer">   
  <div class="fcon">
    <p><b><?php echo config('contact_company'); ?></b></p>
    <p>联系电话：<?php echo config('contact_tel'); ?></p>
    <p>电子邮件：<?php echo config('contact_email'); ?></p>
    <p>联系地址：<?php echo config('contact_address'); ?></p>
  </div>  
</div>
<div class="copy"> <?php echo config('webcopyright'); ?> </div>
<script>
$(function(){
	$(".pdbox *").css({"max-width":'100%'});
	$(".pdbox img").css({"height":'auto','max-height':'auto'});	
})
</script>
</body></html>