落地页更新

master
chenxiaojun 5 years ago
parent ba7511897a
commit 2facba94bc

@ -15,6 +15,7 @@
<!--<script type="text/javascript" src="/static/js/jquery-1.4.2.min.js"></script>-->
<link rel="stylesheet" href="__CSS__/20180207/promition.css">
<link rel="stylesheet" href="__CSS__/20180207/game.css">
<link href="__STATIC__/ios9/css/common.css" rel="stylesheet" type="text/css">
<style>
.weixin {
position: absolute;
@ -27,11 +28,37 @@
background-size: 100% 100%;
z-index: 99;
}
html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body, div {
margin: 0;
padding: 0;
}
.bn-rule {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: #333;
}
.bn-rule img {
margin-top: 21px;
width: 100%;
}
</style>
</head>
<body class="main_bg">
<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%;
@ -91,7 +118,23 @@
<div class="h_title_box ta_c p_t_15">
<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');

Loading…
Cancel
Save