//重复切换类名"active"$(".probability-rules header").toggleClass("active"); 转载于:https://www.cnblogs.com/kpengfang/p/7151248.html