|
|
|
@ -65,7 +65,9 @@
|
|
|
|
|
visibility: visible;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-layer{
|
|
|
|
|
overflow: scroll;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -91,9 +93,10 @@
|
|
|
|
|
<div class="input-list input-list-game search_label_rehab">
|
|
|
|
|
<select id="game_name" name="game_name" class="select_gallery" >
|
|
|
|
|
<option value="">游戏名称</option>
|
|
|
|
|
<!-- <volist name=":get_game_list(null, $_GET['game_type'])" id="vo">
|
|
|
|
|
<option game-id="{$vo.id}" value="{$vo.id}">{$vo.game_name}</option>
|
|
|
|
|
</volist> -->
|
|
|
|
|
<volist name=":getAllGame()" id="vo">
|
|
|
|
|
<option value="{$vo.game_name}" <if condition="$vo.game_name eq I('game_name')">selected</if>
|
|
|
|
|
>{$vo.game_name}</option>
|
|
|
|
|
</volist>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-list input-list-game search_label_rehab">
|
|
|
|
@ -253,9 +256,11 @@
|
|
|
|
|
<volist name=":I('get.')" id="vo">
|
|
|
|
|
Think.setValue('{$key}',"{$vo}");
|
|
|
|
|
</volist>
|
|
|
|
|
$(".select_gallery").select2();
|
|
|
|
|
</script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(".select_gallery").select2();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function reloadIframe(url) {
|
|
|
|
|
$("iframe").attr('src', url);
|
|
|
|
|
// document.getElementsByTagName('iframe').src=url;
|
|
|
|
@ -280,25 +285,23 @@
|
|
|
|
|
var href = $(this).attr('href');
|
|
|
|
|
$(this).removeAttr('href');
|
|
|
|
|
window.location.replace(href)
|
|
|
|
|
console.log(href)
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//导航高亮
|
|
|
|
|
highlight_subnav('{:U('Finance/gameStatistics')}');
|
|
|
|
|
$(function(){
|
|
|
|
|
|
|
|
|
|
//搜索功能
|
|
|
|
|
$("#search").click(function(){
|
|
|
|
|
console.log(111);
|
|
|
|
|
var starttime = $.trim($('#time-start').val());
|
|
|
|
|
var endtime = $.trim($('#time-end').val());
|
|
|
|
|
|
|
|
|
|
if (starttime && endtime && starttime > endtime) {layer.msg('开始时间必须小于等于结束时间');return false;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var url = $(this).attr('url');
|
|
|
|
|
var query = $('.jssearch').find('input').serialize();
|
|
|
|
|
console.log(url);
|
|
|
|
|
query += "&" + $('.jssearch').find('select').serialize();
|
|
|
|
|
console.log(query);
|
|
|
|
|
query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,'');
|
|
|
|
|
query = query.replace(/^&/g,'');
|
|
|
|
|
if( url.indexOf('?')>0 ){
|
|
|
|
@ -329,13 +332,18 @@
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function get_game_list()
|
|
|
|
|
/* function get_game_list()
|
|
|
|
|
{
|
|
|
|
|
var game_name = "{:I('game_name')}";
|
|
|
|
|
var partner_id = $("#partner_id option:selected").val();
|
|
|
|
|
var sdk_type = $("#sdk_version1 option:selected").val();
|
|
|
|
|
$.ajax({
|
|
|
|
|
url:"{:U('Finance/getGameList')}",
|
|
|
|
|
type:"post",
|
|
|
|
|
data:{partner_id:$("#partner_id option:selected").val(), sdk_type:$("#sdk_version1 option:selected").val()},
|
|
|
|
|
data:{
|
|
|
|
|
partner_id:partner_id,
|
|
|
|
|
sdk_type:sdk_type
|
|
|
|
|
},
|
|
|
|
|
dataType:'json',
|
|
|
|
|
success:function(data){
|
|
|
|
|
var str = "<option value=''>请选择游戏</option>";
|
|
|
|
@ -352,7 +360,7 @@
|
|
|
|
|
}
|
|
|
|
|
$("#partner_id, #sdk_type").change(function(){
|
|
|
|
|
get_game_list();
|
|
|
|
|
});
|
|
|
|
|
});*/
|
|
|
|
|
|
|
|
|
|
$('#time-start').datetimepicker({
|
|
|
|
|
format: 'yyyy-mm-dd',
|
|
|
|
@ -388,7 +396,7 @@
|
|
|
|
|
return false;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#partner_id").change();
|
|
|
|
|
/* $("#partner_id").change();
|
|
|
|
|
|
|
|
|
|
function get_partnet_list()
|
|
|
|
|
{
|
|
|
|
@ -416,6 +424,11 @@
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#game_name").change();
|
|
|
|
|
if ("{:I('get.game_name')}") {
|
|
|
|
|
$('#select2-game_name-container').text("{:I('get.game_name')}");
|
|
|
|
|
}*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
</block>
|
|
|
|
|