index.html
2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<include file="public@header" />
<style type="text/css">
.pagination{display:inline-block;padding-left:0;border-radius:4px;margin-left: 30%}
.pagination li{display:inline}
.pagination li a,.pagination li span{position:relative;float:left;padding:6px 12px;line-height:1.42857143;color:#393D49;background:#fff;margin:0 0 0 8px;border:1px solid #eee}
.pagination li a:hover{color:#fff;background:#1E9FFF}
.pagination .active span{background:#1E9FFF;color:#fff}
</style>
</head>
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="{:url('index')}">列表管理</a></li>
<!--<li><a href="{:url('add')}">添加</a></li>-->
</ul>
<form class="well form-inline margin-top-20" method="post" action="{:url('index')}">
状态:
<select class="form-control" name="status" style="width: 140px;">
<option value=''>全部</option>
<option value='1'>已付款</option>
<option value='0'>待付款</option>
</select>
学员手机号:
<input type="text" class="form-control" name="mobile" style="width: 200px;"
value="{$keyword|default=''}" placeholder="请输入手机号...">
<input type="submit" class="btn btn-primary" value="搜索"/>
<a class="btn btn-danger" href="{:url('index')}">清空</a>
</form>
<table class="table table-hover table-bordered table-list">
<thead>
<tr>
<th width="50">ID</th>
<th>订单号</th>
<th>报名类型</th>
<th>学生姓名</th>
<th>手机号</th>
<th>金额</th>
<th>实际付款</th>
<th>下单时间</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<foreach name="list" id="vo">
<tr>
<td>{$vo.id}</td>
<td>{$vo.out_trade_no}</td>
<td>{$vo.gname}</td>
<td>{$vo.uid|id_name}</td>
<td>{$vo.uid|id_mobile}</td>
<td>{$vo.price}</td>
<td>{$vo.true_price/100}</td>
<td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
<td>{$vo.status|pay_type_name}</td>
<td>
<a href='{:url("admin/user/student",array("id"=>$vo["uid"]))}'>查看学员详情</a>
</td>
</tr>
</foreach>
</tbody>
</table>
</div>
<div class="pagination">
{$page}
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>