自管理员的消息', skin: 'layui-layer-rim', //加上边框 area: ['420px', '240px'], //宽高 content: '

'+result.msg+'

', btn: ['朕已阅'], yes: function(index, layero){ layer.close(index); qingkong_tongzhi() }, cancel: function(index, layero){ layer.close(index); qingkong_tongzhi() } }); }else{ var degndai2 = setTimeout(function(){ clearTimeout(degndai2); get_tongzhi(); }, 30000); } }, 'json').error(function(){}); } //阅读后清空通知 function qingkong_tongzhi(){ layui.$.post("/user/clear_message.html",{sign:'qingkong'},function(result){ if(result.success){ var dengdai4 = setTimeout(function(){ clearTimeout(dengdai4); get_tongzhi(); }, 30000); }else{ var dengdai3 = setTimeout(function(){ clearTimeout(dengdai3); layui.$.post("/user/clear_message.html",{sign:'qingkong'},function(result){ if(result.success){ var dengdai5 = setTimeout(function(){ clearTimeout(dengdai5); get_tongzhi(); }, 30000); } }); }, 5000); } }, 'json').error(function(){}); }

在线咨询

联系在线客服咨询

QQ咨询

客服QQ:800125889

微信咨询

回到顶部