|
|
|
@ -214,8 +214,15 @@
|
|
|
|
|
<div class="text"> 购买至尊下载,赠送限量至尊超级礼包(价值100元)</div>
|
|
|
|
|
<div class="text">• 至尊下载:永不闪退、不丢数据稳定有保障</div>
|
|
|
|
|
<div class="text"> • 同一设备安装一次可在一年内无限次下载重装</div>
|
|
|
|
|
|
|
|
|
|
<?php if ($game['dow_status'] ==1):?>
|
|
|
|
|
<div class="blue-btn" onclick="location.href='mobile.php/Ssg/pay/game_id/{$game[\'id\']}/promote_id/{$promoteId}'">¥10至尊下载</div>
|
|
|
|
|
<div class="gray-btn down-link" down-link="{$downloadUrl}">普通下载</div>
|
|
|
|
|
<?php else:?>
|
|
|
|
|
<div class="blue-btn" onclick="layer.msg('该游戏已关闭下载');">¥10至尊下载</div>
|
|
|
|
|
<div class="gray-btn down-link" onclick="layer.msg('该游戏已关闭下载');return false;" down-link="{$downloadUrl}">普通下载</div>
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -277,6 +284,7 @@
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
<input type="hidden" id="dow_status" name="dow_status" value="{$game['dow_status']}">
|
|
|
|
|
<input type="hidden" id="cur_url" name="cur_url" value="{$cur_url}">
|
|
|
|
|
<input type="hidden" id="is_new_sdk" name="is_new_sdk" value="{$is_new_sdk}">
|
|
|
|
|
<div class="safari" style="display: none">
|
|
|
|
@ -296,11 +304,13 @@
|
|
|
|
|
</html>
|
|
|
|
|
<script src="__STATIC__/ios9/js/layer/layer.js?VerNo=20190923" type="text/javascript"></script>
|
|
|
|
|
<script>
|
|
|
|
|
<?php if (!empty($game['flooring_page_video'])):?>
|
|
|
|
|
var video = document.getElementById("shakeVideo");
|
|
|
|
|
video.play();
|
|
|
|
|
document.addEventListener('WeixinJSBridgeReady',function(){
|
|
|
|
|
video.play();
|
|
|
|
|
},false);
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
|
|
|
|
|
function is_tip_safari() {
|
|
|
|
|
var isTipSafari = false;
|
|
|
|
@ -357,6 +367,11 @@
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
$('.down-link').on('click', function () {
|
|
|
|
|
var dow_status = parseInt($('#dow_status').val());
|
|
|
|
|
if (dow_status == 0) {
|
|
|
|
|
layer.msg('该游戏已关闭下载');
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
var isTipSafari = is_tip_safari();
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$('.safari').show();
|
|
|
|
@ -443,6 +458,7 @@
|
|
|
|
|
document.body.style.overflow = 'hidden';
|
|
|
|
|
});
|
|
|
|
|
$(".window").click(function(){
|
|
|
|
|
var dow_status = parseInt($('#dow_status').val());
|
|
|
|
|
var isTipSafari = is_tip_safari();
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$('.safari').show();
|
|
|
|
@ -452,6 +468,12 @@
|
|
|
|
|
document.body.style.overflow = 'auto';
|
|
|
|
|
});
|
|
|
|
|
$(".gray-btn").click(function(){
|
|
|
|
|
var dow_status = parseInt($('#dow_status').val());
|
|
|
|
|
if (dow_status == 0) {
|
|
|
|
|
layer.msg('该游戏已关闭下载');
|
|
|
|
|
$(".window").hide();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
var isTipSafari = is_tip_safari();
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|
$('.safari').show();
|
|
|
|
@ -462,7 +484,7 @@
|
|
|
|
|
// swiperGet();
|
|
|
|
|
document.body.style.overflow = 'hidden';
|
|
|
|
|
$(".window").hide();
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
$(".second").click(function(){
|
|
|
|
|
var isTipSafari = is_tip_safari();
|
|
|
|
|
if (isTipSafari) {
|
|
|
|
|