device-manage.html 2.0 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/device-manage/deviceType.html" target="iframe">设备类型</a></li>
  24. <li><a href="pages/device-manage/deviceList.html" target="iframe">设备列表</a></li>
  25. <li><a href="pages/device-manage/deviceCommunicate.html" target="iframe">通信接口</a></li>
  26. <li><a href="pages/device-manage/deviceCheck.html" target="iframe">监测点位</a></li>
  27. <li><a href="pages/device-manage/deviceCheck-channel.html" target="iframe">监测通道</a></li>
  28. </ul>
  29. </div>
  30. <div class="column3 flex10">
  31. <iframe name="iframe" width="100%" height="100%" frameborder="0" src="pages/device-manage/deviceType.html"></iframe>
  32. </div>
  33. </div>
  34. </section>
  35. <script src="js/jquery.js"></script>
  36. <script>
  37. $(function() {
  38. $('ul li').click(function() {
  39. $(this).siblings().each(function() {
  40. $(this).removeClass('selected');
  41. })
  42. //当前选中
  43. $(this).addClass('selected')
  44. })
  45. })
  46. </script>
  47. </body>
  48. </html>