|
|
|
@ -273,6 +273,7 @@
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
<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}">
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
<script src="__STATIC__/ios9/js/layer/layer.js?VerNo=20190923" type="text/javascript"></script>
|
|
|
|
@ -299,13 +300,19 @@
|
|
|
|
|
|
|
|
|
|
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))}"
|
|
|
|
|
location.href = "{:U('iosDown',array('gid'=>$apply['game_id'],'pid'=>$apply['promote_id'],'status'=>1))}";
|
|
|
|
|
return
|
|
|
|
|
} else {
|
|
|
|
|
layer.confirm('请先到官网注册', {title: '提示'}, function () {
|
|
|
|
|
// location.href = '{:U("User/login",array("url"=>base64_encode(base64_encode(U("Game/detail",array("id"=>$_GET["id"], "pid" => $apply.promote_id, "gid" => $apply.game_id))))))}';
|
|
|
|
|
location.href = "/mobile.php?s=/User/login/pid/" + "{$apply.promote_id}" + "/gid/" + "{$apply.game_id}" + "/url/"+ cur_url + ".html"
|
|
|
|
|
});
|
|
|
|
|
var is_new_sdk = $('#is_new_sdk').val();
|
|
|
|
|
if (is_new_sdk) {
|
|
|
|
|
location.href = "{:U('iosDown',array('gid'=>$apply['game_id'],'pid'=>$apply['promote_id'],'status'=>1))}";
|
|
|
|
|
return
|
|
|
|
|
} else {
|
|
|
|
|
layer.confirm('请先到官网注册', {title: '提示'}, function () {
|
|
|
|
|
// location.href = '{:U("User/login",array("url"=>base64_encode(base64_encode(U("Game/detail",array("id"=>$_GET["id"], "pid" => $apply.promote_id, "gid" => $apply.game_id))))))}';
|
|
|
|
|
location.href = "/mobile.php?s=/User/login/pid/" + "{$apply.promote_id}" + "/gid/" + "{$apply.game_id}" + "/url/"+ cur_url + ".html"
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|