<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title id="pageTitle"></title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<link rel="shortcut icon" href="../favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../static/light7/css/light7.min.css">
<link rel="stylesheet" href="../static/css/mobile.style.css">
</head>
<body>
	<div class="page" id='main'>
		<header class="bar bar-nav">
			<a class="button button-link button-nav pull-left back"
				data-transition='slide-out'><span class="icon icon-left"></span>
				返回 </a> <a class="button button-link button-nav pull-right external"
				href="userevent.html" data-transition='slide-out'><span
				class="icon icon-me"></span>&nbsp;&nbsp; </a>
			<h1 class="title">活动介绍</h1>
		</header>
		<div class="content">

			<div class="card" id="event_detail"></div>
			
			<div class="card" id="sign_card">
				<div class="card-header">报名/预约</div>
				<div class="card-content">
					<input type="hidden" id="eventName">
					<div class="card-content-inner list-block">
						<ul>
							<li>
								<div class="item-content">
									<div class="item-inner">
										<div class="item-title label">姓名</div>
										<div class="item-input">
											<input type="text" id="uname" placeholder="您的姓名">
										</div>
									</div>
								</div>
							</li>
							<li>
								<div class="item-content">
									<div class="item-inner">
										<div class="item-title label">联系电话</div>
										<div class="item-input">
											<input type="text" id="phone" readonly="readonly" placeholder="当前使用手机号">
										</div>
									</div>
								</div>
							</li>
						</ul>
					</div>
				</div>
				<div class="card-footer">
					<a href="#" id="submitBtn" class="button button-fill" style='width:80px;height:32px;'>提交保存</a>
				</div>
			</div>
			
			<div class="content-block" id="players">
			</div>

			<div class="card" id="page_card">
				<div class="card-content"></div>
				<div class="card-footer">
					<a href="#" id="prexBtn" class="button button-fill"
						onclick="prexpage()">上一页</a> <a href="#" id="nextBtn"
						class="button button-fill" onclick="nextpage()">下一页</a>
				</div>
			</div> 
		</div>

		<script src='../static/plugins/jquery/jquery-2.2.3.min.js'></script>
		<script src='../static/plugins/jquery/jquery.json.min.js'></script>
		<script src='../static/light7/js/light7.min.js'></script>
		<script src='../static/light7/js/i18n/cn.js'></script>
		<script src="../static/plugins/artTemplate/js/template.js"></script>
		<script src='../static/common/drain.mobile.js'></script>
		<script src='js/event.js'></script>

		<script type="text/html" id="eventHtml">
			<div class="card-header">{{name}}</div>
			<div class="card-content">
				<div class="card-content-head"><br/>关注度：{{carnum}}&nbsp;&nbsp;|&nbsp;时间：{{createTime}} </div>
				<div class="card-content-inner">
					{{if pic!=''}}<img src="{{pic}}">{{/if}}
					<p id="eventConent"></p>
				</div>
			</div>
			<div class="card-footer">
				<span>当前报名：{{signnum}}人</span>
				<span>类型：{{if prop=='1'}}商家活动{{else}}赛事活动{{/if}}</span>
			</div>
		</script>

		<script type="text/html" id="playerHtml">
			{{each records as sign}}
			  <div class="card facebook-card">
			    <div class="card-header no-border">
			      <div class="facebook-avatar"><img src="{{if sign.head==''||sign.head==null}}img/head.png{{else}}../upload{{sign.head}}{{/if}}" width="34" height="34"></div>
			      <div class="facebook-name">{{sign.uname}}</div>
			      <div class="facebook-date">{{sign.signTime}}</div>
			    </div>
			   </div>
			{{/each}}
		</script>
		
</body>
</html>