123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Administrator
- * Date: 2018/2/27/027
- * Time: 18:16
- */
- use yii\helpers\Url;
- use backend\assets\AppAsset;
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/static/js/index.js");
- ?>
- <div class="layui-layout layui-layout-admin">
- <!-- 顶部 -->
- <div class="layui-header header">
- <div class="layui-main mag0">
- <a href="#" class="logo">易购房</a>
- <!-- 显示/隐藏菜单 -->
- <a href="javascript:;" class="seraph hideMenu icon-caidan"></a>
- <!-- 顶级菜单 移动-->
- <ul class="layui-nav mobileTopLevelMenus" mobile>
- <li class="layui-nav-item" data-menu="contentManagement">
- <a href="javascript:;"><i class="seraph icon-caidan"></i><cite>菜单栏</cite></a>
- <dl class="layui-nav-child">
- <?php foreach ($model as $key=>$val){?>
- <dd class="<?php if($key == 0) echo 'layui-this'?>" data-menu="<?= $val['id']?>"><a href="javascript:;"><i class="layui-icon" data-icon=""></i><cite><?= $val['name']?></cite></a></dd>
- <?php } ?>
-
- </dl>
- </li>
- </ul>
-
- <!-- 顶级菜单 -->
- <ul class="layui-nav topLevelMenus" pc>
- <?php foreach ($model as $key=>$val){?>
- <li class="layui-nav-item <?php if($key == 0) echo 'layui-this'?>" data-menu="<?= $val['id']?>" >
- <a href="javascript:;"><i class="layui-icon" data-icon=""></i><cite><?= $val['name']?></cite></a>
- </li>
- <?php }?>
- </ul>
- <!-- 顶部右侧菜单 -->
- <ul class="layui-nav top_menu" style="background-color:inherit !important; position:absolute; right:0;top:0;">
- <!-- <li class="layui-nav-item" pc>-->
- <!-- <a href="javascript:;" class="clearCache"><i class="layui-icon" data-icon=""></i><cite>清除缓存</cite><span class="layui-badge-dot"></span></a>-->
- <!-- </li>-->
- <li class="layui-nav-item" id="userInfo">
- <a href="javascript:;">
- <!-- <img src="images/face.jpg" class="layui-nav-img userAvatar" width="35" height="35">-->
- <cite class="adminName"><?php echo Yii::$app->session['user_info']['user']?></cite></a>
- <dl class="layui-nav-child">
- <!-- <dd><a href="javascript:;" data-url="page/user/userInfo.html"><i class="seraph icon-ziliao" data-icon="icon-ziliao"></i><cite>个人资料</cite></a></dd>-->
- <dd><a href="javascript:;" data-url="/user/pwdsave"><i class="seraph icon-xiugai" data-icon="icon-xiugai"></i><cite>修改密码</cite></a></dd>
- <dd><a href="/public/logout" class="signOut"><i class="seraph icon-tuichu"></i><cite>退出</cite></a></dd>
- </dl>
- </li>
- </ul>
- </div>
- </div>
- <!-- 左侧导航 -->
- <div class="layui-side layui-bg-black">
- <!-- <div class="user-photo">
- <a class="img" title="我的头像" ><img src="images/face.jpg" class="userAvatar"></a>
- <p>你好!<span class="userName">用户1</span>, 欢迎登录</p>
- </div> -->
- <!-- 搜索 -->
- <!-- <div class="layui-form component">
- <select name="search" id="search" lay-search lay-filter="searchPage">
- <option value="">搜索页面或功能</option>
- <option value="1">layer</option>
- <option value="2">form</option>
- </select>
- <i class="layui-icon"></i>
- </div> -->
- <div class="navBar layui-side-scroll" id="navBar">
- <ul class="layui-nav layui-nav-tree">
- <li class="layui-nav-item layui-this">
- <a href="javascript:;" data-url="<?= Url::to('index/main')?>"><i class="layui-icon" data-icon=""></i><cite>后台首页</cite></a>
- </li>
- </ul>
- </div>
- </div>
- <!-- 右侧内容 -->
- <div class="layui-body layui-form">
- <div class="layui-tab mag0" lay-filter="bodyTab" id="top_tabs_box">
- <ul class="layui-tab-title top_tab" id="top_tabs">
- <li class="layui-this" lay-id=""><i class="layui-icon"></i> <cite>后台首页</cite></li>
- </ul>
- <ul class="layui-nav closeBox" id="closeBox">
- <li class="layui-nav-item">
- <a href="javascript:;">
- <i class="layui-icon caozuo"></i> 页面操作</a>
- <dl class="layui-nav-child">
- <dd><a href="javascript:;" class="refresh refreshThis"><i class="layui-icon">ဂ</i> 刷新当前</a></dd>
- <dd><a href="javascript:;" class="closePageOther"><i class="seraph icon-prohibit"></i> 关闭其他</a></dd>
- <dd><a href="javascript:;" class="closePageAll"><i class="seraph icon-guanbi"></i> 关闭全部</a></dd>
- </dl>
- </li>
- </ul>
- <div class="layui-tab-content clildFrame">
- <div class="layui-tab-item layui-show">
- <iframe src="<?= Url::to('/index/main')?>"></iframe>
- </div>
- </div>
- </div>
- </div>
- <!-- 底部 -->
- <div class="layui-footer footer">
- <p><span>海南品房阁 @2018 </span> </p>
- </div>
- </div>
- <!-- 移动导航 -->
- <div class="site-tree-mobile"><i class="layui-icon"></i></div>
- <div class="site-mobile-shade"></div>
|