<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<link href="<?php echo $this->_var['skins']; ?>paotui_user/index.css" rel="stylesheet" />
	<body>
		<div class="header">
			<div class="header-back"></div>
			<div class="header-title">个人中心</div>
		</div>
		<div class="header-row"></div>
		<div class="main-body">
			<div class="uhead">
				<img gourl="/index.php?m=user&a=user_head" class="uhead-img" src="<?php echo $this->_var['user']['user_head']; ?>.100x100.jpg" />
				<div class="uhead-box">
					<div class="uhead-nick"><?php echo $this->_var['user']['nickname']; ?></div>
					<div class="uhead-rnum flex flex-ai-center">
						
						<text>余额 ￥</text>
						<text class="f14 cl-money mgl-5"><?php echo $this->_var['user']['money']; ?></text>
					</div>
					 
				</div>
			</div>
			<div class="bg-white mgb-5">
				<div gourl="/module.php?m=paotui&a=my" class="row-item">
					<div class="row-item-icon icon-order"></div>
					<div class="row-item-title">我的任务</div>
				</div>
			
				<div gourl="/index.php?m=recharge"  class="row-item">
					<div class="row-item-icon icon-moneybag"></div>
					<div class="row-item-title">充值</div>
				</div>
				
			</div>
			<div class="bg-white">
				<div  gourl="/module.php?m=paotui_addr&a=my"  class="row-item">
					<div class="row-item-icon icon-location"></div>
					<div class="row-item-title">常用地址</div>
				</div>
				<div gourl="/index.php?m=recharge&a=my"  class="row-item">
					<div class="row-item-icon icon-moneybag"></div>
					<div class="row-item-title">充值记录</div>
				</div>
				
				<div  gourl="/index.php?m=kefu"  class="row-item">
					<div class="row-item-icon icon-service"></div>
					<div class="row-item-title">联系客服</div>
				</div>
				
			</div>
			<div class="btn-row-submit bg-danger js-logout" >注销</div>
		</div>
		<?php echo $this->fetch('footer.html'); ?>
		<script>
			$(function(){
				$(document).on("click",".js-logout",function(){
					$.get("/index.php?m=login&a=logout&ajax=1",function(res){
						window.location="/"
					},"json")
				})
			})
		</script>
	</body>
</html>
