|
|
|
@ -92,7 +92,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-list input-list-game search_label_rehab">
|
|
|
|
|
<select id="game_name" name="game_name" class="select_gallery" >
|
|
|
|
|
<option value="">游戏名称</option>
|
|
|
|
|
<option value="">请选择游戏</option>
|
|
|
|
|
<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>
|
|
|
|
@ -276,7 +276,7 @@
|
|
|
|
|
shadeClose: true,
|
|
|
|
|
shade: 0.8,
|
|
|
|
|
area: ['70%', '80%'],
|
|
|
|
|
content: [url, 'no']
|
|
|
|
|
content: url
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
@ -318,21 +318,8 @@
|
|
|
|
|
$("#search").click();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
$(".ljcz").click(function(){
|
|
|
|
|
var id = $(this).attr('data-value');
|
|
|
|
|
var game_name = "{:I('game_name')}";
|
|
|
|
|
var server_name = "{:I('server_id')}";
|
|
|
|
|
layer.open({
|
|
|
|
|
type: 2,
|
|
|
|
|
title: '游戏消费记录',
|
|
|
|
|
shadeClose: true,
|
|
|
|
|
shade: 0.8,
|
|
|
|
|
area: ['70%', '80%'],
|
|
|
|
|
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
/* function get_game_list()
|
|
|
|
|
function get_game_list()
|
|
|
|
|
{
|
|
|
|
|
var game_name = "{:I('game_name')}";
|
|
|
|
|
var partner_id = $("#partner_id option:selected").val();
|
|
|
|
@ -353,14 +340,18 @@
|
|
|
|
|
// console.log(str);
|
|
|
|
|
$("#game_name").empty();
|
|
|
|
|
$("#game_name").append(str);
|
|
|
|
|
// $("#server_id").select2();
|
|
|
|
|
$("#game_name").select2();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
$("#partner_id, #sdk_type").change(function(){
|
|
|
|
|
get_game_list();
|
|
|
|
|
});*/
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#game_name, #sdk_type").change(function(){
|
|
|
|
|
get_partnet_list();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#time-start').datetimepicker({
|
|
|
|
|
format: 'yyyy-mm-dd',
|
|
|
|
@ -396,11 +387,9 @@
|
|
|
|
|
return false;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
/* $("#partner_id").change();
|
|
|
|
|
|
|
|
|
|
function get_partnet_list()
|
|
|
|
|
{
|
|
|
|
|
var partner_id = "{:I('partner_id')}";
|
|
|
|
|
var partner_id = $('#partner_id').val();
|
|
|
|
|
$.ajax({
|
|
|
|
|
url:"{:U('Finance/getPartnetList')}",
|
|
|
|
|
type:"post",
|
|
|
|
@ -414,7 +403,7 @@
|
|
|
|
|
// console.log(str);
|
|
|
|
|
$("#partner_id").empty();
|
|
|
|
|
$("#partner_id").append(str);
|
|
|
|
|
// $("#server_id").select2();
|
|
|
|
|
$("#partner_id").select2();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
@ -423,11 +412,6 @@
|
|
|
|
|
get_partnet_list();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#game_name").change();
|
|
|
|
|
if ("{:I('get.game_name')}") {
|
|
|
|
|
$('#select2-game_name-container').text("{:I('get.game_name')}");
|
|
|
|
|
}*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|