diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index ce9b40bf2..2944e711a 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -217,7 +217,6 @@ class HomeController extends Controller if ($gameSource['create_time'] > strtotime(date('2019-11-27 00:00:00'))) { $isNewIos = true; } - var_dump($isNewIos); $this->assign('isNewIos', $isNewIos); $this->assign('downloadUrl', $downloadUrl); $this->assign('isIOS13', $isIOS13); diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index 1959107db..2a31f76fb 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -50,7 +50,7 @@ $('.bn-rule').css('z-index','12') 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) { location.href = "{:U('iosDown',array('gid'=>$apply['game_id'],'pid'=>$apply['promote_id'],'status'=>1))}" return