<?php $name='article' ?>
<?php $title=Dever::load('main/content.view#name') ?>
<?php $data['main/content.config']=Dever::load('main/content.config') ?>
<?php $data['main/content.menu']=Dever::load('main/content.menu') ?>
<?php $data['main/content.view']=Dever::load('main/content.view') ?>
<?php $data['main/content.hot']=Dever::load('main/content.hot') ?>
<?php $data['main/content.ad|key=news_view_ad&name=资讯详情页广告']=Dever::load('main/content.ad', array (
  'key' => 'news_view_ad',
  'name' => '资讯详情页广告',
)) ?>
<?php $data['main/content.ad?key=news_view_ad&name=资讯详情页广告']=Dever::load('main/content.ad?key=news_view_ad&name=资讯详情页广告') ?>
<!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 ?>article.css?v=9c7feff1" rel="stylesheet"><script><?php  echo Dever::script() ?></script></head>

<body test="1">
	<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">
								<a href="#">搜索</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"></i><input type="text" placeholder="搜索"></div>
				<i class="iconfont icon-close"></i>
			</div>
		</div>
	</header>

	<h3 class="common-tit noborder article-title">
		<span><?php echo $data['main/content.view']['sname'] ?></span>
		<em><?php echo $data['main/content.view']['pdate_string'] ?></em>
	</h3>
	<div class="article-wrapper wrapper">
		<img src="<?php echo $data['main/content.view']['pic'] ?>" alt="" />
		<section>
			<div class="share-wrapper">
				<span>分享此文章</span>
				<ul>
					<li><a href="#"><i class="iconfont icon-weibo"></i><span>分享至微博</span></a></li>
					<li><a href="#"><i class="iconfont icon-weixin"></i><span>分享至微信</span></a></li>
					<li class="link"><a href="#"><i class="iconfont icon-link"></i><span>复制链接</span></a></li>
				</ul>
			</div>
			<div class="article-content">
				<article><?php echo $data['main/content.view']['content'] ?></article>
				<div class="tags">
					<h5>环球网科技综合报道</h5>
					<ul>
						<li><a href="#">科技</a></li>
						<li><a href="#">医疗</a></li>
						<li><a href="#">工程</a></li>
						<li><a href="#">未来</a></li>
					</ul>
				</div>
			</div>
		</section>
	</div>

	<ul class="article-recs wrapper" style="<?php if(!(Dever::load('main/content.hot'))): ?>display:none;<?php endif; ?>">
		<?php if(isset($data['main/content.hot']) && is_array($data['main/content.hot'])): ?><?php $t=count($data['main/content.hot'])-1 ?><?php $i=0 ?><?php foreach($data['main/content.hot'] as $k => $v): ?><li>
			<div class="poster"><a href="<?php echo isset($v['link']) ? $v['link'] : "" ?>" target="_blank" title="<?php echo isset($v['name']) ? $v['name'] : "" ?>"><img src="<?php echo isset($v['pic']) ? $v['pic'] : "" ?>" alt="<?php echo isset($v['name']) ? $v['name'] : "" ?>" /></a></div>
			<a href="<?php echo isset($v['link']) ? $v['link'] : "" ?>" target="_blank" title="<?php echo isset($v['name']) ? $v['name'] : "" ?>"><?php echo isset($v['name']) ? $v['name'] : "" ?></a>
		</li><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><li><?php echo $data['main/content.hot'] ?><div class="poster"><a href="<?php echo isset($v['link']) ? $v['link'] : "" ?>" target="_blank" title="<?php echo isset($v['name']) ? $v['name'] : "" ?>"><img src="<?php echo isset($v['pic']) ? $v['pic'] : "" ?>" alt="<?php echo isset($v['name']) ? $v['name'] : "" ?>" /></a></div><?php echo $data['main/content.hot'] ?><a href="<?php echo isset($v['link']) ? $v['link'] : "" ?>" target="_blank" title="<?php echo isset($v['name']) ? $v['name'] : "" ?>"><?php echo isset($v['name']) ? $v['name'] : "" ?></a>
		</li><?php endif; ?>
		
		
		
	</ul>

	<div class="ad-swiper ad wrapper" style="<?php if(!(Dever::load('main/content.ad?key=news_view_ad&name=资讯详情页广告'))): ?>display:none;<?php endif; ?>">
		<div class="swiper-container">
			<div class="swiper-wrapper clearfix">
				<?php if(isset($data['main/content.ad|key=news_view_ad&name=资讯详情页广告']) && is_array($data['main/content.ad|key=news_view_ad&name=资讯详情页广告'])): ?><?php $t=count($data['main/content.ad|key=news_view_ad&name=资讯详情页广告'])-1 ?><?php $i=0 ?><?php foreach($data['main/content.ad|key=news_view_ad&name=资讯详情页广告'] as $k => $v): ?><div class="swiper-slide">
					<a href="<?php echo isset($v['link']) ? $v['link'] : "" ?>" target="_blank" title="<?php echo isset($v['name']) ? $v['name'] : "" ?>">
						<img src="<?php echo isset($v['pic']) ? $v['pic'] : "" ?>" alt="<?php echo isset($v['name']) ? $v['name'] : "" ?>" title="">
					</a>
				</div><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><div class="swiper-slide"><?php echo $data['main/content.ad|key=news_view_ad&name=资讯详情页广告'] ?><a href="<?php echo isset($v['link']) ? $v['link'] : "" ?>" target="_blank" title="<?php echo isset($v['name']) ? $v['name'] : "" ?>"><?php echo $data['main/content.ad|key=news_view_ad&name=资讯详情页广告'] ?>	<img src="<?php echo isset($v['pic']) ? $v['pic'] : "" ?>" alt="<?php echo isset($v['name']) ? $v['name'] : "" ?>" title=""><?php echo $data['main/content.ad|key=news_view_ad&name=资讯详情页广告'] ?></a>
				</div><?php endif; ?>
				
				
			</div>
			<div class="pagination"></div>
		</div>
		<a href="#" class="iconfont icon-close"></a>
	</div>
	
	<div class="mask" style="display: none">
		<div class="layer share-layer">
			<a href="#" class="close"></a>
			<h5>分享到微信朋友圈</h5>
			<div class="qrcode" id="qrcode"></div>
			<p>打开微信，使用“扫一扫”即可将网页分享到我的朋友圈</p>
		</div>
	</div>
	<script src="<?php echo Dever::config("host")->static ?>jquery.js"></script>
	<script src="<?php echo Dever::config("host")->static ?>swiper.min.js"></script>
	<script>

		new Swiper('.ad-swiper .swiper-container', {
			autoplay: 3000,
			pagination : '.ad-swiper .pagination',
			paginationClickable :true,
			loop: true
		})

	</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 ?>article.js?v=11102b9f"></script><script src="http://192.168.33.10/dever_package/script/assets/dever/core.js?v=1616381363"></script><script src="http://192.168.33.10/cms/main/assets/xuniren/js/config.js?v=1616381363"></script></body>

</html>