chenjingjing
2018-12-27 fc70632d2e2f2799d5710862e562197ebf2e2fb0
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');
    });
});