|
|
<extend name="Public/promote_base"/>
|
|
|
<block name="css">
|
|
|
<link href="__CSS__/20180207/data.css" rel="stylesheet">
|
|
|
<link href="__CSS__/20180207/manager.css" rel="stylesheet" >
|
|
|
<link href="__CSS__/20180207/finance.css" rel="stylesheet">
|
|
|
</block>
|
|
|
|
|
|
<block name="body">
|
|
|
<style>
|
|
|
@media screen and (max-width: 1500px) {
|
|
|
.normal_form{padding-top: 45px;}
|
|
|
.trunk-search .normal_txt {width: 100px}
|
|
|
.select2-container--default .select2-selection--single {width: 125px;}
|
|
|
.trunk-search .select-time .txt{width: 100px;}
|
|
|
.form-group .submit{width: 55px;}
|
|
|
}
|
|
|
|
|
|
</style>
|
|
|
<div class="page-search normal_list query-recharge-search">
|
|
|
<div class="trunk-title">
|
|
|
<div class="location">
|
|
|
<div class="location-container">当前位置:<span>数据管理></span><span>充值明细</span></div>
|
|
|
</div>
|
|
|
<img src="__IMG__/20180207/icon_chongzhi.png">
|
|
|
<span class="title_main">充值明细</span>
|
|
|
<span class="details">对所有渠道用户玩家产生的充值信息,进行记录的功能</span>
|
|
|
</div>
|
|
|
<div class="trunk-content article">
|
|
|
<div class="trunk-search clearfix">
|
|
|
<div class="tab normal_tab">
|
|
|
<!-- <a href="{:U('Query/recharge')}" class=" <eq name='Think.get.version' value=''>current</eq>">全部</a> -->
|
|
|
<a href="{:U('Query/recharge',['version'=>1])}" class="normal_change <if condition='I("request.version",1) == 1'> current</if>">常规消费</a>
|
|
|
<a href="{:U('Query/recharge',['version'=>2])}" class="normal_change wxnavbtn <eq name='Think.get.version' value='2'>current</eq>">绑币消费</a>
|
|
|
</div>
|
|
|
<form action="{:U('Query/recharge',['version'=>I("request.version",1),'row'=>I("get.row")])}" method="post" enctype="multipart/form-data" class="normal_form">
|
|
|
<div class="form-group normal_space fr">
|
|
|
<input type="submit" class="submit" id='submit' value="查询">
|
|
|
</div>
|
|
|
<div class="form-group normal_space fr">
|
|
|
<label class="form-title select-title">充值时间:</label>
|
|
|
<div class="select-time">
|
|
|
<input type="text" id="sdate" class="txt" name="time_start" placeholder="开始时间" value="{:I('time_start')}" >
|
|
|
</div>
|
|
|
<label class="form-title select-title zhi_color"> — </label>
|
|
|
<div class="select-time">
|
|
|
<input type="text" id="edate" class="txt" name="time_end" placeholder="结束时间" value="{:I('time_end')}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group normal_space fr">
|
|
|
<select id="promote_id" name="promote_id" class="reselect select_gallery" style="min-width:130px;">
|
|
|
<option game-id="0" value="0">推广员账号</option>
|
|
|
<option game-id="{:session('promote_auth.pid')}" value="{:session('promote_auth.pid')}">自己</option>
|
|
|
<volist name=":get_promote_chlid_account(PID)" id="vo">
|
|
|
<option game-id="{$vo.id}" value="{$vo.id}">{$vo.account}</option>
|
|
|
</volist>
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="form-group normal_space fr">
|
|
|
<select id="game_id" name="game_appid" class="reselect select_gallery">
|
|
|
<option game-id="0" value="0">请选择游戏</option>
|
|
|
<volist name=":get_game_list()" id="vo">
|
|
|
<option game-id="{$vo.game_appid}" value="{$vo.id}" >{$vo['game_name']}</option>
|
|
|
</volist>
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="form-group normal_space fr">
|
|
|
<input type="text" name="order_number" class="txt normal_txt" placeholder="请输入订单号" value="{:I('order_number')}">
|
|
|
</div>
|
|
|
<div class="form-group normal_space fr">
|
|
|
<select id="sdk_version" name="sdk_version" class="reselect select_gallery" style="width:215px;">
|
|
|
<option value="0">请选择设备类型</option>
|
|
|
<volist name=":getSDKType()" id="vo" key="k">
|
|
|
<option value="{$k}">{$vo}</option>
|
|
|
</volist>
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="form-group fr">
|
|
|
<input type="text" name="user_account" class="txt normal_txt" id="uid" placeholder="请输入玩家账号" value="{:I('user_account')}">
|
|
|
</div>
|
|
|
<!-- <input type="hidden" name="version" value="{:I('version',1)}"> -->
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="page-list apply-app_apply-list query-recharge-list">
|
|
|
<div class="trunk-content article">
|
|
|
|
|
|
<div class="tabcon trunk-list">
|
|
|
<table class="table normal_table">
|
|
|
<tr class="odd">
|
|
|
<th>ID</th>
|
|
|
<th>玩家账号</th>
|
|
|
<th>角色名</th>
|
|
|
<th>订单号</th>
|
|
|
<th>游戏名称</th>
|
|
|
<th>区服</th>
|
|
|
<th>应付金额</th>
|
|
|
<th>实付金额</th>
|
|
|
<th>充值时间</th>
|
|
|
<th>支付方式</th>
|
|
|
<th>推广员账号</th>
|
|
|
<th>操作</th>
|
|
|
</tr>
|
|
|
<empty name="list_data">
|
|
|
<tr><td colspan="10" style="text-align: center;height: 45vh;"><img src="__IMG__/20180207/icon_wushujv2.png"/><p style="line-height: 40px;color: #A5A5A5;">暂无数据</p></td></tr>
|
|
|
<else />
|
|
|
<volist name="list_data" id="s" mod="2">
|
|
|
<tr class="<eq name='mod' value='1'>odd</eq>">
|
|
|
<td>{$s.id}</td>
|
|
|
<td>{$s.user_account}<gt name="s.small_id" value="0"><neq name="s.small_id" value="$s.user_id">({$s.small_account})</neq></gt></td>
|
|
|
<td>{$s.game_player_name}</td>
|
|
|
<td>{$s.pay_order_number}</td>
|
|
|
<td title="{$s['game_name']}">{:msubstr2($s['game_name'],0,10)}</td>
|
|
|
<td>{$s.server_name}</td>
|
|
|
<td>{$s.cost}</td>
|
|
|
<td>{$s.pay_amount}</td>
|
|
|
<td>{$s.pay_time|date="Y-m-d H:i:s",###}</td>
|
|
|
<td>
|
|
|
{:get_pay_way($s['pay_way'])}
|
|
|
<!-- <switch name='s.pay_way'>
|
|
|
<case value="0">平台币</case>
|
|
|
<case value="1">支付宝</case>
|
|
|
<case value="2">微信()</case>
|
|
|
</switch> -->
|
|
|
</td>
|
|
|
<td>{$s.promote_account}</td>
|
|
|
<td>
|
|
|
<a href="{:U('Query/viewSpendDetailed',array('id'=>$s['id']))}" style="cursor: pointer" class="chakan">查看详细</a>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</volist>
|
|
|
<tr class="summary">
|
|
|
<td colspan="10">应付总计:¥{$total_cost|default=0},实付总计:¥{$total_amount|default=0}</td>
|
|
|
</tr>
|
|
|
</empty>
|
|
|
</table>
|
|
|
|
|
|
</div>
|
|
|
<div class="pagenation clearfix">
|
|
|
<a class="sch-btn" href="{:U('Export/expUser',array(
|
|
|
'id'=>4,
|
|
|
'user_account'=>I('user_account'),
|
|
|
'game_appid'=>I('game_appid'),
|
|
|
'time-start'=>I('time_start'),
|
|
|
'time-end'=>I('time_end'),
|
|
|
'start'=>I('start'),
|
|
|
'end'=>I('end'),
|
|
|
'promote_id'=>I('promote_id'),
|
|
|
'version'=>$_REQUEST['version'],'xlsname'=>'数据管理_充值明细'.(I('version',1)==2?'_绑币消费':'_常规消费')
|
|
|
))}" >导出</a>
|
|
|
{$_page}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
</block>
|
|
|
<block name="script">
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/p_jquery.datetimepicker.css">
|
|
|
<script type="text/javascript" src="__JS__/jquery.datetimepicker.js"></script>
|
|
|
<script type="text/javascript" src="__JS__/20170831/select2.min.js"></script>
|
|
|
<script src="__STATIC__/layer/layer.js"></script>
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
setValue('promote_id',{$Think.request.promote_id|default=0});
|
|
|
setValue('game_appid',{$Think.request.game_appid|default=0});
|
|
|
setValue('row','{:I("get.row",10)}');
|
|
|
$().ready(function(){
|
|
|
$("#pagehtml a").on("click",function(event){
|
|
|
event.preventDefault();//使a自带的方法失效,即无法调整到href中的URL(http://www.baidu.com)
|
|
|
var geturl = $(this).attr('href');
|
|
|
$('#data_form').attr('action',geturl);
|
|
|
$('#data_form').submit();
|
|
|
});
|
|
|
|
|
|
$('#sdate').datetimepicker({
|
|
|
lang:'ch',
|
|
|
format:'Y-m-d',
|
|
|
formatDate:'Y-m-d',
|
|
|
scrollMonth:false,
|
|
|
scrollTime:false,
|
|
|
scrollInput:false,
|
|
|
timepicker:false
|
|
|
});
|
|
|
|
|
|
$('#submit').click(function(){
|
|
|
var sdate =$('#sdate').val();
|
|
|
var edate =$('#edate').val();
|
|
|
// if(sdate =='' || edate==''){
|
|
|
// layer.msg('请完整时间搜索框');
|
|
|
// return false;
|
|
|
// }
|
|
|
if(Date.parse(sdate) > Date.parse(edate)){
|
|
|
layer.msg('开始时间必须小于等于结束时间');
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
});
|
|
|
$(".select_gallery").select2();
|
|
|
|
|
|
$('#edate').datetimepicker({
|
|
|
lang:'ch',
|
|
|
format:'Y-m-d',
|
|
|
formatDate:'Y-m-d',
|
|
|
scrollMonth:false,
|
|
|
scrollTime:false,
|
|
|
scrollInput:false,
|
|
|
timepicker:false
|
|
|
});
|
|
|
});
|
|
|
</script>
|
|
|
|
|
|
</block>
|