From bc72f0cf42531410ffefad85b6718fe29f32b5df Mon Sep 17 00:00:00 2001 From: tanghc Date: Wed, 13 Mar 2019 12:49:45 +0800 Subject: [PATCH] admin --- .../sop-admin-front/assets/css/xadmin.css | 2 +- sop-admin/sop-admin-front/assets/js/xadmin.js | 12 +- sop-admin/sop-admin-front/index.html | 333 ++++-------------- 3 files changed, 78 insertions(+), 269 deletions(-) diff --git a/sop-admin/sop-admin-front/assets/css/xadmin.css b/sop-admin/sop-admin-front/assets/css/xadmin.css index 99260ead..b6f6e0fe 100644 --- a/sop-admin/sop-admin-front/assets/css/xadmin.css +++ b/sop-admin/sop-admin-front/assets/css/xadmin.css @@ -319,7 +319,7 @@ xblock{ } .left-nav #nav li .sub-menu{ - display: none; + display: block; } .left-nav #nav li .opened{ display: block; diff --git a/sop-admin/sop-admin-front/assets/js/xadmin.js b/sop-admin/sop-admin-front/assets/js/xadmin.js index 1d137753..47574f36 100644 --- a/sop-admin/sop-admin-front/assets/js/xadmin.js +++ b/sop-admin/sop-admin-front/assets/js/xadmin.js @@ -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(); - } + }*/ diff --git a/sop-admin/sop-admin-front/index.html b/sop-admin/sop-admin-front/index.html index 6bbf11cd..79bd4ad6 100644 --- a/sop-admin/sop-admin-front/index.html +++ b/sop-admin/sop-admin-front/index.html @@ -1,14 +1,15 @@ - + - - 后台登录-X-admin2.1 - + + 后台登录-X-admin2.1 + - - + + - + @@ -17,290 +18,98 @@ // 是否开启刷新记忆tab功能 // var is_remember = false; + - -
- -
- -
- + +
+ + + +
+
- - - -
-
-
    +
+ + + +
+
+
  • 我的桌面
  • -
-
-
-
关闭当前
-
关闭其它
-
关闭全部
-
-
-
+ +
+
+
关闭当前
+
关闭其它
+
关闭全部
+
+
+
-
-
+
-
- - +
+
+ + + + + \ No newline at end of file