Commit 74b6a716 authored by 季圣华's avatar 季圣华
Browse files

优化首页导航

parent 61b7c660
...@@ -421,21 +421,8 @@ $(function () { ...@@ -421,21 +421,8 @@ $(function () {
//广告循环 //广告循环
var loginName = sessionStorage.getItem("loginName"); var loginName = sessionStorage.getItem("loginName");
if(loginName == "jsh") { if(loginName == "jsh") {
//根据时间戳决定展示aliyun还是tencent $(".tencent").show();
function autoChangeTip() { $(".aliyun").hide();
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);
} }
//更新消息条数 //更新消息条数
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment