admin.php 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?php
  2. /* @var $this \yii\web\View */
  3. /* @var $content string */
  4. use backend\assets\AppAsset;
  5. use yii\helpers\Html;
  6. use yii\helpers\Url;
  7. //use yii\bootstrap\Nav;
  8. //use yii\bootstrap\NavBar;
  9. //use yii\widgets\Breadcrumbs;
  10. //use common\widgets\Alert;
  11. AppAsset::register($this);
  12. $this->title = '品房阁后台管理系统';
  13. ?>
  14. <?php $this->beginPage() ?>
  15. <!DOCTYPE html>
  16. <html lang="<?= Yii::$app->language ?>">
  17. <head>
  18. <meta charset="<?= Yii::$app->charset ?>">
  19. <meta name="renderer" content="webkit">
  20. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  21. <meta http-equiv="Access-Control-Allow-Origin" content="*">
  22. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  23. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  24. <meta name="apple-mobile-web-app-capable" content="yes">
  25. <meta name="format-detection" content="telephone=no">
  26. <?= Html::csrfMetaTags() ?>
  27. <title><?= Html::encode($this->title) ?></title>
  28. <?php $this->head() ?>
  29. </head>
  30. <body class="main_body">
  31. <?php $this->beginBody() ?>
  32. <div class="layui-layout layui-layout-admin">
  33. <!-- 顶部 -->
  34. <div class="layui-header header">
  35. <div class="layui-main mag0">
  36. <a href="#" class="logo">管理系统</a>
  37. <!-- 显示/隐藏菜单 -->
  38. <a href="javascript:;" class="seraph hideMenu icon-caidan"></a>
  39. <!-- 顶级菜单 -->
  40. <ul class="layui-nav topLevelMenus" pc>
  41. <li class="layui-nav-item layui-this" data-menu="routineManagement">
  42. <a href="javascript:;"><i class="layui-icon" data-icon="&#xe63c;">&#xe63c;</i><cite>常规管理</cite></a>
  43. </li>
  44. <li class="layui-nav-item" data-menu="pushManagement" pc>
  45. <a href="javascript:;"><i class="seraph icon-icon10" data-icon="icon-icon10"></i><cite>推送管理</cite></a>
  46. </li>
  47. <li class="layui-nav-item" data-menu="userManagement" pc>
  48. <a href="javascript:;"><i class="layui-icon" data-icon="&#xe620;">&#xe613;</i><cite>用户管理</cite></a>
  49. </li>
  50. <li class="layui-nav-item" data-menu="otherManagement" pc>
  51. <a href="javascript:;"><i class="layui-icon" data-icon="&#xe705;">&#xe622;</i><cite>其它管理</cite></a>
  52. </li>
  53. <li class="layui-nav-item" data-menu="categoryManagement" pc>
  54. <a href="javascript:;"><i class="layui-icon" data-icon="&#xe705;">&#xe705;</i><cite>类目管理</cite></a>
  55. </li>
  56. <li class="layui-nav-item" data-menu="systemeSttings" pc>
  57. <a href="javascript:;"><i class="layui-icon" data-icon="&#xe620;">&#xe614;</i><cite>系统设置</cite></a>
  58. </li>
  59. </ul>
  60. <!-- 顶部右侧菜单 -->
  61. <ul class="layui-nav top_menu" style="background-color:inherit !important; position:absolute; right:0;top:0;">
  62. <li class="layui-nav-item" pc>
  63. <a href="javascript:;" class="clearCache"><i class="layui-icon" data-icon="&#xe640;">&#xe640;</i><cite>清除缓存</cite><span class="layui-badge-dot"></span></a>
  64. </li>
  65. <li class="layui-nav-item" id="userInfo">
  66. <a href="javascript:;"><img src="images/face.jpg" class="layui-nav-img userAvatar" width="35" height="35"><cite class="adminName">用户1</cite></a>
  67. <dl class="layui-nav-child">
  68. <dd><a href="javascript:;" data-url="page/user/userInfo.html"><i class="seraph icon-ziliao" data-icon="icon-ziliao"></i><cite>个人资料</cite></a></dd>
  69. <dd><a href="javascript:;" data-url="page/user/changePwd.html"><i class="seraph icon-xiugai" data-icon="icon-xiugai"></i><cite>修改密码</cite></a></dd>
  70. <dd><a href="page/login/login.html" class="signOut"><i class="seraph icon-tuichu"></i><cite>退出</cite></a></dd>
  71. </dl>
  72. </li>
  73. </ul>
  74. </div>
  75. </div>
  76. <!-- 左侧导航 -->
  77. <div class="layui-side layui-bg-black">
  78. <!-- <div class="user-photo">
  79. <a class="img" title="我的头像" ><img src="images/face.jpg" class="userAvatar"></a>
  80. <p>你好!<span class="userName">用户1</span>, 欢迎登录</p>
  81. </div> -->
  82. <!-- 搜索 -->
  83. <div class="layui-form component">
  84. <select name="search" id="search" lay-search lay-filter="searchPage">
  85. <option value="">搜索页面或功能</option>
  86. <option value="1">layer</option>
  87. <option value="2">form</option>
  88. </select>
  89. <i class="layui-icon">&#xe615;</i>
  90. </div>
  91. <div class="navBar layui-side-scroll" id="navBar">
  92. <ul class="layui-nav layui-nav-tree">
  93. <li class="layui-nav-item layui-this">
  94. <a href="javascript:;" data-url="<?= Url::to('public/index')?>"><i class="layui-icon" data-icon=""></i><cite>后台首页</cite></a>
  95. </li>
  96. </ul>
  97. </div>
  98. </div>
  99. <!-- 右侧内容 -->
  100. <div class="layui-body layui-form">
  101. <div class="layui-tab mag0" lay-filter="bodyTab" id="top_tabs_box">
  102. <ul class="layui-tab-title top_tab" id="top_tabs">
  103. <li class="layui-this" lay-id=""><i class="layui-icon">&#xe68e;</i> <cite>后台首页</cite></li>
  104. </ul>
  105. <ul class="layui-nav closeBox" id="closeBox">
  106. <li class="layui-nav-item">
  107. <a href="javascript:;">
  108. <i class="layui-icon caozuo">&#xe643;</i> 页面操作</a>
  109. <dl class="layui-nav-child">
  110. <dd><a href="javascript:;" class="refresh refreshThis"><i class="layui-icon">&#x1002;</i> 刷新当前</a></dd>
  111. <dd><a href="javascript:;" class="closePageOther"><i class="seraph icon-prohibit"></i> 关闭其他</a></dd>
  112. <dd><a href="javascript:;" class="closePageAll"><i class="seraph icon-guanbi"></i> 关闭全部</a></dd>
  113. </dl>
  114. </li>
  115. </ul>
  116. <div class="layui-tab-content clildFrame">
  117. <div class="layui-tab-item layui-show">
  118. <iframe src="<?= Url::to('index/main')?>"></iframe>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. <!-- 底部 -->
  124. <div class="layui-footer footer">
  125. <p><span>copyright @2018 </span>  </p>
  126. </div>
  127. </div>
  128. <?php $this->endBody() ?>
  129. </body>
  130. </html>
  131. <?php $this->endPage() ?>