$(".logo").click(function () { $(this) .animate({ left: -200 }) .animate({ left: 200 }) .animate({ left: -200 }) .animate({ left: 200 }) .animate({ left: 0 }); }); //左右滑动