<?php $name='activity' ?>
<?php $title='活动' ?>
<?php $data['main/content.config']=Dever::load('main/content.config') ?>
<?php $data['main/content.search']=Dever::load('main/content.search') ?>
<?php $data['main/content.msearch']=Dever::load('main/content.msearch') ?>
<?php $data['main/content.menu']=Dever::load('main/content.menu') ?>
<?php $data['main/content.news|type=4']=Dever::load('main/content.news', array (
  'type' => '4',
)) ?>
<?php $data['main/content.news?type=4']=Dever::load('main/content.news?type=4') ?>
<!DOCTYPE html>
<!--power by dever--><html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="black" name="apple-mobile-web-app-status-bar-style">
	<meta content="telephone=no" name="format-detection">

	<title><?php  echo isset($title) ? $title . "_" . Dever::load("main/content.config#name") : Dever::load("main/content.config#name") ?></title>

	<meta name="Keywords" content="<?php  echo isset($keywords) ? Dever::load("main/content.config#keywords") . "," . $keywords : Dever::load("main/content.config#keywords") ?>" />
	<meta name="Description" content="<?php  echo isset($info) ? Dever::load("main/content.config#info") . "," . $info : Dever::load("main/content.config#info") ?>" />
	<link rel="stylesheet" href="http://at.alicdn.com/t/font_2408372_isweoh63009.css">
	<link rel="stylesheet" href="<?php echo Dever::config("host")->static ?>swiper.min.css" />
<link href="<?php echo Dever::config("host")->css ?>global.css?v=6cbea63d" rel="stylesheet"><link href="<?php echo Dever::config("host")->css ?>activity.css?v=9c7feff1" rel="stylesheet"><script><?php  echo Dever::script() ?></script></head>

<body>

	<header>
		<div class="wrapper">
			<div class="logo-area clearfix">
				<a class="logo"><img src="<?php echo $data['main/content.config']['logo'] ?>" alt="logo" style="width:100px"></a>
				<ul class="menu">
					<li class="pc-menu"><a href="javascript:;" id="tonight" class="iconfont icon-yueliang"></a></li>
					<li class="pc-menu">
						<a href="#" class="iconfont icon-search"></a>
						<div class="search-layer">
							<div>
								<input type="text" id="search">
								<a href="javascript:;" onclick="<?php echo $data['main/content.search'] ?>">搜索</a>
							</div>
						</div>
					</li>
					<li class="pc-menu">
						<a href="#" class="iconfont icon-user"></a>
						<div class="user-layer">
							<div>
								<a href="<?php  echo Dever::load("main/content.config#weibo") ?>" class="iconfont icon-weibo"></a>
								<a href="#" class="iconfont icon-weixin" data-qrcode="<?php  echo Dever::load("main/content.config#weixin_qrcode") ?>"></a>
								<a href="<?php  echo Dever::load("main/content.config#contact") ?>" class="iconfont icon-link"></a>
							</div>
						</div>
					</li>
					<li class="m-menu">
						<a href="#" class="iconfont icon-search"></a>
					</li>
					<li class="m-menu">
						<a href="#" class="iconfont icon-menu"></a>
						<div class="menu-layer">
							<ul>
								<?php if(isset($data['main/content.menu']) && is_array($data['main/content.menu'])): ?><?php $t=count($data['main/content.menu'])-1 ?><?php $i=0 ?><?php foreach($data['main/content.menu'] as $k => $v): ?><li class="<?php echo isset($v['class']) ? $v['class'] : "" ?>"><a href="<?php echo isset($v['link']) ? $v['link'] : "" ?>"><?php echo isset($v['name']) ? $v['name'] : "" ?></a></li><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['main/content.menu'] ?><?php endif; ?>
								
								
								
								
								
								
							</ul>
							<div class="share">
								<a href="#" class="iconfont icon-weibo"></a>
								<a href="#" class="iconfont icon-weixin"></a>
							</div>
						</div>
					</li>
				</ul>
			</div>
			<div class="nav-wrapper">
				<ul class="tnav">
					<?php if(isset($data['main/content.menu']) && is_array($data['main/content.menu'])): ?><?php $t=count($data['main/content.menu'])-1 ?><?php $i=0 ?><?php foreach($data['main/content.menu'] as $k => $v): ?><li class="<?php echo isset($v['class']) ? $v['class'] : "" ?>"><a href="<?php echo isset($v['link']) ? $v['link'] : "" ?>"><?php echo isset($v['name']) ? $v['name'] : "" ?></a></li><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['main/content.menu'] ?><?php endif; ?>
					
					
					
					
					
					
				</ul>
			</div>
			<div class="m-search-layer">
				<div><i class="iconfont icon-search" onclick="<?php echo $data['main/content.msearch'] ?>"></i><input type="text" placeholder="搜索" id="msearch"></div>
				<i class="iconfont icon-close"></i>
			</div>
		</div>
	</header>

	
	<div class="activity-module wrapper" style="<?php if(!(Dever::load('main/content.news?type=4'))): ?>display:none;<?php endif; ?>">
		<div class="swiper-container">
			<div class="swiper-wrapper clearfix">
				<?php if(isset($data['main/content.news|type=4']) && is_array($data['main/content.news|type=4'])): ?><?php $t=count($data['main/content.news|type=4'])-1 ?><?php $i=0 ?><?php foreach($data['main/content.news|type=4'] as $k => $v): ?><div class="swiper-slide">
					<img src="<?php echo isset($v['small_pic']) ? $v['small_pic'] : "" ?>" alt="<?php echo isset($v['name']) ? $v['name'] : "" ?>" title="">
					<div class="infos">
						<div>
							<h3><a href="<?php echo isset($v['link']) ? $v['link'] : "" ?>" target="_blank" title="<?php echo isset($v['name']) ? $v['name'] : "" ?>"><?php  echo $v['name'] ."<br/>". $v['desc'] ?></a></h3>
							<p><?php echo isset($v['info']) ? $v['info'] : "" ?></p>
						</div>
						<span><?php echo isset($v['pdate_s']) ? $v['pdate_s'] : "" ?></span>
					</div>
				</div><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['main/content.news|type=4'] ?><?php endif; ?>
				
				
				
				
				
				
				
			</div>
		</div>
		<a href="javascript:;" class="arrow-l iconfont icon-prev"></a><a href="javascript:;" class="arrow-r iconfont icon-next"></a>
		<div class="pagination"></div>
	</div>
	

	<script src="<?php echo Dever::config("host")->static ?>jquery.js"></script> 
<script type="text/javascript" src="<?php echo Dever::config("host")->js ?>global.js?v=6408e250"></script><script type="text/javascript" src="<?php echo Dever::config("host")->js ?>activity.js?v=11102b9f"></script><div id="page" dever-page-link="<?php  echo Dever::pageInfo()["link"] ?>" dever-page-list=".news-module"></div><script src="http://192.168.33.10/dever_package/script/assets/dever/core.js?v=1616387060"></script><script src="http://192.168.33.10/cms/main/assets/xuniren/js/config.js?v=1616387060"></script></body>
<script src="<?php echo Dever::config("host")->static ?>swiper.min.js"></script>
<script>
	if(!/iphone|android/.test(navigator.userAgent.toLocaleLowerCase())) {
		new Swiper('.activity-module .swiper-container', {
			// autoplay: 3000,
			// pagination : '.activity-module .pagination',
			// paginationClickable :true,
			slidesPerView : 4,
			spaceBetween : 10,
			// loop: true,
			prevButton:'.activity-module .arrow-l',
			nextButton:'.activity-module .arrow-r',
		})
	}
</script>

</html>