admin管理员组文章数量:1613769
.weixin-tip {
display: none;
position: fixed;
left: 0;
top: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
filter: alpha(opacity = 80);
height: 100%;
width: 100%;
z-index: 100;
}
.weixin-tip p {
text-align: center;
margin-top: 10%;
padding: 0 5%;
}
.img1{
width: 100%;
height: 100%;
filter:alpha(opacity=100);
-moz-opacity:0.4;
-khtml-opacity: 0.5;
opacity: 0.5;
}
<div class="weixin-tip">
<img src="/images/WeChatPay.png" class="img1"/>
</div>
<script>
$(window).on("load", function() {
var winHeight = $(window).height();
function is_weixin() {
var ua = navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == "micromessenger") {
return true;
} else {
return false;
}
}
var isWeixin = is_weixin();
if (isWeixin) {
$(".weixin-tip").css("height", winHeight);
$(".weixin-tip").show();
}
})
</script>
版权声明:本文标题:检测到正在使用微信浏览器,请在右上角系统浏览器中打开 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1728660106a1168570.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论