index.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {include file='common/header' /}
  2. <link rel="stylesheet" href="/static/admin/css/common.css" media="all">
  3. <body class="layui-layout-body LM-all">
  4. <div class="layui-layout layui-layout-admin">
  5. <div class="layui-header header">
  6. <div class="layui-logo"><a href="">
  7. <img src="{:site_logo()}" alt="lemocms">
  8. <h1>{:site_name()}</h1>
  9. </a>
  10. </div>
  11. <a>
  12. <div class="LM-tool"><i title="展开" class="fa fa-outdent" data-side-fold="1"></i></div>
  13. </a>
  14. <!--pc 端-->
  15. <ul class="layui-nav layui-layout-left layui-header-menu layui-header-pc-menu mobile layui-hide-xs">
  16. </ul>
  17. <!--手机端-->
  18. <ul class="layui-nav layui-layout-left layui-header-menu mobile layui-hide-sm">
  19. <li class="layui-nav-item">
  20. <a href="javascript:;"><i class="fa fa-list-ul"></i> 选择模块</a>
  21. <dl class="layui-nav-child layui-header-mini-menu">
  22. </dl>
  23. </li>
  24. </ul>
  25. <ul class="layui-nav layui-layout-right">
  26. <li class="layui-nav-item">
  27. <a href="javascript:;" data-refresh="刷新"><i class="fa fa-refresh"></i></a>
  28. </li>
  29. <li class="layui-nav-item">
  30. <a href="javascript:;" data-clear="清理" data-href="{:url('cleardata')}" class="LM-clear"><i class="fa fa-trash-o"></i></a>
  31. </li>
  32. <li class="layui-nav-item LM-setting">
  33. <a href="javascript:;">{:session('admin.username')}</a>
  34. <dl class="layui-nav-child">
  35. <dd>
  36. <a href="javascript:;" data-iframe-tab="{:url('auth/adminEdit')}" data-title="基本资料" data-icon="fa fa-gears">基本资料</a>
  37. </dd>
  38. <dd>
  39. <a href="javascript:;" data-iframe-tab="{:url('password')}" data-title="修改密码" data-icon="fa fa-gears">修改密码</a>
  40. </dd>
  41. <dd>
  42. <a href="javascript:;" class="login-out">退出登录</a>
  43. </dd>
  44. </dl>
  45. </li>
  46. <li class="layui-nav-item LM-select-bgcolor mobile layui-hide-xs">
  47. <a href="javascript:;" data-bgcolor="配色方案"><i class="fa fa-ellipsis-v"></i></a>
  48. </li>
  49. </ul>
  50. </div>
  51. <div class="layui-side layui-bg-black">
  52. <div class="layui-side-scroll layui-left-menu">
  53. </div>
  54. </div>
  55. <div class="layui-body">
  56. <div class="layui-tab" lay-filter="LMTab" id="top_tabs_box">
  57. <ul class="layui-tab-title" id="top_tabs">
  58. <li class="layui-this" id="LMHomeTabId" lay-id=""></li>
  59. </ul>
  60. <!-- 关闭按钮-->
  61. <ul class="layui-nav closeBox">
  62. <li class="layui-nav-item">
  63. <a href="javascript:;"> <i class="fa fa-dot-circle-o"></i> 页面操作</a>
  64. <dl class="layui-nav-child">
  65. <dd><a href="javascript:;" data-page-close="other"><i class="fa fa-window-close"></i> 关闭其他</a></dd>
  66. <dd><a href="javascript:;" data-page-close="all"><i class="fa fa-window-close-o"></i> 关闭全部</a></dd>
  67. </dl>
  68. </li>
  69. </ul>
  70. <div class="layui-tab-content clildFrame">
  71. <!-- 加载iframe /-->
  72. <div id="LMHomeTabIframe" class="layui-tab-item layui-show"
  73. </div>
  74. </div>
  75. </div>
  76. <div class="layui-footer footer footer-demo" id="admin-footer">
  77. <div class="layui-main">
  78. <p><?php echo( date("Y",time())); ?> ©
  79. <a href="#">BTS</a> Apache Licence 2.0
  80. </p>
  81. </div>
  82. </div>
  83. </div>
  84. {include file='common/footer' /}
  85. <script>
  86. var menus ='{$menus|raw}';
  87. layui.config({
  88. base: "/static/admin/js/",
  89. version: true
  90. }).extend({
  91. LM: "LM"
  92. }).use(['element', 'layer', 'LM'], function () {
  93. var $ = layui.jquery,
  94. element = layui.element,
  95. layer = layui.layer;
  96. if(layui.cache.menus){
  97. menus = layui.cache.menus;
  98. }else{
  99. layui.cache.menus = menus;
  100. }
  101. // console.log("menus",menus)
  102. LM.init(menus);
  103. });
  104. </script>
  105. </body>