<?php 
$this->display(tpl('head')); 
?>
<style>
	.wap_jifen{
		float: left;
		width: 100%;
	}
	.wap_jifen_list:nth-child(1){
		margin-top: 0;
	}
	.wap_jifen_list_top{
		font-size: 1.2em;
		height: 35px;
		line-height: 35px;
		border-bottom: 1px solid #efefef;
	}
	.wap_jifen_list_top_time{
		padding-left: 10px;
	}
	.wap_jifen_list_top_jifen{
		padding-right: 10px;
	}
	.wap_jifen_list_content{
		line-height: 25px;
		padding: 10px;
	}
</style>
<div class="wap_jifen">
	<?php 
		foreach($data AS $row){
	?>
	<div class="wap_jifen_list bcf left w-100 mt10">
		<div class="wap_jifen_list_top left w-100">
			<div class="wap_jifen_list_top_time left b"><?php echo date('Y-m-d H:i',$row[posttime] )?></div>
			<div class="wap_jifen_list_top_jifen right b">
				<?php if ($row[integral] >0) {?>
				<span class="green"><?php echo $row[integral] ?></span>
				<?php }else{ ?>
				<span class="red"><?php echo $row[integral] ?></span>
				<?php } ?>
				
			</div>
		</div>
		<div class="wap_jifen_list_content left">
			<?php echo $row[content] ?>
		</div>
	</div>
	<?php } ?>
</div>
<?php if($Get_Page) { ?>
	<div class="w-100 left bcf mt10">
		<div class="layui-form-item mt10 center page">
			<?php echo $Get_Page ?>
		</div>
	</div>
<?php } ?>




<script>
layui.use(['form','layer'], function(){
  	var form = layui.form
  	,layer = layui.layer;
  	
});
</script>
<?php 
$this->display(tpl('foot')); 
?>
