2021年11月15日
摘要: // closest 向外寻找 最近的选择器 例: $(function(){ $(".load-more").click(function(){ // closest 向外寻找 最近的选择器 if($(this).hasClass("active")){ $(this).removeClass(" 阅读全文
posted @ 2021-11-15 17:09 陶小黑 阅读(27) 评论(0) 推荐(0)
摘要: $(function(){ var current=0; var count=$(".pics-list>li").length; // 播放轮播 function move(){ $(".points-list>li").eq(current).addClass("active").sibling 阅读全文
posted @ 2021-11-15 17:08 陶小黑 阅读(40) 评论(0) 推荐(0)