backToTop: function() {
$(window).on('scroll', function() {
var $sTop = $(window).scrollTop();
if ($sTop > 600) {
$('.back-to-top').show();
} else {
$('.back-to-top').hide();
}
});
$('.back-to-top').bind('tap', function() {
$('body,html').scrollTop(0);
return false;
});
}
//回到頂部html
mobileHouse.backToTop($('.back-to-top'));