Explorar o código

mod 导航高亮

panqiuyao %!s(int64=2) %!d(string=hai) anos
pai
achega
9cab0d7c66
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/home/view/default/base/mall_header.html

+ 1 - 1
app/home/view/default/base/mall_header.html

@@ -168,7 +168,7 @@
                     $(".nav_list .site_menu a").removeClass('current')
                     node.addClass('current')
                 }
-                if(location.pathname === '/' || location.pathname === '/home/Index/index.html'){
+                if(location.pathname === '/' || location.pathname === "{:url('Index/index')}"){
                     $(".nav_list a").eq(0).addClass('current')
                 }
             })