var pathName = window.location.pathname;
//	获得路径信息
$(".categrayBox a").each(function(){
  //	遍历a链接的路径
  var aLinkUrl = $(this).attr("href");
  //	得到a链接的路径
  if(aLinkUrl == pathName){
    $(this).parent().addClass("jpActive");
    return;
  }
});