('.zhongxin_left ul li a').each(function() { if (
(this))[0].href == String(window.location)) {
(this).parent().addClass('blue'); }; }); });
转自TigerZhang
('.zhongxin_left ul li a').each(function() { if (
(this))[0].href == String(window.location)) {
(this).parent().addClass('blue'); }; }); });
转自TigerZhang
转载于:https://juejin.im/post/5a7bf3e66fb9a063557d98e4