<!doctype html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<style>
		.video{
			width: 100%;
			height: auto;
		}
	</style>

	<body>
	 
		<img class="wmax" src="<?php echo images_site($this->_var['vote']['imgurl']); ?>">
		<div class="flex mgb-10 bg-white pd-10">
			<img class="wh-60 mgr-10 bd-radius-5" src="<?php echo $this->_var['author']['user_head']; ?>.100x100.jpg" />
			<div class="flex-1">
				<div class="flex mgb-5">
					<div class="mgr-20"><?php echo $this->_var['join']['nickname']; ?></div>
				</div>
				<div class="flex flex-ai-center mgb-5">
					<div class="cl2">作品编号：</div>
					<div class="cl-num"><?php echo $this->_var['join']['bianhao']; ?></div>
				</div>	
				<div class="flex flex-ai-center cl3 mgb-5">排名：<div class="cl-num"> <?php echo $this->_var['join']['paiming']; ?></div>
					&nbsp; 得票：<div class="cl-num"><?php echo $this->_var['join']['vote_num']; ?></div> &nbsp;票</div>
				
			</div>
		</div>
		<div class="row-box mgb-10">
			<div class="mgb-5">
				<video 
				 poster="<?php echo $this->_var['join']['imgurl']; ?>" 
				 class="video" 
				 src="<?php echo $this->_var['join']['url']; ?>"  
				 x5-playsinline="true"
				 x-webkit-airplay="true"
				  playsinline="true" 
				  webkit-playsinline="true" 
				 autoplay controls></video>
			</div>
			<div class="text-center cl2"><?php echo $this->_var['join']['title']; ?></div>

			
		</div>
		<div class="row-box mgb-5">
			 
			<div class="btn-group">
				<div class="btn mgr-10" onClick="vote_vote(<?php echo $this->_var['vote']['id']; ?>,<?php echo $this->_var['join']['id']; ?>)" style="background-color:#FF5B48;">投TA一票</div>
				<a class="btn" href="/module.php?m=vote_join&a=join&id=<?php echo $this->_var['vote']['id']; ?>" style="background-color:#3D9AEA;">我要参加</a>
			</div>
		</div>
		<div class="row-box mgb-5">
			<div class="row-box-hd">活动介绍</div>
			<div class="pd-10 cl2"><?php echo $this->_var['vote']['description']; ?></div>
		</div>

		<style>
			.goHome{
				position: fixed;
				right:1px;
				bottom: 100px;
				width: 30px;
				padding: 5px 10px;
				text-align: center;
				background-color: #0eb78a;
				color: #fff;
				border-radius: 10px;
				font-size: 12px;
				cursor: pointer;
			}
		</style>
		<div gourl="/module.php?m=vote&a=home&id=<?php echo $this->_var['vote']['id']; ?>" class="goHome">活动首页</div>
		<?php echo $this->fetch('footjs.html'); ?>
		<?php echo $this->fetch('inc/comment.html'); ?>
		<script src="<?php echo $this->_var['skins']; ?>inc/comment.js"></script>
	</body>
</html>
