master
tping 4 years ago
parent d8924dc8be
commit 033cd00aee

@ -41,8 +41,21 @@
display: block; display: block;
clear:both; clear:both;
} }
.modal{
background: black;
position:fixed;
left:0;
top:0;
right:0;
bottom:0;
opacity: 0.4;
display: none;
}
</style> </style>
<div class="modal" style="display: none;z-index: 9999;">1</div>
<div class="cf main-place top_nav_list navtab_list"> <div class="cf main-place top_nav_list navtab_list">
<div class="fr"> <div class="fr">
<a class="tabchose" href="{:U('lists')}">生效列表</a> <a class="tabchose" href="{:U('lists')}">生效列表</a>
@ -434,7 +447,7 @@
</div> </div>
<div class="batch_page" style="display:none"> <div class="batch_page" style="display:none">
<div class="pro_promot_main" style="width:520px; left: 20%; top: 220px;"> <div class="pro_promot_main" style="z-index: 9999;width:520px; left: 20%; top: 220px;">
<div class="pro_promot_title"> <div class="pro_promot_title">
<div class="fl pro_promot_title_text"> <div class="fl pro_promot_title_text">
<div class="fl pro_promot_title_bigtext"> 批量上下架游戏</div> </div> <div class="fl pro_promot_title_bigtext"> 批量上下架游戏</div> </div>
@ -643,6 +656,7 @@
//打开弹窗 //打开弹窗
$(".batch").click(function(){ $(".batch").click(function(){
$(".batch_page").css("display","block"); $(".batch_page").css("display","block");
$(".modal").show();
}); });
//保存修改 //保存修改
@ -658,7 +672,6 @@
//保存修改 //保存修改
$(".batch_btn_confirm").click(function(){ $(".batch_btn_confirm").click(function(){
batch_company_type
$.ajax({ $.ajax({
url: "{:U('displayOnShelves')}", url: "{:U('displayOnShelves')}",
method: 'POST', method: 'POST',
@ -671,10 +684,12 @@
error: function () { error: function () {
alert("服务器繁忙,稍后再试"); alert("服务器繁忙,稍后再试");
$(".batch_page").hide(); $(".batch_page").hide();
$(".modal").hide();
}, },
success: function (data) { success: function (data) {
alert(data.msg); alert(data.msg);
$(".batch_page").hide(); $(".batch_page").hide();
$(".modal").hide();
} }
}); });
@ -689,6 +704,7 @@
//关闭弹窗 //关闭弹窗
$(".batch_close,.batch_btn_cancel").click(function(){ $(".batch_close,.batch_btn_cancel").click(function(){
$(".batch_page").css("display","none"); $(".batch_page").css("display","none");
$(".modal").hide();
}); });
//关闭弹窗 //关闭弹窗

Loading…
Cancel
Save