<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=10.0,user-scalable=1"><!--样式-->
<script src="http://libs.baidu.com/jquery/1.8.3/jquery.min.js?Z62" type="text/javascript"></script><!--关闭用-->

    <!-- UC强制全屏 -->
    <meta name="full-screen" content="yes">
    <!-- QQ强制全屏 -->
    <meta name="x5-fullscreen" content="true">


<style>
.maskbox{width:100%;height:100%;background:rgba(0,0,0,0.7);display: none;position: absolute;z-index:1000;top:0;left:0;}
.qdbox{display:none;padding:15px 0;width:90%;border:3px solid #58bc8d;border-radius:10px;background:#fff;position:fixed;z-index:1001;top:30%;left:5%;margin-top:-113px;}
.qdbox .text-green{color:#58bc8d;}
.btn-lottery{width:120px;text-align:center;color:#fff;background:#58bc8d;font-size:16px;}
.text-center{text-align: center}
</style>
<div id="mask" style="display:none;"></div>
<div class="maskbox" style="display: block;"></div>
<div class="qdbox" style="display: block;">
<div class="text-center text-green font18" id="show_title" style="text-align: center"><strong>惊喜派送</strong></div>
<div class="text-center ptb15" id="show_pic" style="width: 100%;text-align: center;"><img src="http://i.um8.net/i/ff/weixin.jpg" style="width: 80%; display: inline; visibility: visible;" zsrc="/images/01.jpg"></div>
<div class="pt10" id="show_message" style="padding-left: 5px;text-align: center">
<p>关注“我爱影院”微信公众号<br>即可免费收看VIP电影~~</p>
</div>
<div class="text-center"><button class="btn btn-lottery" onclick="hideDiage()">确定</button></div>
</div>


<script>
var uid = '0';
var isShow = false;
function loadXMLDoc() {
if (uid == '' || uid == '0' || isShow) {
return;
}
var xmlhttp;
if (window.XMLHttpRequest) {
xmlhttp = new XMLHttpRequest();
}
else {// code for IE6, IE5
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange = function () {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
var result = xmlhttp.responseText;
result = eval("(" + result + ")");
}
};

xmlhttp.open("GET", "/plugin.php?id=ydss_robot:user_jifen", true);
xmlhttp.send();
}
function closeJinfen(){
document.getElementById("fwin_dsu_paulsign").style.display='none';
}
function showActivity(){
var xmlhttp;
if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp = new XMLHttpRequest();
}
else {// code for IE6, IE5
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange = function () {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
var result = xmlhttp.responseText;
result = eval("(" + result + ")");
if (result.state == "show") {
showDiage();
isShow =true;
}

loadXMLDoc();
}
};

xmlhttp.open("GET", "/plugin.php?id=ydss_robot:user_jifen"+"&"+"action=showActivity"+"&"+"t"+Math.random(), true);
xmlhttp.send();
}

showActivity();

function showDiage(){
$(".maskbox").fadeIn();
$(".qdbox").fadeIn();

}

function hideDiage(){
$(".maskbox").fadeOut();
$(".qdbox").fadeOut();
}
</script>


效果如图
Screenshot_2017-12-30-12-09-30-957_com.android.browser.png

欢迎留言