修改bug

master
ELF 5 years ago
parent 3c909b4a57
commit 0e782cb98c

@ -217,7 +217,6 @@ class HomeController extends Controller
if ($gameSource['create_time'] > strtotime(date('2019-11-27 00:00:00'))) { if ($gameSource['create_time'] > strtotime(date('2019-11-27 00:00:00'))) {
$isNewIos = true; $isNewIos = true;
} }
var_dump($isNewIos);
$this->assign('isNewIos', $isNewIos); $this->assign('isNewIos', $isNewIos);
$this->assign('downloadUrl', $downloadUrl); $this->assign('downloadUrl', $downloadUrl);
$this->assign('isIOS13', $isIOS13); $this->assign('isIOS13', $isIOS13);

@ -50,7 +50,7 @@
$('.bn-rule').css('z-index','12') $('.bn-rule').css('z-index','12')
return return
} }
if ($('input[name=isNewIos]').val() == 1 && $('input[name=isIOS13]').val() == 1) { if ($('input[name=isNewIos]').val() == 0 && $('input[name=isIOS13]').val() == 1) {
if (parseInt("{:I('get.status', 0)}") > 0) { if (parseInt("{:I('get.status', 0)}") > 0) {
location.href = "{:U('iosDown',array('gid'=>$apply['game_id'],'pid'=>$apply['promote_id'],'status'=>1))}" location.href = "{:U('iosDown',array('gid'=>$apply['game_id'],'pid'=>$apply['promote_id'],'status'=>1))}"
return return

Loading…
Cancel
Save