hdw
2018-11-22 1b71deb76a81b4619538045d66032c12524dff0b
1
2
3
4
5
6
7
// 点击左侧的导航触发页面的效果
$(function() {
    $('.ul-list').on('click', 'li a:not(.active)', function() {
        $('.ul-list li a').removeClass('active');
        $(this).addClass('active');
    });
});