优化首页导航

This commit is contained in:
季圣华 2020-05-27 00:03:01 +08:00
parent 61b7c660ce
commit 74b6a71694

View File

@ -421,21 +421,8 @@ $(function () {
//广告循环
var loginName = sessionStorage.getItem("loginName");
if(loginName == "jsh") {
//根据时间戳决定展示aliyun还是tencent
function autoChangeTip() {
var timestamp=new Date().getTime();
var checkShow = timestamp%2;
if(checkShow) {
$(".aliyun").show();
$(".tencent").hide();
} else {
$(".aliyun").hide();
$(".tencent").show();
}
}
setInterval(function () {
autoChangeTip();
}, 10 * 1000);
$(".tencent").show();
$(".aliyun").hide();
}
//更新消息条数