index.html 2.5 KB
<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">全部订单</a></li>
    </ul>

    <form class="well form-inline margin-top-20" method="post" action="{:url('Order/index')}">
        状态:
        <select class="form-control" name="status" style="width: 140px;">
            <option value='0' <if condition="$status eq '0'">selected</if>>全部</option>
            <option value='1' <if condition="$status eq '1'">selected</if>>待付定金</option>
            <option value='2' <if condition="$status eq '2'">selected</if>>已付定金</option>
            <option value='3' <if condition="$status eq '3'">selected</if>>待付尾款</option>
            <option value='4' <if condition="$status eq '4'">selected</if>>已付尾款</option>
            <option value='5' <if condition="$status eq '5'">selected</if>>待评价</option>
            <option value='6' <if condition="$status eq '6'">selected</if>>已完成</option>
            <option value='7' <if condition="$status eq '7'">selected</if>>已取消</option>
        </select> &nbsp;&nbsp;
        订单号:
        <input type="text" class="form-control" name="order_sn" style="width: 200px;"
               value="{$order_sn|default=''}" placeholder="请输入关键字...">
        <input type="submit" class="btn btn-primary" value="搜索"/>
        <a class="btn btn-danger" href="{:url('Order/index')}">清空</a>
    </form>

    <form class="js-ajax-form" action="" method="post">
        <table class="table table-hover table-bordered table-list">
            <tr>
                <th>序号</th>
                <th>订单号</th>
                <th>用户昵称</th>
                <th>活动名称</th>
                <th>批次时间</th>
                <th>订单状态</th>
                <th>操作</th>
            </tr>
            <volist name="posts" id="vo" key="k">
                <tr>
                    <td>{$k}</td>
                    <td>{$vo.order_sn}</td>
                    <td>{$vo.user_nickname}</td>
                    <td>{$vo.name}</td>
                    <td>{$vo.start_time|date='Y.m.d', ###} 至 {$vo.end_time|date='Y.m.d', ###}</td>
                    <td>{$vo.status}</td>
                    <td>查看</td>
                </tr>
            </volist>
        </table>
        <ul class="pagination">{$page|default=''}</ul>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>