var animate1=setTimeout(function(){ //文字淡入 $(".shop_wenzititle").animate({top:'35%',opacity:'1'},1000); $(".shop_wenzicon").animate({top:'53%',opacity:'0.8'},2000); },100); clearTimeout(animate1); //停止动画
var animate1=setTimeout(function(){ //文字淡入 $(".shop_wenzititle").animate({top:'35%',opacity:'1'},1000); $(".shop_wenzicon").animate({top:'53%',opacity:'0.8'},2000); },100); clearTimeout(animate1); //停止动画
转载于:https://www.cnblogs.com/shimily/articles/3807424.html