鼠笼管理系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

123 lines
5.4 KiB

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>安徽衍杯教育微网管理后台</title>
<link rel="stylesheet" href="/layui/css/layui.css?v=<?=date('Ymd',time())?>">
</head>
<style>
html,body{
height:100%;
}
</style>
<body>
<div class="layui-layout layui-layout-admin">
<div class="layui-header">
<div class="layui-logo layui-hide-xs layui-bg-black">安徽衍杯教育</div>
<ul class="layui-nav layui-layout-right">
<li class="layui-nav-item layui-hide layui-show-md-inline-block">
<a href="javascript:;">
<img src="/img/yblog.jpg" class="layui-nav-img">
<?=empty($_SESSION['admin']['name'])?'未登录':$_SESSION['admin']['name']?>
</a>
<dl class="layui-nav-child">
<dd><a href="">修改密码</a></dd>
<dd><a href="/admin_login/quit">退出登录</a></dd>
</dl>
</li>
<li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
<a href="javascript:;">
<i class="layui-icon layui-icon-more-vertical"></i>
</a>
</li>
</ul>
</div>
<div class="layui-side layui-bg-black">
<div class="layui-side-scroll">
<!-- 左侧导航区域(可配合layui已有的垂直导航) -->
<ul class="layui-nav layui-nav-tree" lay-filter="test">
<li class="layui-nav-item layui-nav-itemed">
<a class="" href="javascript:;">微官网</a>
<dl class="layui-nav-child">
<dd><a href="javascript:;" id="/admin_index/company">企业介绍</a></dd>
<dd><a href="javascript:;" id="/admin_teacher/index">讲师天团</a></dd>
<dd><a href="javascript:;" id="/admin_student/index">学员风采</a></dd>
<dd><a href="javascript:;" id="/admin_index/childrencompany">中心分部</a></dd>
<!-- <dd><a href="javascript:;" id="javascript:;">源凡职校</a></dd>-->
<dd><a href="javascript:;" id="/admin_index/ceil">证书查询</a></dd>
<dd><a href="javascript:;" id="/admin_index/filedown">资料下载</a></dd>
<dd><a href="javascript:;" id="/admin_index/service">售后服务</a></dd>
</dl>
</li>
<li class="layui-nav-item">
<a href="javascript:;">衍杯咨询</a>
<dl class="layui-nav-child">
<dd><a href="javascript:;" id="/admin_new/zhaosheng">招生简章</a></dd>
<dd><a href="javascript:;" id="/admin_new/index">新闻动态</a></dd>
<dd><a href="javascript:;" id="/admin_new/zhoubao">衍怀周报</a></dd>
<dd><a href="javascript:;" id="/admin_new/dangjian">党建引领</a></dd>
<dd><a href="javascript:;" id="/admin_new/active">活动风采</a></dd>
<dd><a href="javascript:;" id="/admin_new/hezuo">商务合作</a></dd>
<dd><a href="javascript:;" id="/admin_new/school">校园环境</a></dd>
</dl>
</li>
<li class="layui-nav-item">
<a href="javascript:;">课程设置</a>
<dl class="layui-nav-child">
<dd><a href="javascript:;" id="/admin_class/index">课程管理</a></dd>
</dl>
</li>
<!-- <li class="layui-nav-item">-->
<!-- <a href="javascript:;">设置</a>-->
<!-- <dl class="layui-nav-child">-->
<!-- <dd><a href="javascript:;">密码修改</a></dd>-->
<!-- </dl>-->
<!-- </li>-->
<!-- <li class="layui-nav-item"><a href="">设置</a></li>-->
</ul>
</div>
</div>
<div class="layui-body" style="background: #f2f2f2">
<!-- 内容主体区域 -->
<div id="ifrombody" style="height:100%">
<iframe src="/admin_index/company" frameborder="0" id="demoAdmin" style="width: 100%;height:100%; border-radius: 2px;"></iframe>
</div>
</div>
<div class="layui-footer">
<!-- 底部固定区域 -->
底部固定区域
</div>
</div>
<script src="/layui/layui.js?v=<?=date('Ymd',time())?>"></script>
<script>
//JS
layui.use(['element','element', 'layer', 'util'], function(){
var element = layui.element
,layer = layui.layer
,util = layui.util
,$ = layui.$;
element.on('nav(test)', function(elem){
console.log(elem)
$('#ifrombody').html('<iframe src="'+elem.context.id+'" frameborder="0" id="demoAdmin" style="width: 100%;height:100%; border-radius: 2px;"></iframe>');
layer.msg(elem.text());
});
//头部事件
util.event('lay-header-event', {
//左侧菜单事件
menuLeft: function(othis){
console.log(othis)
layer.msg('展开左侧菜单的操作', {icon: 0});
}
});
});
</script>
</body>
</html>