index.html 4.2 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_890739_l00sw01grqj.css">

    <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/personcenter.css">


    <title>个人中心</title>
    <script type="text/javascript" src="__TMPL__/public/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="__TMPL__/public/assets/js/base.js" charset="utf-8"></script>
    <style>

    </style>
</head>
<body>
<div class="container">
    <div class="header">
        <div class="person_info">
            <p class="person_img">
                <img src="{$list.wx_pic}" alt="">
            </p>
            <p class="person_name">
                {$list.wx_name}
            </p>
        </div>
        <p class="change">
            <img src="__TMPL__/public/assets/images/xiugai@2x.png" alt="">
        </p>
    </div>

    <div class="bacmyorder">
        <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>
    <div class="kind">
        <div class="type" id="1" index="2">
            <p class=" exchange">
                <img src="__TMPL__/public/assets/images/cicon04@2x.png" alt="">
            </p>
            <P class="delivery_type">待审核</P>
        </div>
        <div class="type" id="2" index="3">
            <p class="delivery">
                <img src="__TMPL__/public/assets/images/cicon05@2x.png" alt="">
            </p>
            <p class="delivery_type">待付款</p>
        </div>
        <div class="type" id="3" index="6">
            <p class="alderydelivery">
                <img src="__TMPL__/public/assets/images/sendgood.png" alt="">
            </p>
            <p class="delivery_type">待完成</p>
        </div>
        <div class="type" id="4" index="7">
            <p class="finish">
                <img src="__TMPL__/public/assets/images/cicon07@2x.png" alt="">
            </p>
            <p class="delivery_type">已完成</p>
        </div>
    </div>
    <div class="pensonline"></div>
    <div class="accumulate interg">
        <p class="myaccumulate">我的钱包</p>
        <div class="accumulate_num">
            <P class="iconfont icon-right"></P>
        </div>
    </div>
    <div class="accumulate address">
        <p class="myaccumulate">我的简历</p>
        <div class="accumulate_num">
            <P class="iconfont icon-right"></P>
        </div>
    </div>
    <div class="accumulate us">
        <p class="myaccumulate">关于我们</p>
        <div class="accumulate_num">
            <P class="iconfont icon-right"></P>
        </div>
    </div>
</div>
</body>

<script>
    //编辑个人资料
    $(".change").click(function () {
        window.location.href = "{:url('Member/changeUser')}"
    });
    //我的钱包
    $(".interg").click(function () {
        window.location.href = "{:url('Member/myBalance')}"
    })
    //关于我们
    $(".us").click(function () {
        window.location.href = "{:url('Member/aboutUs')}"
    });
    //我的简历
    $(".address").click(function () {
        window.location.href = "{:url('Member/myResume')}"
    })
    //全部订单
    $(".myorder").click(function () {
        window.location.href = "{:url('Member/myorder')}";
        localStorage.clear();
    })
    $(".home").click(function () {
        window.location.href = '../login_index.html'
    })
    $(".shopcart").click(function () {
        window.location.href = '../shopcar/cart.html'
    })

    //订单状态的跳转
    $(".type").click(function () {
        var type = $(this).attr("index");
        var url = "{:url('Member/myOrder')}";
        url = url.split('.');
        url = url[0] + '/type/' + type  + ".html";
        window.location.href = url;
    })


</script>
</html>