From b0c2193f6823d2b1a1f18692a85f0463eee8ac02 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 27 Nov 2019 14:52:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/HomeController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index fb0632022..ce9b40bf2 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -217,7 +217,7 @@ 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); From 0e782cb98c842b764e48d4eed6022c80f7dde56c Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 27 Nov 2019 14:54:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/HomeController.class.php | 1 - Application/Home/View/default/Home/landingPage.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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