|
|
|
@ -59,19 +59,6 @@
|
|
|
|
|
|
|
|
|
|
<div class="bn-rule" style="display: none;"><img id="rule-img" src=""></div>
|
|
|
|
|
|
|
|
|
|
<div class="lay" style="
|
|
|
|
|
background: rgba(0,0,0,.4);
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
z-index: 9;
|
|
|
|
|
display: none;
|
|
|
|
|
"></div>
|
|
|
|
|
<div style=" display:none;"><img src=""></div>
|
|
|
|
|
<div style=" display:none;"></div>
|
|
|
|
|
<div class="weixin" style="display: none;"></div>
|
|
|
|
|
|
|
|
|
|
<div class="h_wrap">
|
|
|
|
|
<notempty name="data[0]['flooring_page_imgs']">
|
|
|
|
|
<div id="data-1" style="display: none;">
|
|
|
|
@ -120,33 +107,27 @@
|
|
|
|
|
<script src="__STATIC__/layer/layer.js"></script>
|
|
|
|
|
<script src="__STATIC__/ios9/js/layer/layer.js?VerNo=20190923" type="text/javascript"></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
if (is_weixin()) {
|
|
|
|
|
var un = navigator.userAgent;
|
|
|
|
|
var ruleImg = document.getElementById('rule-img');
|
|
|
|
|
|
|
|
|
|
if (is_android()) {
|
|
|
|
|
$('.bn-rule').css('display','block');
|
|
|
|
|
$('.bn-rule').css('z-index','12');
|
|
|
|
|
ruleImg.src = "__STATIC__/ios9/images/android-rule.png";
|
|
|
|
|
} else if (is_ios()) {
|
|
|
|
|
$('.bn-rule').css('display','block');
|
|
|
|
|
$('.bn-rule').css('z-index','12');
|
|
|
|
|
ruleImg.src = "__STATIC__/ios9/images/ios-rule.png";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$('.down-link').on('click', function () {
|
|
|
|
|
<?php if (is_weixin()) :?>
|
|
|
|
|
$('.lay').css('display','unset');
|
|
|
|
|
$('.weixin').css('display','unset');
|
|
|
|
|
<?php else :?>
|
|
|
|
|
if (is_ios()) {
|
|
|
|
|
location.href = "{:U('iosDown',array('gid'=>$gameId,'pid'=>I('get.pid')))}";
|
|
|
|
|
if (is_weixin()) {
|
|
|
|
|
var ruleImg = document.getElementById('rule-img');
|
|
|
|
|
|
|
|
|
|
if (is_android()) {
|
|
|
|
|
$('.bn-rule').css('display','block');
|
|
|
|
|
$('.bn-rule').css('z-index','12');
|
|
|
|
|
ruleImg.src = "__STATIC__/ios9/images/android-rule.png";
|
|
|
|
|
} else if (is_ios()) {
|
|
|
|
|
$('.bn-rule').css('display','block');
|
|
|
|
|
$('.bn-rule').css('z-index','12');
|
|
|
|
|
ruleImg.src = "__STATIC__/ios9/images/ios-rule.png";
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
var downLink = $(this).attr('down-link');
|
|
|
|
|
location.href = downLink;
|
|
|
|
|
if (is_ios()) {
|
|
|
|
|
location.href = "{:U('iosDown',array('gid'=>$gameId,'pid'=>I('get.pid')))}";
|
|
|
|
|
} else {
|
|
|
|
|
var downLink = $(this).attr('down-link');
|
|
|
|
|
location.href = downLink;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
<?php endif ;?>
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var dataIndex = getVs();
|
|
|
|
|