|
|
|
@ -33,8 +33,7 @@
|
|
|
|
|
<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="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>
|
|
|
|
@ -57,10 +56,10 @@
|
|
|
|
|
</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')}">
|
|
|
|
|
<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" id="uid" placeholder="请输入玩家账号" value="{:I('user_account')}">
|
|
|
|
|
<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')}">
|
|
|
|
@ -85,12 +84,12 @@
|
|
|
|
|
<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="查询">
|
|
|
|
|
<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>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="trunk-list list_normal">
|
|
|
|
|
<table class="table normal_table">
|
|
|
|
@ -197,6 +196,7 @@
|
|
|
|
|
<script type="text/javascript" src="__JS__/common.js"></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function(){
|
|
|
|
|
setValue('row', '{:I("get.row",10)}');
|
|
|
|
|
$(".select_gallery").select2();
|
|
|
|
|
|
|
|
|
|
var date = "{$setdate}";
|
|
|
|
@ -264,7 +264,35 @@ $(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>
|
|
|
|
|