tanghc 6 years ago
parent 6638661b29
commit bc72f0cf42
  1. 2
      sop-admin/sop-admin-front/assets/css/xadmin.css
  2. 12
      sop-admin/sop-admin-front/assets/js/xadmin.js
  3. 333
      sop-admin/sop-admin-front/index.html

@ -319,7 +319,7 @@ xblock{
}
.left-nav #nav li .sub-menu{
display: none;
display: block;
}
.left-nav #nav li .opened{
display: block;

@ -265,7 +265,7 @@ $(function () {
$(this).removeClass('open');
$(this).find('.nav_right').html('');
$(this).children('.sub-menu').stop().slideUp();
$(this).siblings().children('.sub-menu').slideUp();
// $(this).siblings().children('.sub-menu').slideUp();
}else{
@ -278,9 +278,9 @@ $(function () {
$(this).addClass('open');
$(this).children('a').find('.nav_right').html('');
$(this).children('.sub-menu').stop().slideDown();
$(this).siblings().children('.sub-menu').stop().slideUp();
$(this).siblings().find('.nav_right').html('');
$(this).siblings().removeClass('open');
// $(this).siblings().children('.sub-menu').stop().slideUp();
// $(this).siblings().find('.nav_right').html('');
// $(this).siblings().removeClass('open');
}
}else{
@ -330,13 +330,13 @@ $(function () {
})
// 左侧菜单记忆功能
if(getCookie('left_menu_father')!=null){
/*if(getCookie('left_menu_father')!=null){
$('.left-nav #nav li').eq(getCookie('left_menu_father')).click();
}
if(getCookie('left_menu_son')!=null){
$('.left-nav #nav li').eq(getCookie('left_menu_son')).click();
}
}*/

@ -1,14 +1,15 @@
<!doctype html>
<html class="x-admin-sm">
<html class="x-admin-sm">
<head>
<meta charset="UTF-8">
<title>后台登录-X-admin2.1</title>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta charset="UTF-8">
<title>后台登录-X-admin2.1</title>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="viewport"
content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<link rel="stylesheet" href="assets/css/font.css">
<link rel="stylesheet" href="assets/css/xadmin.css">
<link rel="stylesheet" href="assets/css/xadmin.css">
<script type="text/javascript" src="assets/lib/jquery/3.2.1/jquery.min.js"></script>
<script src="assets/lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="assets/js/xadmin.js"></script>
@ -17,290 +18,98 @@
// 是否开启刷新记忆tab功能
// var is_remember = false;
</script>
<style>
.sub-menu cite {
margin-left: 30px;
}
</style>
</head>
<body>
<!-- 顶部开始 -->
<div class="container">
<div class="logo"><a href="./index.html">X-admin v2.1</a></div>
<div class="left_open">
<i title="展开左侧栏" class="iconfont">&#xe699;</i>
</div>
<ul class="layui-nav right" lay-filter="">
<li class="layui-nav-item">
<!-- 顶部开始 -->
<div class="container">
<div class="logo"><a href="./index.html">X-admin v2.1</a></div>
<div class="left_open">
<i title="展开左侧栏" class="iconfont">&#xe699;</i>
</div>
<ul class="layui-nav right" lay-filter="">
<li class="layui-nav-item">
<a href="javascript:;">admin</a>
<dl class="layui-nav-child"> <!-- 二级菜单 -->
<dd><a href="pages/login.html">退出</a></dd>
<dd><a href="pages/login.html">退出</a></dd>
</dl>
</li>
</ul>
</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav">
<div id="side-nav">
</li>
</ul>
</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav">
<div id="side-nav">
<ul id="nav">
<li>
<li class="open">
<a href="javascript:;">
<i class="iconfont">&#xe6b8;</i>
<cite>会员管理</cite>
<i class="iconfont nav_right">&#xe697;</i>
<i class="iconfont">&#xe6fc;</i>
<cite>配置管理</cite>
<i class="iconfont nav_right">&#xe6a6;</i>
</a>
<ul class="sub-menu">
<li date-refresh="1">
<a _href="member-list.html">
<i class="iconfont">&#xe6a7;</i>
<cite>会员列表(静态表格)</cite>
</a>
</li >
<li>
<a _href="member-list1.html">
<i class="iconfont">&#xe6a7;</i>
<cite>会员列表(动态表格)</cite>
</a>
</li >
<li date-refresh="1">
<a _href="member-del.html">
<i class="iconfont">&#xe6a7;</i>
<cite>会员删除</cite>
</a>
</li>
<li>
<a href="javascript:;">
<i class="iconfont">&#xe70b;</i>
<cite>会员管理</cite>
<i class="iconfont nav_right">&#xe697;</i>
</a>
<ul class="sub-menu">
<li>
<a _href="xxx.html">
<i class="iconfont">&#xe6a7;</i>
<cite>会员列表</cite>
</a>
</li >
<li>
<a _href="xx.html">
<i class="iconfont">&#xe6a7;</i>
<cite>会员删除</cite>
</a>
</li>
<li>
<a _href="xx.html">
<i class="iconfont">&#xe6a7;</i>
<cite>等级管理</cite>
</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="javascript:;">
<i class="iconfont">&#xe723;</i>
<cite>订单管理</cite>
<i class="iconfont nav_right">&#xe697;</i>
</a>
<ul class="sub-menu">
<li>
<a _href="order-list.html">
<i class="iconfont">&#xe6a7;</i>
<cite>订单列表</cite>
</a>
</li >
</ul>
</li>
<li>
<a href="javascript:;">
<i class="iconfont">&#xe723;</i>
<cite>分类管理</cite>
<i class="iconfont nav_right">&#xe697;</i>
</a>
<ul class="sub-menu">
<li>
<a _href="cate.html">
<i class="iconfont">&#xe6a7;</i>
<cite>多级分类</cite>
</a>
</li >
</ul>
</li>
<li>
<a href="javascript:;">
<i class="iconfont">&#xe723;</i>
<cite>城市联动</cite>
<i class="iconfont nav_right">&#xe697;</i>
</a>
<ul class="sub-menu">
<li>
<a _href="city.html">
<i class="iconfont">&#xe6a7;</i>
<cite>三级地区联动</cite>
</a>
</li >
</ul>
</li>
<li>
<a href="javascript:;">
<i class="iconfont">&#xe726;</i>
<cite>管理员管理</cite>
<i class="iconfont nav_right">&#xe697;</i>
</a>
<ul class="sub-menu">
<li>
<a _href="admin-list.html">
<i class="iconfont">&#xe6a7;</i>
<cite>管理员列表</cite>
</a>
</li >
<li>
<a _href="admin-role.html">
<i class="iconfont">&#xe6a7;</i>
<cite>角色管理</cite>
</a>
</li >
<li>
<a _href="admin-cate.html">
<i class="iconfont">&#xe6a7;</i>
<cite>权限分类</cite>
</a>
</li >
<li>
<a _href="admin-rule.html">
<i class="iconfont">&#xe6a7;</i>
<cite>权限管理</cite>
</a>
</li >
</ul>
</li>
<li>
<a href="javascript:;">
<i class="iconfont">&#xe6ce;</i>
<cite>系统统计</cite>
<i class="iconfont nav_right">&#xe697;</i>
</a>
<ul class="sub-menu">
<li>
<a _href="echarts1.html">
<i class="iconfont">&#xe6a7;</i>
<cite>拆线图</cite>
</a>
</li >
<li>
<a _href="echarts2.html">
<i class="iconfont">&#xe6a7;</i>
<cite>柱状图</cite>
</a>
</li>
<li>
<a _href="echarts3.html">
<i class="iconfont">&#xe6a7;</i>
<cite>地图</cite>
</a>
</li>
<li>
<a _href="echarts4.html">
<i class="iconfont">&#xe6a7;</i>
<cite>饼图</cite>
</a>
</li>
<li>
<a _href="echarts5.html">
<i class="iconfont">&#xe6a7;</i>
<cite>雷达图</cite>
</a>
</li>
<li>
<a _href="echarts6.html">
<i class="iconfont">&#xe6a7;</i>
<cite>k线图</cite>
</a>
</li>
<li>
<a _href="echarts7.html">
<i class="iconfont">&#xe6a7;</i>
<cite>热力图</cite>
</a>
</li>
<li>
<a _href="echarts8.html">
<i class="iconfont">&#xe6a7;</i>
<cite>仪表图</cite>
<cite>配置列表</cite>
</a>
</li>
</ul>
</li>
<li>
<li class="open">
<a href="javascript:;">
<i class="iconfont">&#xe6b4;</i>
<cite>图标字体</cite>
<i class="iconfont nav_right">&#xe697;</i>
<i class="iconfont">&#xe6cb;</i>
<cite>服务管理</cite>
<i class="iconfont nav_right">&#xe6a6;</i>
</a>
<ul class="sub-menu">
<li>
<a _href="unicode.html">
<i class="iconfont">&#xe6a7;</i>
<cite>图标对应字体</cite>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;">
<i class="iconfont">&#xe6b4;</i>
<cite>其它页面</cite>
<i class="iconfont nav_right">&#xe697;</i>
</a>
<ul class="sub-menu">
<li>
<a href="pages/login.html" target="_blank">
<i class="iconfont">&#xe6a7;</i>
<cite>登录页面</cite>
</a>
</li>
<li>
<a _href="error.html">
<i class="iconfont">&#xe6a7;</i>
<cite>错误页面</cite>
<li date-refresh="1">
<a _href="member-list.html">
<cite>服务列表</cite>
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content">
<div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
<ul class="layui-tab-title">
</div>
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content">
<div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
<ul class="layui-tab-title">
<li class="home"><i class="layui-icon">&#xe68e;</i>我的桌面</li>
</ul>
<div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
<dl>
<dd data-type="this">关闭当前</dd>
<dd data-type="other">关闭其它</dd>
<dd data-type="all">关闭全部</dd>
</dl>
</div>
<div class="layui-tab-content">
</ul>
<div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
<dl>
<dd data-type="this">关闭当前</dd>
<dd data-type="other">关闭其它</dd>
<dd data-type="all">关闭全部</dd>
</dl>
</div>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<iframe src='pages/welcome.html' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
</div>
</div>
<div id="tab_show"></div>
</div>
<div id="tab_show"></div>
</div>
<div class="page-content-bg"></div>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->
</div>
<div class="page-content-bg"></div>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->
<!-- 底部开始 -->
<div class="footer">
<div class="copyright">Copyright ©2019 SOP All Rights Reserved</div>
</div>
<!-- 底部结束 -->
</body>
</html>
Loading…
Cancel
Save