<li class="btntop">
<div class="pic">
<img class="img1" src="__PUBLIC__/img/fix4.png">
<img class="img2" src="__PUBLIC__/img/fix4.png">
<span>返回顶部</span>
</div>
</li>
<script type="text/javascript">
$('.btntop').click(function(){
$('body,html').animate({ scrollTop: 0 },500);
})
</script>