From b8e36847a31cd2fb9dac5a541b2ccbc68f15bba1 Mon Sep 17 00:00:00 2001 From: liuweiwen <“529520975@qq.com> Date: Fri, 10 Jan 2020 17:47:19 +0800 Subject: [PATCH] =?UTF-8?q?cp=E5=AF=B9=E8=B4=A6=E7=B3=BB=E7=BB=9F=E9=80=80?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/Public/cp_base.html | 24 ++-------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/Application/Admin/View/Public/cp_base.html b/Application/Admin/View/Public/cp_base.html index c8fc9fe41..c6d7fb92c 100644 --- a/Application/Admin/View/Public/cp_base.html +++ b/Application/Admin/View/Public/cp_base.html @@ -70,7 +70,7 @@ --> -
  • 退出
  • +
  • 退出
  • {:session('cp_user_auth.username')} @@ -285,27 +285,7 @@ $(function(){ $window.resize(function(){ $("#main").css("min-height", $window.height() - 130); }).resize(); - $('.tuichujs').click(function(){ - $.ajax({ - type: 'POST', - async: false, - dataType: 'json', - url: "{:U('Public/logout')}", - success: function(data) { - updateAlert('退出成功','tip_right'); - setTimeout(function(){ - $('#tip').find('.tipclose').click(); - },1500); - location.reload(); - }, - error:function(){ - updateAlert("服务器故障!",'tip_error'); - setTimeout(function(){ - $('#tip').find('.tipclose').click(); - },1500); - } - }); - }); + /* 左边菜单高亮 */ url = window.location.pathname + window.location.search; url = url.replace(/(\/(p)\/\d+)|(&p=\d+)|(\/(id)\/\d+)|(&id=\d+)|(\/(group)\/\d+)|(&group=\d+)/, "");