my_order.html 1.8 KB
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,maximum-scale=1, minimum-scale=1, user-scalable=no">
    <title>我的订单</title>
    <link rel="stylesheet" href="/static/css/common.css">
    <link rel="stylesheet" href="/static/css/style.css">
</head>
<body style="background-color: #f6f6f6;">
<div class="box">
    <div class="Myorder">
        <empty name="data">
            <div class="orderList">
                <h1>
                    <b>暂无订单</b>
                </h1>
            </div>
            <else />
            <volist name="data" id="vo">
                <div class="orderList">
                    <h1>
                        <b>订单号:{$vo.out_trade_no}</b>
                        <i>已支付</i>
                    </h1>
                    <div class="order_head">
                        <img src="/static/image/head.png"/>
                        <b>{$vo.name}</b>
                        <i>¥{$vo.price}</i>
                    </div>
                    <div class="order_details" onclick=location.href="{:url('order_details',array('id'=>$vo['id']))}">
                        <img src="/static/image/look_detail.png">
                    </div>
                </div>
            </volist>

        </empty>

    </div>
</div>


<script type="text/javascript" src="/static/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/static/js/common.js"></script>
<script type="text/javascript" src="/static/js/study_car.js"></script>

</body>
</html>