home.cmp.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php $data['manage/database.cookie']=Dever::load('manage/database.cookie') ?>
  2. <?php $data['manage/menu.link']=Dever::load('manage/menu.link') ?>
  3. <!DOCTYPE html>
  4. <!--power by dever--><html>
  5. <head>
  6. <?php require Dever::config("base")->data . 'compile/wonderful/manage/layadmin/inc/head.cmp.php' ?>
  7. </head>
  8. <body class="theme-<?php echo Dever::load("manage/auth.config#template") ?>" test="公告">
  9. <div id="LAY_app" class="<?php echo $data['manage/database.cookie']['wrapper'] ?>">
  10. <div class="layui-layout layui-layout-admin">
  11. <?php require Dever::config("base")->data . 'compile/wonderful/manage/layadmin/inc/nav.cmp.php' ?>
  12. <?php require Dever::config("base")->data . 'compile/wonderful/manage/layadmin/inc/menu.cmp.php' ?>
  13. <div class="layadmin-pagetabs" id="LAY_app_tabs">
  14. <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
  15. <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
  16. <div class="layui-icon layadmin-tabs-control layui-icon-down">
  17. <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
  18. <li class="layui-nav-item" lay-unselect>
  19. <a href="javascript:;"></a>
  20. <dl class="layui-nav-child layui-anim-fadein">
  21. <dd layadmin-event="closeThisTabs"><a href="javascript:;">关闭当前标签页</a></dd>
  22. <dd layadmin-event="closeOtherTabs"><a href="javascript:;">关闭其它标签页</a></dd>
  23. <dd layadmin-event="closeAllTabs"><a href="javascript:;">关闭全部标签页</a></dd>
  24. </dl>
  25. </li>
  26. </ul>
  27. </div>
  28. <div class="layui-tab" lay-unauto lay-allowclose="true" lay-filter="layadmin-layout-tabs">
  29. <ul class="layui-tab-title" id="LAY_app_tabsheader">
  30. <li lay-id="<?php echo $data['manage/menu.link']['console'] ?>" lay-attr="<?php echo $data['manage/menu.link']['console'] ?>" class="layui-this"><i class="layui-icon layui-icon-home"></i></li>
  31. </ul>
  32. </div>
  33. </div>
  34. <div class="layui-body" id="LAY_app_body">
  35. <div class="layadmin-tabsbody-item layui-show">
  36. <iframe src="<?php echo $data['manage/menu.link']['console'] ?>" frameborder="0" class="layadmin-iframe"></iframe>
  37. </div>
  38. </div>
  39. <div class="layadmin-body-shade" layadmin-event="shade"></div>
  40. </div>
  41. </div>
  42. <?php require Dever::config("base")->data . 'compile/wonderful/manage/layadmin/inc/script.cmp.php' ?>
  43. <script>
  44. layui.config({
  45. base: '<?php echo Dever::config("host")->script ?>lib/layui/admin/' //静态资源所在路径
  46. }).extend({
  47. index: 'lib/index' //主入口模块
  48. }).use('index');
  49. </script>
  50. </body>
  51. </html>