<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort() + path+"/";
	request.setAttribute("contextPath", basePath);
	
	String redirectUrl= request.getParameter("redirectUrl");
	request.setAttribute("redirectUrl", redirectUrl);
%> 
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <title>个人中心</title>
    <script src="${contextPath }app/lib/flexible.js"></script>
    <link rel="stylesheet" href="${contextPath }app//lib/flexible.css">
	<link rel="stylesheet" href="${contextPath }app//css/logome.css">
    <link rel="stylesheet" href="${contextPath }app/css/basem.css">
    <link rel="stylesheet" href="${contextPath }app/css/public.css">
    <link rel="stylesheet" href="${contextPath }app/css/index.css">
	<script type="text/javascript" src="${contextPath }app/lib/jquery.min.js"></script>
    <script type="text/javascript" src="${contextPath }app/js/public.js"></script>
    <style type="text/css">
	   .sds span {
			position: absolute;
		    width: 0.15rem;
		    height: 0.15rem;
		    background: #dd1e25;
		    border-radius: 50%;
		    top: 0.12rem;
		    left: 0.8rem;
		}
    </style>
</head>
<body>
	<div class="mebox">
		<div class="mebanner">
			<div class="safe">
				<div class="metop mineTop">
					<a href="${contextPath }web/messageWebCtl/message.cs?userId=${USER.id}" class="left sds"><img src="${contextPath }app/img/xinxi@2x.png" alt="">${MESSAGE_COUNT=="0"?"":"<span></span>"}</a>
					<a href="${contextPath }web/mgmUserCtl/logout.cs" class="right">退出<img src="${contextPath }app/img/tuichu@2x.png" alt=""></a>
				</div>
				<div class="metopcon">
					<div class="mephoto">
						<img src="${contextPath }app/img/mephoto_03.png" alt="">
					</div> 
					<a class="whtxt mexinxi" href="${contextPath }web/meWebCtl/mepeo_info.cs?userId=${USER.id}">
						<span>${USER.name}</span><img src="${contextPath }app/img/xiugai@2x.png" alt="">
						<p>${USER.phone}</p>
					</a>
				</div>
			</div>	
		</div>
		<div class="safe">
			<div class="mesum">
				<h2>我的佣金</h2>
				<p class="redbigtxt">￥${SUM}</p>
			</div>
		</div>
		<ul class="meul">
			<li><a class="meli" href="${contextPath }web/mgmInviteRecordCtl/me_invite.cs">
				<div class="safe">
					<div class="left">
						<img class="meicon" src="${contextPath }app/img/Invitefriends@2x.png" alt="">
						<span>邀请好友</span>
					</div>
					<img class="right mejinru" src="${contextPath }app/img/fanh3@2x.png" alt="">
				</div>
			</a></li>
			<li><a class="meli" href="${contextPath }web/mgmInviteRecordCtl/me_record.cs?code=${USER.invitecode}">
				<div class="safe">
					<div class="left">
						<img class="meicon" src="${contextPath }app/img/yaoqingjilu@2x.png" alt="">
						<span>邀请记录</span>
					</div>
					<img class="right mejinru" src="${contextPath }app/img/fanh3@2x.png" alt="">
				</div>
			</a></li>
		</ul>
		<ul class="meul">
			<li><a class="meli" href="${contextPath }web/mgmCustomerWebCtl/me_people.cs?userId=${USER.id}">
				<div class="safe">
					<div class="left"> 
						<img class="meicon" src="${contextPath }app/img/wodekehu@2x.png" alt="">
						<span>我的客户</span>
					</div>
					<img class="right mejinru" src="${contextPath }app/img/fanh3@2x.png" alt="">
				</div>
			</a></li>
			<li><a class="meli" href="<%=basePath%>web/mgmProduct/followList.cs?page=1">
				<div class="safe">
					<div class="left">
						<img class="meicon" src="${contextPath }app/img/wodeguanzhu@2x.png" alt="">
						<span>我的关注</span>
					</div>
					<img class="right mejinru" src="${contextPath }app/img/fanh3@2x.png" alt="">
				</div>
			</a></li>
			<li><a class="meli" href="${contextPath }web/mgmOrderCommissionWebCtl/me_money.cs?userId=${USER.id}">
				<div class="safe">
					<div class="left">
						<img class="meicon" src="${contextPath }app/img/wpdeyongjin@2x.png" alt="">
						<span>我的佣金</span>
					</div>
					<img class="right mejinru" src="${contextPath }app/img/fanh3@2x.png" alt="">
				</div>
			</a></li>
			<li><a class="meli" href="${contextPath }web/mgmUserBankCtl/me_card.cs?userId=${USER.id}">
				<div class="safe">
					<div class="left">
						<img class="meicon" src="${contextPath }app/img/yinhangka@2x.png" alt="">
						<span>我的银行卡</span>
					</div>
					<img class="right mejinru" src="${contextPath }app/img/fanh3@2x.png" alt="">
				</div>
			</a></li>
			<li><a class="meli" href="${contextPath }app/me/me_about.jsp"> 
				<div class="safe">
					<div class="left">
						<img class="meicon" src="${contextPath }app/img/guanyuwomen@2x.png" alt="">
						<span>关于我们</span>
					</div>
					<img class="right mejinru" src="${contextPath }app/img/fanh3@2x.png" alt="">
				</div>
			</a></li>
		</ul>
	</div> 
	<footer>
        <a href="${contextPath }web/mgmUserCtl/index.cs">
            <img src="${contextPath }app/img/shouye@2x.png" class="img1">
            <img src="${contextPath }app/img/shouygao@2x.png" class="img2">
            <p>首页</p>
        </a>
         <a href="<%=basePath%>web/mgmProduct/followList.cs?page=1">
            <img src="${contextPath }app/img/guanz@2x.png" class="img1">
            <img src="${contextPath }app/img/guanzgao@2x.png" class="img2">
            <p>关注</p>
        </a>
         <a href="${contextPath }web/mgmOrder/getOrderList.cs">
            <img src="${contextPath }app/img/jindu@2x.png" class="img1">
            <img src="${contextPath }app/img/jindgao@2x.png" class="img2">
            <p>进度</p>
        </a>
         <a href="${contextPath }web/meWebCtl/me.cs"   class="active">
            <img src="${contextPath }app/img/my.png" class="img1">
            <img src="${contextPath }app/img/wode@2x.png" class="img2">
            <p>我的</p>
        </a>
    </footer> 
</body>
</html>