LiJun
2018-10-30 f673b579d6af508ce76a8b671ec3e16ea8c0ee73
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');
    });
});