2018-09-29 9ba77f85d56a4a52d5a7b57c9747dd96ee6f1ba6
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');
    });
});