From e1e340274a1fb9519f72899c0090abff8eeed4bd Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Tue, 13 Mar 2018 15:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=B7=A6=E4=B8=8A=E8=A7=92?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=BD=93=E5=89=8D=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/views/home.jsp | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/home.jsp b/src/main/webapp/WEB-INF/views/home.jsp index 1f2fad137..d4bc39566 100644 --- a/src/main/webapp/WEB-INF/views/home.jsp +++ b/src/main/webapp/WEB-INF/views/home.jsp @@ -29,6 +29,22 @@ }); + //面包屑导航 + $(function(){ + + $("div ul li a").click(function(){ + if(typeof $(this).attr("id") !='undefined'){ + $("#menutwo").text($(this).text().trim()); + $("#menuthree").text(""); + }else{ + $("#menuthree").text($(this).text().trim()); + } +// var urlto=this+""; +// var ur="${ctx}"+urlto.split("nis")[1]; +// $("#menutwo").attr("href",ur); + }) +}) + @@ -39,7 +55,6 @@
-