代码拉取完成,页面将自动刷新
<script>
if (!localStorage.getItem('token')) {
location.href = './login.html'
}
</script>
<!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>
<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">
<img src="./assets/images/logo.png" alt="" class="logo" />
</div>
<!-- 头部区域(可配合layui已有的水平导航) -->
<ul class="layui-nav layui-layout-right">
<li class="layui-nav-item">
<a href="javascript:;">
<div class="text-avatar"></div>
<img src="http://t.cn/RCzsdCq" class="layui-nav-img userinfo" />
个人中心
</a>
<dl class="layui-nav-child">
<dd><a href="./user/userInfo.html">基本资料</a></dd>
<dd><a href="./user/userPasswordEdit.html">重置密码</a></dd>
<dd><a href="./user/userAvatorEdit.html">更换头像</a></dd>
</dl>
</li>
<li class="layui-nav-item">
<a href="javascript:;" id="logout">
<i class="layui-icon layui-icon-logout"></i>退出登录
</a>
</li>
</ul>
</div>
<div class="layui-side layui-bg-black">
<div class="layui-side-scroll">
<!-- 左侧导航区域(可配合layui已有的垂直导航) -->
<div class="avator">
<div class="text-avatar"></div>
<img class="layui-nav-img userinfo" src="http://t.cn/RCzsdCq" />
你好,<span class="username"></span>
</div>
<ul class="layui-nav layui-nav-tree" lay-filter="test">
<li class="layui-nav-item layui-this">
<a href=""> <i class="layui-icon layui-icon-home"></i> 首页</a>
</li>
<li class="layui-nav-item">
<a class="" href="javascript:;">
<i class="layui-icon layui-icon-file-b"></i> 文章管理</a>
<dl class="layui-nav-child">
<dd>
<a href="./artical/category.html" target="main-container">
<i class="layui-icon second-level layui-icon-app"></i>
类别管理</a>
</dd>
<dd>
<a href="./article/articalList.html" target="main-container">
<i class="layui-icon second-level layui-icon-list"></i>
文章列表</a>
</dd>
<dd>
<a href="./artical/addArtical.html" target="main-container">
<i class="layui-icon second-level layui-icon-upload"></i>
添加文章</a>
</dd>
</dl>
</li>
<li class="layui-nav-item">
<a href="javascript:;">
<i class="layui-icon layui-icon-username"></i> 个人中心</a>
<dl class="layui-nav-child">
<dd>
<a href="./user/userInfo.html" target="main-container">
<i class="layui-icon second-level layui-icon-form"></i>
基本信息</a>
</dd>
<dd>
<a href="./user/userPasswordEdit.html" target="main-container">
<i class="layui-icon second-level layui-icon-password"></i>
修改密码</a>
</dd>
<dd>
<a href="./user/avatar.html" target="main-container">
<i class="layui-icon second-level layui-icon-picture-fine"></i>
更换头像</a>
</dd>
</dl>
</li>
</ul>
</div>
</div>
<div class="layui-body">
<!-- 内容主体区域 -->
<!-- <iframe name="fm" src="" frameborder="0"></iframe> -->
<iframe name="main-container" src="./home/dashboard.html" frameborder="0"></iframe>
</div>
<div class="layui-footer">
<!-- 底部固定区域 -->
© layui.com - 底部固定区域
</div>
</div>
<!-- 引入layui -->
<script src="./assets/lib/layui/layui.all.js"></script>
<script>
//JavaScript代码区域
layui.use('element', function () {
var element = layui.element
})
</script>
<!-- 引入jquery -->
<script src="./assets/lib/jquery.js"></script>
<!-- 引入公共js -->
<script src="./assets/js/common.js"></script>
<!-- 引入首页js -->
<script src="./assets/js/index.js"></script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。