teacher_list.html 2.1 KB
<include file="public@header"/>
</head>
<body>
<style>
    .pagination{text-align:center;margin-top:20px;margin-bottom: 20px;}
    .pagination li{margin:0px 10px; border:1px solid #e6e6e6;padding: 3px 8px;display: inline-block;}
    .pagination .active{background-color: #dd1a20;color: #fff;}
    .pagination .disabled{color:#aaa;}
</style>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Users/user_list')}">用户列表</a></li>
        <li class="active"><a href="#">老师名单</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('Users/teacher_list')}">
        时间:
        <input type="text" class="form-control js-bootstrap-datetime" name="start_time"
               value="{$start_time|default=''}"
               style="width: 140px;" autocomplete="off">-
        <input type="text" class="form-control js-bootstrap-datetime" name="end_time"
               value="{$end_time|default=''}"
               style="width: 140px;" autocomplete="off"> &nbsp;
        <input type="hidden" name="salesman_id" value="{$salesman_id}">&nbsp;
        关键字:
        <input type="text" class="form-control" name="keyword" style="width: 200px;"
               value="{$keyword|default=''}" placeholder="请输入微信昵称...">
        <input type="submit" class="btn btn-primary" value="搜索"/>
        <a class="btn btn-danger" href="{:url('Users/teacher_list',array('id'=>$salesman_id))}">清空</a>
    </form>
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>序号</th>
            <th>教师</th>
            <th>累计收益</th>
            <th>创建时间</th>
        </tr>
        </thead>
        <tbody>
        <volist name="data_arr" id="vo">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.user_nickname}</td>
                <td>{$vo.money}</td>
                <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
            </tr>
        </volist>
        </tbody>
    </table>
</div>
<div class="pagination">
    {$data->render()}
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>