From 3b8c04bf554cf1c9ce1500aea3cdff2ff2157065 Mon Sep 17 00:00:00 2001
From: WuXianChaoPin <1029559041@qq.com>
Date: Tue, 15 May 2018 18:59:45 +0800
Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=A0=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
web/src/main/webapp/WEB-INF/jsp/index.jsp | 24 +++++++++++++-------
web/src/main/webapp/WEB-INF/jsp/menu.jsp | 27 +++++++++++------------
web/src/main/webapp/WEB-INF/jsp/test.jsp | 2 +-
3 files changed, 30 insertions(+), 23 deletions(-)
diff --git a/web/src/main/webapp/WEB-INF/jsp/index.jsp b/web/src/main/webapp/WEB-INF/jsp/index.jsp
index 9cd6edb..4ee7dfa 100644
--- a/web/src/main/webapp/WEB-INF/jsp/index.jsp
+++ b/web/src/main/webapp/WEB-INF/jsp/index.jsp
@@ -34,16 +34,16 @@
$($(this).attr('href')).addClass('active show');
$($(this).attr('href')).siblings().removeClass('active show');
- $("#menu"+$(this).data('id')).addClass('active show');
- $("#menu"+$(this).data('id')).siblings().removeClass('active show');
+ $("#menu" + $(this).data('id')).addClass('active show');
+ $("#menu" + $(this).data('id')).siblings().removeClass('active show');
});
$("#tabs").on('click', 'i', function () {
- button=$(this).parent();
+ button = $(this).parent();
$(button.attr('href')).remove();
- if(button.next().length==0){
+ if (button.next().length == 0) {
button.prev().click();
- }else{
+ } else {
button.next().click();
}
@@ -73,10 +73,18 @@
-