| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 | 
							- <!-- header start -->
 
- <include file="Public/Header" />
 
- <!-- header end -->
 
- <!-- right content start  -->
 
- <div class="content-right">
 
- 	<div class="content">
 
- 	<h3>不要一次查询超过14天的数据</h3>
 
- 	</div>
 
- 	<div class="content">
 
- 		<form class="am-form view-list" action="{{:U('Admin/Statistic/orderCheck')}}" method="POST" id="form1">
 
- 			<div class="am-g">
 
- 				<div style="width:500px;display: inline-block;">
 
- 					<label>时间:</label>
 
- 					<input name="start_time" class="datebb"  value="{{$start_time}}" autocomplete="off" style="width:20rem;border-left: 0.1rem solid;" />~
 
- 					<input name="end_time" class="datebb" value="{{$end_time}}" autocomplete="off" style="width: 20rem;border-left: 0.1rem solid;" />
 
- 				</div>
 
- 				<button type="submit" class="am-btn am-btn-secondary am-btn-sm am-radius form-submit">查询</button>
 
- 				<a href="#" class="am-btn am-btn-danger am-btn-xs" onclick="exportData();">导出</a>
 
- 			</div>
 
- 		</form>
 
- 	</div>
 
- 		<table class="am-table am-table-striped am-table-hover am-text-middle m-t-10">
 
- 			<thead>
 
- 			<tr>
 
- 				<th>序号</th>
 
- 				<th class="am-hide-sm-only">时间</th>
 
- 				<th class="am-hide-sm-only">pv</th>
 
- 				<th class="am-hide-sm-only">uv</th>
 
- 				<th class="am-hide-sm-only">订购数</th>
 
- 				<th class="am-hide-sm-only">退订数</th>
 
- 				<th class="am-hide-sm-only">预订购(去重)</th>
 
- 				<th class="am-hide-sm-only">预订购总数</th>
 
- 				<th class="am-hide-sm-only">播放总时长(秒)</th>
 
- 				<th class="am-hide-sm-only">新增用户</th>
 
- 				<th class="am-hide-sm-only">累计用户</th>
 
- <!--				<th>{{:L('common_operation_name')}}</th>-->
 
- 			</tr>
 
- 			</thead>
 
- 			<tbody>
 
- 			<if condition="!empty($data)">
 
- 				<foreach name="data" item="v">
 
- 					<tr id="data-list-{{$v.id}}">
 
- 						<td class="am-hide-sm-only">{{$key+1}}</td>
 
- 						<td class="am-hide-sm-only">{{$v.date}}</td>
 
- 						<td class="am-hide-sm-only">{{$v.pv|default=0}}</td>
 
- 						<td class="am-hide-sm-only">{{$v.uv|default=0}}</td>
 
- 						<td class="am-hide-sm-only">{{$v.order|default=0}}</td>
 
- 						<td class="am-hide-sm-only">{{$v.cancel_order|default=0}}</td>
 
- 						<td class="am-hide-sm-only">{{$v.pre_order|default=0}}</td>
 
- 						<td class="am-hide-sm-only">{{$v.pre_order_count|default=0}}</td>
 
- 						<td class="am-hide-sm-only">{{$v.play_time_sum|default=0}}</td>
 
- 						<td class="am-hide-sm-only">{{$v.add_user|default=0}}</td>
 
- 						<td class="am-hide-sm-only">{{$v.user_sum|default=0}}</td>
 
- <!--						<td class="view-operation">-->
 
- <!--							<button class="am-btn am-btn-default am-btn-xs am-radius am-icon-trash-o submit-delete" data-url="{{:U('Admin/SourceOrigin/Delete')}}" data-am-popover="{content: '{{:L('common_operation_delete')}}', trigger: 'hover focus'}" data-id="{{$v.id}}"></button>-->
 
- <!--						</td>-->
 
- 					</tr>
 
- 				</foreach>
 
- 				<else />
 
- 				<tr><td colspan="10" class="table-no">{{:L('common_not_data_tips')}}</td></tr>
 
- 			</if>
 
- 			</tbody>
 
- 		</table>
 
- 		<!-- list end -->
 
- 		<!-- page start -->
 
- 		<if condition="!empty($List)">
 
- 			{{$page_html}}
 
- 		</if>
 
- 		<!-- page end -->
 
- 	</div>
 
- </div>
 
- <!-- right content end  -->
 
- <script>
 
- 	function exportData(){
 
- 		var form =  $('#form1').serialize();
 
- 		var url = './index.php?m=Admin&c=Statistic&a=orderCheck&model=export&'+form;
 
- 		window.location.href = url;
 
- 	}
 
- 	jeDate("input[name=start_time]",{
 
- 		//onClose:false,
 
- 		format: "YYYY-MM-DD 00:00:00"
 
- 	});
 
- 	jeDate("input[name=end_time]",{
 
- 		//onClose:false,
 
- 		format: "YYYY-MM-DD 23:59:59"
 
- 	});
 
- </script>
 
- <!-- footer start -->
 
- <include file="Public/Footer" />
 
- <!-- footer end
 
 
  |