top:$(document).scrollTop() + ($(document).height() - $(document).scrollTop())/2, 转载于:https://www.cnblogs.com/chuanyueinlife/p/9022908.html