<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>西蜀网-创新消费领航者</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="user.html" data-transition='slide-out'><span
				class="icon icon-me"></span>&nbsp;&nbsp; </a>
			<h1 class="title">新闻阅读</h1>
		</header>
		<div class="content infinite-scroll" data-distance="100">
			<div class="card">
				<div class="card-header" id="artTitle"></div>
				<div class="card-content">
					<div class="card-content-head">
						<br />阅读<span id="read"></span>次&nbsp;&nbsp;|&nbsp;&nbsp;作者：<span
							id="author"></span> 时间：<span id="spendTime"></span>
					</div>
					<div class="card-content-inner">
						<p id="artContent"></p>
					</div>
				</div>
				<div class="card-footer">
					<a href="#" class="link" id="agreeBtn">点赞(+<span id='agree'></span>)
					</a> <a href="#" class="link">评论(<span id='reviewNum'></span>)
					</a>
				</div>
			</div>
			<!-- 发布评论 -->
			<div class="card">
				<div class="card-header">
					<span class='header-title'>我要评论</span>
				</div>
				<div class="card-content">
					<textarea id="content" class='m-textarea' placeholder="在此输入评论信息"></textarea>
				</div>
				<div class="card-footer">
					<a href="#" id="submitBtn" class="button button-fill button-round"
						style='width: 80px; height: 32px;'>提交</a>
				</div>
			</div>
			<!-- 评论列表 -->
			<div class="content-block  infinite-scroll-top" style="padding: 0 0;"
				data-distance="100">
				<div class="list-block">
					<ul class="list-container">
					</ul>
				</div>
				<div class="infinite-scroll-preloader">
					<div class="preloader"></div>
				</div>
			</div>
		</div>
		<div class="panel-overlay"></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/article.js"></script>
	<script type="text/html" id="notReviewHtml">
	<li class="card">
		<div class="card-content">
			<div class="card-content-inner">暂无评论</div>
		</div>
	</li>
	</script>
	
	<script type="text/html" id="spendHtml">
	<li class="card">
		<div class="card-content">
			<div class="card-content-inner">
				<table>
				<tr><td width='80'><img style='max-width:70px;' src='{{if head==''||head==null}}img/head.png{{else}}../upload{{head}}{{/if}}'></td>
					<td>{{spendName}}&nbsp;&nbsp;
						<br/>{{content}}
					</td>
				</tr>
				</table>
			</div>
		</div>
	</li>
	</script>
	
	<script type="text/html" id="reviewHtml">
	{{each records as review}}
	<li class="card">
		<div class="card-content">
			<div class="card-content-inner">
				<table>
				<tr><td width='80'><img style='max-width:70px;' src='{{if review.head==''||review.head==null}}img/head.png{{else}}../upload{{review.head}}{{/if}}'></td>
					<td>{{review.spendName}}&nbsp;&nbsp;
						{{if review.fornow!=''}}
							{{review.fornow}}
						{{else}}
							{{review.spendTime}}
						{{/if}}
						<br/>{{review.content}}
					</td>
				</tr>
				</table>
			</div>
		</div>
	</li>
	{{/each}}
	</script>
</body>
</html>