diff --git a/erp_web/index.html b/erp_web/index.html index 34adc65e..7f6fa750 100644 --- a/erp_web/index.html +++ b/erp_web/index.html @@ -50,7 +50,11 @@
  • - + 阿里云促销中 + + diff --git a/erp_web/js/modules/sys/sysIndex.js b/erp_web/js/modules/sys/sysIndex.js index 90c91324..d04dce1c 100644 --- a/erp_web/js/modules/sys/sysIndex.js +++ b/erp_web/js/modules/sys/sysIndex.js @@ -418,8 +418,19 @@ $(function () { }); }) - - - - + //根据时间戳决定展示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); }); \ No newline at end of file