1.引入jquery文件:

jquery-3.3.1.js
jquery.cookie.js---------自行下载
 
2.js代码:
  if ($.cookie('showflag') != "exist") {
    $.cookie('showflag', 'exist', { expires: 1 });
    alert("服务器于2019年12月31日04点至2019年12月31日10点维护。在此期间的操作无效!如果给您带来不便,敬请谅解!");
  }

 

相关文章:

  • 2021-10-08
  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2021-08-05
  • 2022-03-05
  • 2022-12-23
猜你喜欢
  • 2021-12-20
  • 2021-09-01
  • 2022-12-23
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案