优化首页导航
This commit is contained in:
parent
61b7c660ce
commit
74b6a71694
@ -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();
|
||||
}
|
||||
|
||||
//更新消息条数
|
||||
|
||||
Loading…
Reference in New Issue
Block a user