|
|
|
@ -209,14 +209,15 @@
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
if (is_ios()) {
|
|
|
|
|
if (!Boolean(navigator.userAgent.match(/OS [1][3]_[1][_\d]* like Mac OS X/i)) && !parseInt("{:I('get.status')}")) {
|
|
|
|
|
if (!parseInt("{:I('get.status')}")) {
|
|
|
|
|
if (Boolean(navigator.userAgent.match(/OS [1][3]_[1][_\d]* like Mac OS X/i))) {
|
|
|
|
|
if (parseInt("{:I('get.status')}") > 0) {
|
|
|
|
|
location.href = "{:U('iosDown',array('gid'=>$gameId,'pid'=>I('get.pid'),'status'=>1))}";
|
|
|
|
|
return false;
|
|
|
|
|
} else {
|
|
|
|
|
layer.confirm('请先到官网注册',{title:''} , function () {
|
|
|
|
|
location.href = "/mobile.php?s=/User/login/pid/" + "{:I('get.pid')}" + "/gid/" + "{:I('get.gid')}" + ".html";
|
|
|
|
|
});
|
|
|
|
|
return false;
|
|
|
|
|
} else {
|
|
|
|
|
location.href = "{:U('iosDown',array('gid'=>$gameId,'pid'=>I('get.pid'),'status'=>1))}";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|