From 182a241f4ebc40ef450acb237f9ac44548a9da67 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 25 Dec 2019 13:54:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=90=BD=E5=9C=B0=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Controller/HomeController.class.php | 5 ++++- .../Home/View/default/Home/landingPage.html | 14 ++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index 8d79381f1..b079ee597 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -223,6 +223,9 @@ class HomeController extends Controller if ($gameSource['is_new_sdk'] == 1) { $isNewIos = true; } + + // 调试 + $isIOS = true; $downloadUrl = ''; if (!$isNewIos && $isIOS13) { @@ -243,7 +246,7 @@ class HomeController extends Controller $this->assign('promoteId', $promoteId); $cur_url = base64_encode(base64_encode("http://" . $_SERVER['HTTP_HOST'] . __SELF__)); $this->assign('cur_url', $cur_url); - if ($this->get_device_type() == 'ios') { + if ($isIOS) { $this->display('landingPage'); } else { $this->display('landingPage2'); diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index 5fadd7f97..8030e659d 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -269,20 +269,26 @@ +