hdw
2018-11-21 9adb612b06149c5ce98eecc7f740012cf28a776e
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');
    });
});