home.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <script class="include" system="" path="inc/" file="head">include()</script>
  5. </head>
  6. <body class="layui-layout-body fixed-left theme-1">
  7. <div id="LAY_app">
  8. <div class="layui-layout layui-layout-admin">
  9. <script class="include" system="" path="inc/" file="nav">include()</script>
  10. <script class="include" system="" path="inc/" file="menu">include()</script>
  11. <!-- 页面标签 -->
  12. <div class="layadmin-pagetabs" id="LAY_app_tabs">
  13. <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
  14. <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
  15. <div class="layui-icon layadmin-tabs-control layui-icon-down">
  16. <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
  17. <li class="layui-nav-item" lay-unselect>
  18. <a href="javascript:;"></a>
  19. <dl class="layui-nav-child layui-anim-fadein">
  20. <dd layadmin-event="closeThisTabs"><a href="javascript:;">关闭当前标签页</a></dd>
  21. <dd layadmin-event="closeOtherTabs"><a href="javascript:;">关闭其它标签页</a></dd>
  22. <dd layadmin-event="closeAllTabs"><a href="javascript:;">关闭全部标签页</a></dd>
  23. </dl>
  24. </li>
  25. </ul>
  26. </div>
  27. <div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="layadmin-layout-tabs">
  28. <ul class="layui-tab-title" id="LAY_app_tabsheader">
  29. <li lay-id="home/console.html" lay-attr="home/console.html" class="layui-this"><i class="layui-icon layui-icon-home"></i></li>
  30. </ul>
  31. </div>
  32. </div>
  33. <!-- 主体内容 -->
  34. <div class="layui-body" id="LAY_app_body">
  35. <div class="layadmin-tabsbody-item layui-show">
  36. <iframe src="home/console.html" frameborder="0" class="layadmin-iframe"></iframe>
  37. </div>
  38. </div>
  39. <!-- 辅助元素,一般用于移动设备下遮罩 -->
  40. <div class="layadmin-body-shade" layadmin-event="shade"></div>
  41. </div>
  42. </div>
  43. <script class="include" system="" path="inc/" file="script">include()</script>
  44. <script>
  45. layui.config({
  46. base: '../script/lib/layui/admin/' //静态资源所在路径
  47. }).extend({
  48. index: 'lib/index' //主入口模块
  49. }).use('index');
  50. </script>
  51. </body>
  52. </html>