1 Star 0 Fork 37

Sam-Fork/easyweb-html

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 3.38 KB
一键复制 编辑 原始数据 按行查看 历史
ele-admin 提交于 2018-07-22 18:38 . 增加树形表格
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta charset="utf-8"/>
<title>EasyWeb</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="assets/libs/layui/css/layui.css"/>
<link rel="stylesheet" href="assets/css/admin.css"/>
<link rel="stylesheet" href="module/formSelects/formSelects-v4.css"/>
<!--<link rel="stylesheet" href="assets/css/theme-blue.css"/>--> <!-- 自定义主题,使用EasyWeb主题生成器生成 -->
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
<!-- 头部 -->
<div class="layui-header" p-com="header"></div>
<!-- 侧边栏 -->
<div class="layui-side" p-com="side"></div>
<!-- 主体部分 -->
<div class="layui-body">
<div class="layui-tab" lay-allowClose="true" lay-filter="admin-pagetabs">
<ul class="layui-tab-title">
</ul>
<div class="layui-tab-content">
</div>
</div>
<div class="layui-icon admin-tabs-control layui-icon-prev" ew-event="leftPage"></div>
<div class="layui-icon admin-tabs-control layui-icon-next" ew-event="rightPage"></div>
<div class="layui-icon admin-tabs-control layui-icon-down">
<ul class="layui-nav admin-tabs-select" lay-filter="admin-pagetabs-nav">
<li class="layui-nav-item" lay-unselect>
<a href="javascript:;"></a>
<dl class="layui-nav-child layui-anim-fadein">
<dd ew-event="closeThisTabs" lay-unselect><a href="javascript:;">关闭当前标签页</a></dd>
<dd ew-event="closeOtherTabs" lay-unselect><a href="javascript:;">关闭其它标签页</a></dd>
<dd ew-event="closeAllTabs" lay-unselect><a href="javascript:;">关闭全部标签页</a></dd>
</dl>
</li>
</ul>
</div>
</div>
<!-- 底部 -->
<div class="layui-footer">Copyright © 2018 EasyWeb All rights reserved. <span class="pull-right">Version 2.0</span>
</div>
<!-- 手机屏幕遮罩层 -->
<div class="site-mobile-shade"></div>
</div>
<script type="text/javascript" src="assets/libs/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="assets/libs/q.js"></script>
<script type="text/javascript" src="assets/libs/pandyle.min.js"></script>
<script type="text/javascript" src="assets/libs/layui/layui.js"></script>
<script>
layui.config({
base: 'module/'
}).extend({
formSelects: 'formSelects/formSelects-v4',
treetable: 'treetable-lay/treetable'
}).use(['config', 'index', 'element'], function () {
var config = layui.config;
var index = layui.index;
var element = layui.element;
// 检查是否登录
if (!config.getToken() || config.getToken() == '') {
location.replace('login.html');
return;
}
// 检查多标签功能是否开启
index.checkPageTabs();
// 获取当前用户信息
index.getUser(function (user) {
$('.layui-layout-admin .layui-header').vm(user);
index.initLeftNav();
element.render('nav');
index.initRouter();
index.bindEvent();
});
});
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/Sam-Fork/EasyWebPage.git
git@gitee.com:Sam-Fork/EasyWebPage.git
Sam-Fork
EasyWebPage
easyweb-html
master

搜索帮助