index.html 3.9 KB

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<link rel="stylesheet" href="https://at.alicdn.com/t/font_750594_itt4qc4xfcg.css">
	<link rel="stylesheet" href="https://at.alicdn.com/t/font_834805_0ml90wdq5hzm.css">
	<link rel="stylesheet" href="__INDEX__/css/base.css">
	<link rel="stylesheet" href="__INDEX__/css/personcenter.css">
	<link rel="stylesheet" href="__INDEX__/css/swiper.min.css">
	<script type="text/javascript" src="__INDEX__/js/base.js" charset="utf-8"></script>
	<title>个人中心</title>
</head>
<body>
<div class="container">
	<div class="header">
		<div class="person_info">
			<p class="person_img">
				<img src="{$data.avatar}" alt="">
			</p>
			<p class="person_name">
				{$data.user_nickname}
			</p>
		</div>
		<p class="change">
			<img src="__INDEX__/img/xiugai@2x.png" alt="">
		</p>
	</div>
	<div class="myorder">
		<div class="my_order">
			<p class="iconfont icon-dingdan iconmyorder"></p>
			<P class="my_order_list">我的订单</P>
		</div>
		<div class="allorder">
			<p class="my_all_order">全部订单</p>
			<p class="iconfont icon-common-jinru-copy iconallorder"></p>
		</div>
	</div>
	<div class="kind">
		<div class="type">
			<p class=" exchange">
				<img src="__INDEX__/img/exchange.png" alt="">
			</p>
			<P class="delivery_type">待兑换</P>
		</div>
		<div class="type">
			<p class="delivery">
				<img src="__INDEX__/img/deliver.png" alt="">
			</p>
			<p class="delivery_type">待发货</p>
		</div>
		<div class="type">
			<p class="alderydelivery">
				<img src="__INDEX__/img/alderydelivery.png" alt="">
			</p>
			<p class="delivery_type">已发货</p>
		</div>
		<div class="type">
			<p class="finish">
				<img src="__INDEX__/img/finish.png" alt="">
			</p>
			<p class="delivery_type">已完成</p>
		</div>
	</div>
	<div class="accumulate interg">
		<p class="myaccumulate">我的积分</p>
		<div class="accumulate_num">
			<p class="accumulate_fen">{$data.balance}</p>
			<P class="iconfont icon-jinru row_enter"></P>
		</div>
	</div>
	<div class="accumulate address">
		<p class="myaccumulate">地址管理</p>
		<div class="accumulate_num">
			<p class="accumulate_fen"></p>
			<P class="iconfont icon-jinru row_enter"></P>
		</div>
	</div>
	<div class="accumulate us">
		<p class="myaccumulate">关于我们</p>
		<div class="accumulate_num">
			<p class="accumulate_fen"></p>
			<P class="iconfont icon-jinru row_enter"></P>
		</div>
	</div>

	<div class="foot">
		<div class="home">
			<p class="home_img">
				<img src="__INDEX__/img/homegray.png" alt="">
			</p>
			<p class="home_page">首页</p>
		</div>
		<div class="shopcart">
			<p class="shopcart_img">
				<img src="__INDEX__/img/cartgray.png" alt="">
			</p>
			<p class="shop_cart">
				购物车
			</p>
		</div>
		<div class="membercenter">
			<p class="member_img">
				<img src="__INDEX__/img/personred.png" alt="">
			</p>
			<p class="member_center">
				会员中心
			</p>
		</div>
	</div>
</div>
</body>
<script src="__INDEX__/js/jquery.min.js"></script>
<script>
    //编辑个人资料
    $(".change").click(function(){
        window.location.href="{:url('user/Center/userInfo')}";
    });
    //我的积分
    $(".interg").click(function(){
        window.location.href='myintegration.html'
    })
    //关于我们
    $(".us").click(function(){
        window.location.href="{:url('user/Center/aboutUs')}";
    });
    //地址管理
    $(".address").click(function(){
        window.location.href="{:url('user/Center/addressManage')}"
    })
    //全部订单
    $(".myorder").click(function(){
        window.location.href='myorder.html'
    })
    $(".home").click(function(){
        window.location.href="{:url('index/Index/index')}";
    })
    $(".shopcart").click(function(){
        window.location.href='__INDEX__/shopcar/cart.html'
    })
</script>
</html>