<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="telephone=no" name="format-detection" />
<meta id="viewport" name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0, user-scalable=no"/>
<meta>
<title>实时舆情统计</title>
<meta name="description" content="">
<meta name="keywords" content="">
	<link href="css/nuclear.min.css?2016.2.25" rel="stylesheet">
</head>
<body>

	<div class="wrap">
		<div class="load">
		      <div class="sk-wave">
		        <div class="sk-rect sk-rect1"></div>
		        <div class="sk-rect sk-rect2"></div>
		        <div class="sk-rect sk-rect3"></div>
		        <div class="sk-rect sk-rect4"></div>
		        <div class="sk-rect sk-rect5"></div>
		      </div>
		</div>
	</div>

<script type="text/template" class="template" id="loadTpl">
<div class="load">
 	 <div class="sk-wave">
		  <div class="sk-rect sk-rect1"></div>
		  <div class="sk-rect sk-rect2"></div>
		  <div class="sk-rect sk-rect3"></div>
		  <div class="sk-rect sk-rect4"></div>
		  <div class="sk-rect sk-rect5"></div>
	 </div>
</div>
</script>

<script type="text/template" class="template" id="loading"><div class="load">loading.............</div></script>

<script type="text/template" class="template" id="realtimeWrapTpl">
		<%e=data.toJSON();e.originTime=e.time;e.time=e.time.replace(" ","-");%>
		<div class="swiper-slide">
		   <h4 class="date"><%=helper.getPoint(e.originTime)%></h4>
			<div class="wrapper wrapper<%=e.time%>" data-id="<%=data.cid%>" data-time="<%=e.time%>">
			    <div class="iscorller">
			        <ul class="events">
			            <%_.each(e.info,function(e,i){%>
			            <li>
			               <p class="main"><span ><%=e.account%>：</span><%=e.content%></p>
			               <a style="color:#000;text-decoration:none;position:relative;z-index:1000000; display: inline-block;width: 100%;" target="_blank" href="<%=e.url%>?random=4444"><p class="info"><span class="account"><%=e.keywords%></span><%=e.time%><span class="from"><%=e.source%></span></p></a>
			            </li>
			            <%})%>
			        </ul>

			    </div>

			</div>
		</div>
</script>

<script type="text/template" class="template" id="realtimeTpl">
	<div class="realtime">
	<div class="cat">
		<a href="#theme<%=realtime?("/t"+realtime):""%>"><span><%=theme%></span>
		<img src="img/triangle_double.png" alt="arrow" class="arrow">
		<span>切换</span>
		</a>
	</div>

	<div class="container swiper-container">
		<div class="swiper-wrapper">
		<%_.each(data,function(a,key){e=a;e=e.toJSON();e.originTime=e.time; e.time=e.time.replace(" ","-");%>
		<div class="swiper-slide">
		   <h4 class="date"><%=helper.getPoint(e.originTime)%></h4>
			<div class="wrapper wrapper<%=e.time%>" data-id="<%=a.cid%>" data-time="<%=e.time%>">
			    <div class="iscorller">
			        <ul class="events">
			            <%_.each(e.info,function(e,i){%>
			            <li>
			               <p class="main"><span ><%=e.account%>：</span><%=e.content%></p>
			               <a style="color:#000;text-decoration:none;position:relative;z-index:1000000; display: inline-block;width: 100%;" target="_blank" href="<%=e.url%>?random=3333"><p class="info"><span class="account"><%=e.keywords%></span><%=e.time%><span class="from"><%=e.source%></span></p></a>
			            </li>
			            <%})%>
			        </ul>
			    </div>

			</div>
		</div>
		<%})%>	
		</div>
	      <div class="swiper-button-prev"></div>
     	  <div class="swiper-button-next"></div>	
	</div>
	</div>
</script>

<script type="text/template" class="template" id="themeTpl">
<%console.log(themes)%>
	 <div class="themes">
		<%_.each(themes,function(theme,i){%>
			<a  href="#realtime/<%=theme%><%=realtime?("/t"+realtime):""%>" class="<%=(active==theme?'active':'')%>" ><%=theme%></a>
		<%})%>
    </div>
</script>


<script type="text/template" class="template" id="indexTpl">
	<div class="index">
		<h3>实时舆论关注热词TOP10</h3>
		<%console.log(time)%>
		<p class="time">本时间段内</p>
		<!--p class="time"><%=now%></p-->
		<div class="barChartWrap">
			<div class="barChart" id="barChart">
				
			</div>
			<a href="#realtime/全部<%=("/t"+time)%>" class="lookUpDetails">查看详情</a>
		</div>
	</div>
</script>
<script type="text/template" class="template" id="realtimeLiTpl">
<%_.each(data,function(e,i){%>
	<li>
		<p class="main"><span ><%=e.account%>：</span><%=e.content%></p>
		<a style="color:#000;text-decoration:none;position:relative;z-index:1000000; display: inline-block;width: 100%;" target="_blank" href="<%=e.url%>?random=2222"><p class="info"><span class="account"><%=e.keywords%></span><%=e.time%><span class="from"><%=e.source%></span></p></a>
	</li>
<%})%>
</script>


<script type="text/template" class="template" id="keywordTpl">
	<div class="keyword">

	<div class="cat">
				<span><a><%=keyword%></a></span>
		</a>
	</div>
	<div><h4 class="date"><%=helper.getPoint(time)%></h4></div> 

	<div id="wrapper">
	<div id="scroller" class="iscorller">
		<ul class="events">
			<%_.each(list,function(e,i){%>
			<li>
				<p class="main"><span ><%=e.account%>：</span><%=e.content%></p>
				<a style="color:#000;text-decoration:none;position:relative;z-index:1000000; display: inline-block;width: 100%;" target="_blank" href="<%=e.url%>?random=1111"><p class="info"><span class="account"><%=e.keywords%></span><%=e.time%><span class="from"><%=e.source%></span></p></a>
			</li>
		<%})%>
		
		</ul>
	</div>
</div>
	</div>
</script>



<script type="application/javascript" src="js/lib/fastclick.js"></script>
<script src="js/lib/jquery.min.js"></script>
<script src="js/lib/jquery.cookie.js"></script>
<script src="js/lib/underscore-min.js"></script>
<script src="js/lib/backbone-min.js"></script>
<script src="js/lib/iscroll.js"></script>
<script src="js/lib/swiper.jquery.min.js"></script>
<script src="js/lib/echart/dist/echarts.js"></script>
<script src="js/dist/min/all.js"></script>
</body>
</html>