event-center.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>事件中心(隐患管理)</title>
  7. <link rel="shortcut icon" href="favicon.ico">
  8. <link rel="stylesheet" href="layui/css/layui.css">
  9. <link rel="stylesheet" href="css/common.css" />
  10. <link rel="stylesheet" href="css/per-manage.css" />
  11. <script src="js/flexible.js"></script>
  12. </head>
  13. <body style="background-image:url(images/big-bg.png)">
  14. <section class="mainbox ">
  15. <div class="tit-box flex">
  16. <h2 class="title flex2">事件中心
  17. </h2>
  18. <h2 class="title flex10">详细列表</h2>
  19. </div>
  20. <div class="content-box flex">
  21. <div class="column column1 flex2">
  22. <ul>
  23. <li class="selected"><a href="pages/event-center/eventDanger-manage.html" target="iframe">隐患管理</a></li>
  24. <li><a href="pages/event-center/eventWarning-manage.html" target="iframe">告警管理</a></li>
  25. <li><a href="pages/event-center/eventEvent-manage.html" target="iframe">事件管理</a></li>
  26. </ul>
  27. </div>
  28. <div class="column3 flex10">
  29. <iframe name="iframe" width="100%" height="100%" frameborder="0" src="pages/event-center/eventDanger-manage.html"></iframe>
  30. </div>
  31. </div>
  32. </section>
  33. <script src="js/jquery.js"></script>
  34. <script>
  35. $(function() {
  36. $('ul li').click(function() {
  37. $(this).siblings().each(function() {
  38. $(this).removeClass('selected');
  39. })
  40. //当前选中
  41. $(this).addClass('selected')
  42. })
  43. })
  44. </script>
  45. </body>
  46. </html>