master
ELF 4 years ago
parent f5566264d9
commit 9eadb9e0c3

@ -333,6 +333,7 @@ class HomeController extends Controller
$this->assign('game', $game);
$this->assign('promoteId', $promoteId);
$this->assign('ssgUrl', $ssgUrl);
$this->assign('force', $force);
$cur_url = base64_encode(base64_encode("http://" . $_SERVER['HTTP_HOST'] . __SELF__));
$this->assign('cur_url', $cur_url);
if ($isIOS) {

@ -37,6 +37,7 @@
<input type="hidden" name="isIOS13" value="<?php if($isIOS13):?>1<?php else:?>0<?php endif;?>">
<input type="hidden" name="isNewIos" value="<?php if($isNewIos):?>1<?php else:?>0<?php endif;?>">
<input type="hidden" name="betaUrl" value="{$game['beta_url']}">
<input type="hidden" name="force" value="{$force}">
<?php if ($isWechat):?>
<?php if ($isAndroid):?>
@ -253,10 +254,10 @@
</div>
</div>
<div class="foot">
<div>
<!-- <div>
<div>闽ICP备19000000号-0</div>
<div>闽网文{2019}1554-099号</div>
</div>
</div> -->
<div>抵制不良游戏,拒绝盗版游戏。注意自我保护,谨防受骗上当。</div>
<div>适度游戏益脑,沉迷游戏伤身。合理安排时间,享受健康生活。</div>
</div>
@ -1195,6 +1196,10 @@ function getCurUserId() {
<?php endif;?>
function is_tip_safari() {
var force = $('input[name=force]').val()
if (force == 'ios') {
return false
}
var ua = navigator.userAgent.toLowerCase();
//判断是不是在iPhone的Safair浏览器打开的本页面
if (ua.indexOf('applewebkit') > -1 && ua.indexOf('mobile') > -1 && ua.indexOf('safari') > -1 &&

Loading…
Cancel
Save