|
|
|
@ -33,64 +33,63 @@
|
|
|
|
|
<span class="title_main">玩家充值</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="trunk-content article">
|
|
|
|
|
<div class="trunk-search clearfix">
|
|
|
|
|
<form action="{:U('Query/userRecharges',array('row'=>I('get.row')))}" method="post" enctype="multipart/form-data">
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<select id="game-select" name="game_id" class="reselect select_gallery" style="width: 220px;" >
|
|
|
|
|
<option value="0">请选择游戏</option>
|
|
|
|
|
<volist name="games" id="game">
|
|
|
|
|
<div class="trunk-search clearfix jssearch">
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<select id="game-select" name="game_id" class="reselect select_gallery" style="width: 220px;" >
|
|
|
|
|
<option value="0">请选择游戏</option>
|
|
|
|
|
<volist name="games" id="game">
|
|
|
|
|
<option value="{$game.game_id}" <if condition="I('game_id') === $game['game_id']">selected</if>>{$game.game_name}</option>
|
|
|
|
|
</volist>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<select id="server-select" name="server_id" class="reselect select_gallery" style="width: 220px;" data-server="{:I('server_id', 0)}">
|
|
|
|
|
<option value="0">请选择区服</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<select name="sdk_version" class="reselect select_gallery" style="width: 220px;" >
|
|
|
|
|
<option value="0">请选择设备类型</option>
|
|
|
|
|
<option value="1" <if condition="I('sdk_version') === '1'">selected</if>>Andriod</option>
|
|
|
|
|
<option value="2" <if condition="I('sdk_version') === '2'">selected</if>>IOS</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<include file="Public/promote_select" />
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<input type="text" name="role_name" class="txt normal_txt" id="uid" placeholder="请输入角色名" value="{:I('role_name')}">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<input type="text" name="user_account" class="txt normal_txt" id="uid" placeholder="请输入玩家账号" value="{:I('user_account')}">
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="form-group normal_space">
|
|
|
|
|
<input type="text" name="device_sn" class="txt normal_txt" id="uid" placeholder="请输入设备号" value="{:I('device_sn')}">
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="form-group normal_space fr">
|
|
|
|
|
<label>充值总额:</label>
|
|
|
|
|
<input type="text" class="txt float-input" name="cost_begin" style="width: 50px" value="{:I('cost_begin')}" >
|
|
|
|
|
<label> ~ </label>
|
|
|
|
|
<input type="text" class="txt float-input" name="cost_end" style="width: 50px" value="{:I('cost_end')}" >
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space fr" style="display: flex;">
|
|
|
|
|
<label class="form-title select-title" style="position: relative;">充值时间:</label>
|
|
|
|
|
<div class="select-time">
|
|
|
|
|
<input type="text" readonly id="sdate" class="txt" name="begtime" placeholder="开始时间" value="{$initBegTime}">
|
|
|
|
|
</div>
|
|
|
|
|
<label class="form-title select-title zhi_color"> — </label>
|
|
|
|
|
<div class="select-time">
|
|
|
|
|
<input type="text" readonly id="edate" class="txt" name="endtime" placeholder="结束时间" value="{$initEndTime}">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<input type="hidden" name="last_sort_name" id="last_sort_name" value="{:I('sort_name', '')}">
|
|
|
|
|
<input type="hidden" name="sort_name" id="sort_name" value="{:I('sort_name', '')}">
|
|
|
|
|
<input type="hidden" name="sort" id="sort" value="{$sort}">
|
|
|
|
|
<input type="submit" class="submit" value="查询">
|
|
|
|
|
</volist>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<select id="server-select" name="server_id" class="reselect select_gallery" style="width: 220px;" data-server="{:I('server_id', 0)}">
|
|
|
|
|
<option value="0">请选择区服</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<select name="sdk_version" class="reselect select_gallery" style="width: 220px;" >
|
|
|
|
|
<option value="0">请选择设备类型</option>
|
|
|
|
|
<option value="1" <if condition="I('sdk_version') === '1'">selected</if>>Andriod</option>
|
|
|
|
|
<option value="2" <if condition="I('sdk_version') === '2'">selected</if>>IOS</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<include file="Public/promote_select" />
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<input type="text" name="role_name" class="txt normal_txt" placeholder="请输入角色名" value="{:I('role_name')}">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<input type="text" name="user_account" class="txt normal_txt" placeholder="请输入玩家账号" value="{:I('user_account')}">
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="form-group normal_space">
|
|
|
|
|
<input type="text" name="device_sn" class="txt normal_txt" id="uid" placeholder="请输入设备号" value="{:I('device_sn')}">
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="form-group normal_space fr">
|
|
|
|
|
<label>充值总额:</label>
|
|
|
|
|
<input type="text" class="txt float-input" name="cost_begin" style="width: 50px" value="{:I('cost_begin')}" >
|
|
|
|
|
<label> ~ </label>
|
|
|
|
|
<input type="text" class="txt float-input" name="cost_end" style="width: 50px" value="{:I('cost_end')}" >
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space fr" style="display: flex;">
|
|
|
|
|
<label class="form-title select-title" style="position: relative;">充值时间:</label>
|
|
|
|
|
<div class="select-time">
|
|
|
|
|
<input type="text" readonly id="sdate" class="txt" name="begtime" placeholder="开始时间" value="{$initBegTime}">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<label><input name="is_self" value="1" <if condition="I('is_self') == 1">checked</if> type="checkbox"> 本账号推广</label>
|
|
|
|
|
<label class="form-title select-title zhi_color"> — </label>
|
|
|
|
|
<div class="select-time">
|
|
|
|
|
<input type="text" readonly id="edate" class="txt" name="endtime" placeholder="结束时间" value="{$initEndTime}">
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<input type="hidden" name="last_sort_name" id="last_sort_name" value="{:I('sort_name', '')}">
|
|
|
|
|
<input type="hidden" name="sort_name" id="sort_name" value="{:I('sort_name', '')}">
|
|
|
|
|
<input type="hidden" name="sort" id="sort" value="{$sort}">
|
|
|
|
|
<input type="submit" class="submit" id='submit' url="{:U('Query/userRecharges','model='.$model['name'],false)}"
|
|
|
|
|
value="查询">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group normal_space">
|
|
|
|
|
<label><input name="is_self" value="1" <if condition="I('is_self') == 1">checked</if> type="checkbox"> 本账号推广</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="trunk-list list_normal">
|
|
|
|
|
<table class="table normal_table">
|
|
|
|
@ -196,8 +195,9 @@
|
|
|
|
|
<script type="text/javascript" src="__JS__/20170831/select2.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="__JS__/common.js"></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function(){
|
|
|
|
|
$(".select_gallery").select2();
|
|
|
|
|
$(function(){
|
|
|
|
|
setValue('row', '{:I("get.row",10)}');
|
|
|
|
|
$(".select_gallery").select2();
|
|
|
|
|
|
|
|
|
|
var date = "{$setdate}";
|
|
|
|
|
$('#sdate').datetimepicker({
|
|
|
|
@ -264,8 +264,36 @@ $(function(){
|
|
|
|
|
sort = (sort === 1) ? 2 : 1;
|
|
|
|
|
$('#sort').val(sort);
|
|
|
|
|
$('#sort_name').val(sortName);
|
|
|
|
|
$('form').trigger('submit');
|
|
|
|
|
$('#submit').trigger('click');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#submit').click(function () {
|
|
|
|
|
var sdate = Date.parse($('#sdate').val()) / 1000;
|
|
|
|
|
var edate = Date.parse($('#edate').val()) / 1000;
|
|
|
|
|
|
|
|
|
|
if (sdate > edate) {
|
|
|
|
|
layer.msg('开始时间必须小于等于结束时间');
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if ((edate - sdate) > 2592000) {
|
|
|
|
|
layer.msg('时间间隔不能超过31天,请重新选择日期');
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var url = $(this).attr('url');
|
|
|
|
|
console.log(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;
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
</block>
|