代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>layout 后台大布局 - Layui</title>
<script type="text/javascript">
const token = sessionStorage.getItem('token')
if(!token) location.href = './login.html'
</script>
<link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
<link rel="stylesheet" href="./assets/css/index.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
<div class="layui-header">
<div class="layui-logo">
后台管理系统
</div>
<!-- 头部区域(可配合layui已有的水平导航) -->
<ul class="layui-nav layui-layout-right">
<li class="layui-nav-item">
<a href="javascript:;">
<img src="assets/images/sample.jpg" class="layui-nav-img userphoto">
<span class="username"></span>
</a>
<dl class="layui-nav-child">
<dd><a href="">基本资料</a></dd>
<dd><a href="">安全设置</a></dd>
</dl>
</li>
<li class="layui-nav-item"><a href="javascript:;" id="quit">退了</a></li>
</ul>
</div>
<div class="layui-side layui-bg-black">
<div class="layui-side-scroll">
<!-- <div class="admin">
<div class="headPhoto">
<img class="userphoto" src="./assets/images/sample.jpg" alt="">
</div>
<div class="adminName username">老王</div>
</div> -->
<!-- 左侧导航区域(可配合layui已有的垂直导航) -->
<ul class="layui-nav layui-nav-tree" lay-filter="test">
<li class="layui-nav-item layui-this">
<a class="" href="./home/home.html" target="fname">
<i class="layui-icon"></i>
首页</a>
</li>
<li class="layui-nav-item">
<a class="" href="javascript:;">
<i class="layui-icon"></i>
用户管理
</a>
<dl class="layui-nav-child">
<dd><a href="user/user-list.html" target="fname">
<i class="layui-icon"></i>
用户列表</a></dd>
<dd><a href="./user/user-add.html" target="fname">
<i class="layui-icon"></i>
添加用户</a></dd>
</dl>
</li>
<li class="layui-nav-item ">
<a class="" href="javascript:;">
<i class="layui-icon"></i>
资源管理</a>
<dl class="layui-nav-child">
<dd><a href="resource/blogroll.html" target="fname">
<i class="layui-icon"></i>
友情链接</a></dd>
<dd><a href="resource/slideshow.html" target="fname">
<i class="layui-icon"></i>
轮播图</a></dd>
<dd><a href="resource/comments.html" target="fname">
<i class="layui-icon"></i>
评论管理</a></dd>
</dl>
</li>
</ul>
</div>
</div>
<div class="layui-body">
<!-- 内容主体区域 -->
<iframe src="./home/home.html" frameborder="0" name="fname"></iframe>
</div>
<div class="layui-footer">
<!-- 底部固定区域 -->
© layui.com - 底部固定区域
</div>
</div>
</body>
<script type="text/javascript" src="./assets/lib/jquery.js"></script>
<script type="text/javascript" src="./assets/lib/layui/layui.all.js"></script>
<script type="text/javascript" src="./assets/js/common.js"></script>
<script type="text/javascript" src="./assets/js/index.js"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
var element = layui.element;
});
</script>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。