index.html
2.5 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
<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>
订单号:
<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><a href="{:url('Order/detail',['id'=>$vo['oid']])}">详情</a></td>
</tr>
</volist>
</table>
<ul class="pagination">{$page|default=''}</ul>
</form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>