From 1a0b2dbaba2518d2250630c88008ec3b4ffca219 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Thu, 16 Apr 2020 09:50:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E5=B9=BF=E5=91=98=E6=B8=B8=E6=88=8F?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=9F=A5=E7=9C=8B=E5=85=A8=E9=80=89=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/Promote/lists.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Application/Admin/View/Promote/lists.html b/Application/Admin/View/Promote/lists.html index eb5d3837f..548bd4ab3 100644 --- a/Application/Admin/View/Promote/lists.html +++ b/Application/Admin/View/Promote/lists.html @@ -391,7 +391,7 @@
@@ -567,6 +567,10 @@ //获取游戏列表 var url = "{:U('Promote/getPromoteGame')}"; var id = $(this).attr('data-id'); + var checked = 'checked'; + + + $.post(url,{id:id},function(res){ if(res.code==1){ @@ -590,14 +594,19 @@ if(promote_info['game_ids'].indexOf(ele.id)>-1){ lis.push(''); }else{ + $(".jsgamecheckall").attr('checked',false); lis.push(''); + checked = ''; } } + lis.push(''); lis.push(''+ele.game_name+''); lis.push(''); }); + $(".jsgamecheckall").attr('checked',checked); + $("#game_list").html(lis.join('')); $(".pro_promot_number").text(res.data.promote_info.account); $("#se_promote_id").val(res.data.promote_info.id);