master
chenxiaojun 5 years ago
parent 49928f1caa
commit 49cd164950

@ -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,8 +107,8 @@
<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">
$('.down-link').on('click', function () {
if (is_weixin()) {
var un = navigator.userAgent;
var ruleImg = document.getElementById('rule-img');
if (is_android()) {
@ -133,20 +120,14 @@
$('.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 :?>
} else {
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();

Loading…
Cancel
Save