You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

249 lines
9.5 KiB
HTML

5 years ago
<extend name="Public/base"/>
<block name="body">
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
<script type="text/javascript" src="__JS__/bootstrap.min.js"></script>
<script type="text/javascript" src="__JS__/select2.min.js"></script>
<!-- 标题栏 -->
<div class="main-place">
<span class="main-placetitle">位置</span>
<ul class="main-placeul">
<li><a href="{:U('Statistics/overview')}">统计</a></li>
<li><a href="{:U('Platform/uc_statistics')}">平台统计</a></li>
<li><a href="#">UC充值统计</a></li>
</ul>
<div class="question">
<i class="question_mark">?</i>
<ul class="question_content">
<li class="question_title">功能以及数据相关说明</li>
<li class="question_list">
<span class="">UC充值统计</span>
<span class="">针对全站游戏进行UC充值排行统计</span>
</li>
</ul>
</div>
</div>
<div class="cf top_nav_list">
<div class="fl button_list">
<empty name="model.extend">
<div class="tools">
</div>
</empty>
</div>
<!-- 高级搜索 -->
<div class="jssearch fl cf search_list" style="margin-bottom:-15px;">
<!--游戏类型搜索END-->
<div class="input-list">
<label>选择时间:</label>
<input type="text" id="time-start" name="timestart" class="" value="{:I('timestart')}" placeholder="开始时间" />
<div class="input-append date" id="datetimepicker" style="display:inline-block">
<input type="text" id="time-end" name="timeend" class="" value="{:I('timeend')}" placeholder="结束时间" />
<span class="add-on"><i class="icon-th"></i></span>
</div>
</div>
</div>
<div class="jssearch fr cf search_list" style="margin-bottom:-15px;">
<input type="hidden" name="" value="" class="sortBy">
<div class="input-list">
<a class="sch-btn" href="javascript:;" id="search" url="{:U('Platform/uc_deposit','model='.$model['name'] .'&row='.I('row'),false)}">搜索</a>
</div>
</div>
</div>
<!-- 数据列表 -->
<div class="data_list">
<div class="">
<table>
<!-- 表头 -->
<thead>
<tr>
<th style="text-align:center">编号</th>
<th style="text-align:center">订单号</th>
<th style="text-align:center">充值账号</th>
<th style="text-align:center">充值方式</th>
<th style="text-align:center">金额</th>
<th style="text-align:center">充值时间</th>
<th style="text-align:center">订单状态</th>
<th style="text-align:center">账号来源</th>
</tr>
</thead>
<!-- 列表 -->
<tbody>
<style>
.data-table thead th, .data-table tbody td{text-align:center}
.data-table tbody td{border-right:1px solid #DDDDDD;}
.d_list .drop-down ul {z-index:999;}
</style>
<empty name ="list_data">
<td colspan="8" class="text-center">aOh! 暂时还没有内容!</td>
<else />
<volist name="data" id="vo">
<tr>
<td style="border-right:1px solid #DDDDDD;text-align:center">{$vo.id}</td>
<td style="border-right:1px solid #DDDDDD;text-align:center">{$vo.pay_order_number}</td>
<td style="border-right:1px solid #DDDDDD;text-align:center">{$vo.user_account}</td>
<td style="border-right:1px solid #DDDDDD;text-align:center">
<switch name='vo.pay_way'>
<case value='1'>支付宝</case>
<case value='2'>微信</case>
<!-- <case value='2'>平台币</case> -->
</switch></td>
<td style="border-right:1px solid #DDDDDD;text-align:center">{$vo.pay_amount}</td>
<td style="border-right:1px solid #DDDDDD;text-align:center">{:time_format($vo['create_time'],"Y-m-d H:i:s")}</td>
<td style="border-right:1px solid #DDDDDD;text-align:center">
<if condition=" $vo['pay_status'] eq 0 ">
未支付
<else/>
已支付
</if>
</td>
<td style="border-right:1px solid #DDDDDD;text-align:center">
<switch name='vo.platform'>
<case value='1'>手游</case>
<case value='2'>页游</case>
<case value='3'>h5</case>
<case value='4'>折扣</case>
<default/>未知
</switch>
</td>
</tr>
</volist>
</empty>
<tr class="data_summary">
<td>汇总</td>
<td colspan="11">
当页充值:{$pagetotal}元
今日充值:{$ttotal}元
昨日充值:{$ytotal}元
累计充值:{$total}元此处只汇总充值成功的订单</td>
<td> </td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="page">
{$page|default=''}
</div>
</block>
<block name="script">
<script src="__STATIC__/layer/layer.js"></script>
<script>
<volist name=":I('get.')" id="vo">
Think.setValue('{$key}',"{$vo}");
</volist>
$(".select_gallery").select2();
</script>
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
<php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript">
//导航高亮
highlight_subnav('{:U('Platform/uc_deposit')}');
$(function(){
//搜索功能
$("#search").click(function(){
var url = $(this).attr('url');
var query = $('.jssearch').find('input').serialize();
query += "&"+$('.jssearch').find('select').serialize();
query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,'');
query = query.replace(/^&/g,'');
if( url.indexOf('?')>0 ){
url += '&' + query;
}else{
url += '?' + query;
}
window.location.href = url;
});
//回车自动提交
$('.jssearch').find('input').keyup(function(event){
if(event.keyCode===13){
$("#search").click();
}
});
$(".paixu").click(function(){
var that=$(this);
$data_order=that.attr('data-order');
$order_type='{$userarpu_order}';
if($order_type==''||$order_type=='4'){
$(".sortBy").attr('name','data_order');
val='3,'+$data_order;
$(".sortBy").attr('value',val);
$("#search").click();
}else if($order_type=='3'){
$(".sortBy").attr('name','data_order');
val='4,'+$data_order;
$(".sortBy").attr('value',val);
$("#search").click();
}
});
$(".budan").click(function(){
url=$(this).attr('href');
data=$(this).attr('href-data');
$.ajax({
type: 'post',
url: url,
data:{orderNo:data,is_uc:1},
success: function(e){
if(e.status){
layer.msg(e.msg,{icon:1});
}else{
layer.msg(e.msg,{icon:2});
}
},
});
});
//点击排序
$('.list_sort').click(function(){
var url = $(this).attr('url');
var ids = $('.ids:checked');
var param = '';
if(ids.length > 0){
var str = new Array();
ids.each(function(){
str.push($(this).val());
});
param = str.join(',');
}
if(url != undefined && url != ''){
window.location.href = url.replace(".html","") + '/ids/' + param;
}
});
// var date="{$setdate}";
$('#time-start').datetimepicker({
format: 'yyyy-mm-dd',
language:"zh-CN",
minView:2,
autoclose:true,
// endDate:date
});
$('#datetimepicker').datetimepicker({
format: 'yyyy-mm-dd',
language:"zh-CN",
minView:2,
autoclose:true,
pickerPosition:'bottom-left',
})
})
</script>
</block>