|
|
|
|
<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('Spend/lists')}">充值</a></li>
|
|
|
|
|
<li><a href="{:U('Provide/lists')}">绑币订单</a></li>
|
|
|
|
|
<li><a href="#">绑币使用记录</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="">绑币使用记录</span>
|
|
|
|
|
<span class="">玩家消费绑定绑币的所有记录</span>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cf top_nav_list">
|
|
|
|
|
<!-- 高级搜索 -->
|
|
|
|
|
<div class="jssearch fr cf search_list">
|
|
|
|
|
<div class="input-list">
|
|
|
|
|
<label>玩家账号:</label>
|
|
|
|
|
<input type="text" name="{$model['search_key']|default='user_account'}" class="" value="{:I('user_account')}">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-list">
|
|
|
|
|
<label>支付订单号:</label>
|
|
|
|
|
<input type="text" name="pay_order_number" class="" value="{:I('pay_order_number')}">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-list">
|
|
|
|
|
<label>充值时间</label>
|
|
|
|
|
<input type="text" id="time-start" name="time-start" class="" value="{:I('time-start')}" placeholder="开始时间" />
|
|
|
|
|
-
|
|
|
|
|
<div class="input-append date" id="datetimepicker" style="display:inline-block">
|
|
|
|
|
<input type="text" id="time-end" name="time-end" class="" value="{:I('time-end')}" placeholder="结束时间" />
|
|
|
|
|
<span class="add-on"><i class="icon-th"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-list input-list-game search_label_rehab">
|
|
|
|
|
<label>游戏名称:</label>
|
|
|
|
|
<select id="game_id" name="game_name" class="select_gallery">
|
|
|
|
|
<option value="">请选择游戏</option>
|
|
|
|
|
<volist name=":get_game_list()" id="vo">
|
|
|
|
|
<option game-id="{$vo.id}" value="{$vo.game_name}">{$vo.game_name}</option>
|
|
|
|
|
</volist>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-list">
|
|
|
|
|
<label>充值ip:</label>
|
|
|
|
|
<input type="text" name="spend_ip" class="" value="{:I('spend_ip')}" placeholder="">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-list input-list-promote search_label_rehab">
|
|
|
|
|
<label>推广员账号:</label>
|
|
|
|
|
<select id="promote_id" name="promote_id" class="select_gallery" style="width:150px;">
|
|
|
|
|
<option value="">请选择推广员账号</option>
|
|
|
|
|
<option value="0">官方渠道</option>
|
|
|
|
|
<volist name=":get_promote_list(1)" id="vo">
|
|
|
|
|
<option promote-id="{$vo.id}" value="{$vo.id}">{$vo.account}</option>
|
|
|
|
|
</volist>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-list search_item input-list-orderstatus">
|
|
|
|
|
<label>订单状态:</label>
|
|
|
|
|
<select name="pay_status">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
<option value="0">下单未付款</option>
|
|
|
|
|
<option value="1">成功</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-list search_item input-list-gamenoticestatus">
|
|
|
|
|
<label>游戏通知状态:</label>
|
|
|
|
|
<select name="pay_game_status">
|
|
|
|
|
<option value="">全部</option>
|
|
|
|
|
<option value="0">通知失败</option>
|
|
|
|
|
<option value="1">通知成功</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<input type="hidden" name="" value="" class="sortBy">
|
|
|
|
|
<div class="input-list">
|
|
|
|
|
<a class="sch-btn" href="javascript:;" id="search" url="{:U('BindSpend/lists','model='.$model['name'],false)}">搜索</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-list">
|
|
|
|
|
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>10,),I('get.')))}">导出</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 数据列表 -->
|
|
|
|
|
<div class="data_list">
|
|
|
|
|
<div class="">
|
|
|
|
|
<table>
|
|
|
|
|
<!-- 表头 -->
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>订单号</th>
|
|
|
|
|
<th ><a class="paixu" data-order='pay_time'><if condition="$userarpu_order eq 4 and $userarpu_order_type eq 'pay_time'">充值时间▲<elseif condition="$userarpu_order eq 3 and $userarpu_order_type eq 'pay_time'"/>充值时间▼<else />充值时间<img src="__IMG__/up-down.png" width="13px"></if></a></th>
|
|
|
|
|
<th>玩家账号</th>
|
|
|
|
|
<th>所属推广员</th>
|
|
|
|
|
<th>游戏名称</th>
|
|
|
|
|
<th>游戏区服</th>
|
|
|
|
|
<th>角色名</th>
|
|
|
|
|
<th>充值ip</th>
|
|
|
|
|
<th>充值金额</th>
|
|
|
|
|
<th>订单状态</th>
|
|
|
|
|
<th>游戏通知状态</th>
|
|
|
|
|
<th>操作</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
|
|
<!-- 列表 -->
|
|
|
|
|
<tbody>
|
|
|
|
|
<volist name="list_data" id="data">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{$data.pay_order_number}</td>
|
|
|
|
|
<td>{:set_show_time($data['pay_time'],'','pay')}</td>
|
|
|
|
|
<td>{$data.user_account}</td>
|
|
|
|
|
<td>{$data.promote_account}</td>
|
|
|
|
|
<td>{$data.game_name}</td>
|
|
|
|
|
<td>{$data.server_name}</td>
|
|
|
|
|
<td>{$data.game_player_name}</td>
|
|
|
|
|
<td>{$data.spend_ip}</td>
|
|
|
|
|
<td><span>{$data.pay_amount}</span></td>
|
|
|
|
|
<td>
|
|
|
|
|
<if condition="$data['pay_status'] eq 1"><span style="color: #46A3FF;">{:get_info_status($data['pay_status'],9)}</span>
|
|
|
|
|
<else/>{:get_info_status($data['pay_status'],9)}
|
|
|
|
|
</if>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<if condition="$data['pay_status'] eq 1"><span style="color: #46A3FF;">{:get_info_status($data['pay_game_status'],14)}</span>
|
|
|
|
|
<elseif condition="$data.status eq 0"/>
|
|
|
|
|
—— ——
|
|
|
|
|
<else/>{:get_info_status($data['pay_game_status'],14)}
|
|
|
|
|
</if>
|
|
|
|
|
</td>
|
|
|
|
|
<td><if condition="$data['pay_game_status'] eq 0 and $data['pay_status'] eq 1"><a class="ajax-get budan" href-data="{$data.pay_order_number}" href="{:U('Repair/repairBindEdit')}">补单</a><else/><span>补单</span></if></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</volist>
|
|
|
|
|
<tr class="data_summary">
|
|
|
|
|
<td>汇总</td>
|
|
|
|
|
<td colspan="11">当页使用:{:null_to_0(array_sum(array_column(array_status2value('pay_status','',$list_data),'pay_amount')))}绑币 ; 今日使用:{$ttotal}绑币 ; 昨日使用:{$ytotal}绑币 ; 累计使用:{$total}绑币(此处只汇总成功的订单)</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="page">
|
|
|
|
|
{$_page|default=''}
|
|
|
|
|
</div>
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
|
|
<block name="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 src="__STATIC__/layer/layer.js" type="text/javascript"></script>
|
|
|
|
|
<script>
|
|
|
|
|
<volist name=":I('get.')" id="vo">
|
|
|
|
|
Think.setValue('{$key}',"{$vo}");
|
|
|
|
|
</volist>
|
|
|
|
|
$(".select_gallery").select2();
|
|
|
|
|
</script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
//导航高亮
|
|
|
|
|
highlight_subnav('{:U('BindSpend/lists')}');
|
|
|
|
|
$(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,'');console.log(query);
|
|
|
|
|
if( url.indexOf('?')>0 ){
|
|
|
|
|
url += '&' + query;
|
|
|
|
|
}else{
|
|
|
|
|
url += '?' + query;
|
|
|
|
|
}
|
|
|
|
|
window.location.href = url;
|
|
|
|
|
});
|
|
|
|
|
$(".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},
|
|
|
|
|
success: function(e){
|
|
|
|
|
if(e.status){
|
|
|
|
|
layer.msg(e.msg,{icon:1});
|
|
|
|
|
}else{
|
|
|
|
|
layer.msg(e.msg,{icon:2});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
//回车自动提交
|
|
|
|
|
$('.jssearch').find('input').keyup(function(event){
|
|
|
|
|
if(event.keyCode===13){
|
|
|
|
|
$("#search").click();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#time-start').datetimepicker({
|
|
|
|
|
format: 'yyyy-mm-dd',
|
|
|
|
|
language:"zh-CN",
|
|
|
|
|
minView:2,
|
|
|
|
|
autoclose:true
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#datetimepicker').datetimepicker({
|
|
|
|
|
format: 'yyyy-mm-dd',
|
|
|
|
|
language:"zh-CN",
|
|
|
|
|
minView:2,
|
|
|
|
|
autoclose:true,
|
|
|
|
|
pickerPosition:'bottom-left'
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(".drop-down2").on('click',function(event) {
|
|
|
|
|
var navlist = $(this).find('.i_list_li');
|
|
|
|
|
if (navlist.hasClass('hidden')) {
|
|
|
|
|
navlist.removeClass('hidden');
|
|
|
|
|
$('#promoteid').focus().val('');
|
|
|
|
|
} else {
|
|
|
|
|
navlist.addClass('hidden');
|
|
|
|
|
}
|
|
|
|
|
$(document).one("click", function(){
|
|
|
|
|
navlist.addClass('hidden');
|
|
|
|
|
});
|
|
|
|
|
event.stopPropagation();
|
|
|
|
|
});
|
|
|
|
|
var a = $('.i_list_li li a');
|
|
|
|
|
$('#promoteid').on('keyup',function(event) {
|
|
|
|
|
var val = $.trim($(this).val()).toLowerCase();
|
|
|
|
|
$('#promoteid').val(val);
|
|
|
|
|
$('#promoteidh').val(-1);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#promoteidlist').find("a").each(function(){
|
|
|
|
|
$(this).click(function(){
|
|
|
|
|
var text = $.trim($(this).text()).toLowerCase(),
|
|
|
|
|
val = $(this).attr('value');
|
|
|
|
|
$('#promoteid').val(text);
|
|
|
|
|
$('#promoteidh').val(val);
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(".drop-down22").on('click',function(event) {
|
|
|
|
|
var navlist = $(this).find('.i_list_li');
|
|
|
|
|
if (navlist.hasClass('hidden')) {
|
|
|
|
|
navlist.removeClass('hidden');
|
|
|
|
|
$('#i_list_id').focus().val('');
|
|
|
|
|
} else {
|
|
|
|
|
navlist.addClass('hidden');
|
|
|
|
|
}
|
|
|
|
|
$(document).one("click", function(){
|
|
|
|
|
navlist.addClass('hidden');
|
|
|
|
|
});
|
|
|
|
|
event.stopPropagation();
|
|
|
|
|
});
|
|
|
|
|
$('#i_list_id').on('keyup',function(event) {
|
|
|
|
|
var val = $.trim($(this).val()).toLowerCase();
|
|
|
|
|
$('#i_list_idh').val(val);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#i_list_li").find("a").each(function(){
|
|
|
|
|
$(this).click(function(){
|
|
|
|
|
var text = $.trim($(this).text()).toLowerCase();
|
|
|
|
|
$("#i_list_id").val(text);
|
|
|
|
|
$('#i_list_idh').val(text);
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(".drop-down11").on('click',function(event) {
|
|
|
|
|
var navlist = $(this).find('.i_list_li');
|
|
|
|
|
if (navlist.hasClass('hidden')) {
|
|
|
|
|
navlist.removeClass('hidden');
|
|
|
|
|
$('#i_list_id11').focus().val('');
|
|
|
|
|
} else {
|
|
|
|
|
navlist.addClass('hidden');
|
|
|
|
|
}
|
|
|
|
|
$(document).one("click", function(){
|
|
|
|
|
navlist.addClass('hidden');
|
|
|
|
|
});
|
|
|
|
|
event.stopPropagation();
|
|
|
|
|
});
|
|
|
|
|
$('#i_list_id11').on('keyup',function(event) {
|
|
|
|
|
var val = $.trim($(this).val()).toLowerCase();
|
|
|
|
|
$('#i_list_idh11').val(val);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#i_list_li11").find("a").each(function(){
|
|
|
|
|
$(this).click(function(){
|
|
|
|
|
var text = $.trim($(this).text()).toLowerCase();
|
|
|
|
|
$("#i_list_id11").val(text);
|
|
|
|
|
$('#i_list_idh11').val(text);
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
$(".d_list").find(".drop-down12").hover(function(){
|
|
|
|
|
$(this).find(".nav-list").removeClass("hidden");
|
|
|
|
|
},function(){
|
|
|
|
|
$(this).find(".nav-list").addClass("hidden");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(".drop-down12 .nav-list li").find("a").each(function(){
|
|
|
|
|
var that = $(".drop-down12");
|
|
|
|
|
$(this).click(function(){
|
|
|
|
|
var text = $(this).text(),val = $(this).attr("value");
|
|
|
|
|
that.find(".sort-txt").text(text).attr("data",val);
|
|
|
|
|
that.find(".nav-list").addClass("hidden");
|
|
|
|
|
that.siblings('.hiddenvalue').val(val);
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(".d_list").find(".drop-down13").hover(function(){
|
|
|
|
|
$(this).find(".nav-list").removeClass("hidden");
|
|
|
|
|
},function(){
|
|
|
|
|
$(this).find(".nav-list").addClass("hidden");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(".drop-down13 .nav-list li").find("a").each(function(){
|
|
|
|
|
var that = $(".drop-down13");
|
|
|
|
|
$(this).click(function(){
|
|
|
|
|
var text = $(this).text(),val = $(this).attr("value");
|
|
|
|
|
that.find(".sort-txt").text(text).attr("data",val);
|
|
|
|
|
that.find(".nav-list").addClass("hidden");
|
|
|
|
|
that.siblings('.hiddenvalue').val(val);
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
</block>
|