order.html
4.55 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<include file="public/min-header" />
<link href="__PUBLIC__/plugins/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
<script src="__PUBLIC__/plugins/daterangepicker/moment.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>
<div class="wrapper">
<include file="public/breadcrumb"/>
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">订单统计</h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-sm-12">
<table id="list-table" class="table table-bordered table-striped dataTable" role="grid" aria-describedby="example1_info">
<thead>
<tr role="row">
<th class="sorting_asc" tabindex="0" aria-controls="example1" rowspan="1" colspan="1" aria-sort="ascending">ID</th>
<th class="sorting" tabindex="0" aria-controls="example1" >配送方式</th>
<th class="sorting" tabindex="0" aria-controls="example1" >支付方式</th>
<th class="sorting" tabindex="0" aria-controls="example1" >匿名购买数</th>
<th class="sorting" tabindex="0" aria-controls="example1" >会员购买率</th>
<th class="sorting" tabindex="0" aria-controls="example1" >访问购买率</th>
<th class="sorting" tabindex="0" aria-controls="example1" >结束时间</th>
<th class="sorting" tabindex="0" aria-controls="example1" >操作</th>
</tr>
</thead>
<tbody>
<foreach name="list" item="vo" key="k" >
<tr role="row" align="center">
<td>{$vo.ad_id}</td>
<td>{$ad_position_list[$vo[pid]]}</td>
<td>{$vo.ad_name}</td>
<td>{$vo.media_type}</td>
<td>{$vo.ad_link}</td>
<td>{$vo.start_time|date="Y-m-d",###}</td>
<td>{$vo.end_time|date="Y-m-d",###}</td>
<td>
<a class="btn btn-primary" href="{:U('Ad/ad',array('act'=>'edit','ad_id'=>$vo['ad_id']))}"><i class="fa fa-pencil"></i></a>
<a class="btn btn-danger"><i class="fa fa-trash-o"></i></a>
</td>
</tr>
</foreach>
</tbody>
<tfoot>
</tfoot>
</table>
</div>
</div>
<div class="row">
<div class="col-sm-6 text-left"></div>
<div class="col-sm-6 text-right">{$page}</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<script type="text/javascript">
$(document).ready(function() {
$('#begin').daterangepicker({
format:"YYYY-MM-DD",
singleDatePicker: true,
showDropdowns: true,
minDate:'2016-01-01',
maxDate:'2030-01-01',
startDate:'2016-01-01',
locale : {
applyLabel : '确定',
cancelLabel : '取消',
fromLabel : '起始时间',
toLabel : '结束时间',
customRangeLabel : '自定义',
daysOfWeek : [ '日', '一', '二', '三', '四', '五', '六' ],
monthNames : [ '一月', '二月', '三月', '四月', '五月', '六月','七月', '八月', '九月', '十月', '十一月', '十二月' ],
firstDay : 1
}
});
$('#end').daterangepicker({
format:"YYYY-MM-DD",
singleDatePicker: true,
showDropdowns: true,
minDate:'2016-01-01',
maxDate:'2030-01-01',
startDate:'2016-01-01',
locale : {
applyLabel : '确定',
cancelLabel : '取消',
fromLabel : '起始时间',
toLabel : '结束时间',
customRangeLabel : '自定义',
daysOfWeek : [ '日', '一', '二', '三', '四', '五', '六' ],
monthNames : [ '一月', '二月', '三月', '四月', '五月', '六月','七月', '八月', '九月', '十月', '十一月', '十二月' ],
firstDay : 1
}
});
});
</script>
</body>
</html>