h5返回上一页并跳转指定位置
window.addEventListener('scroll', function () {
var scrollTop = window. || document.documentElement.scrollTop || document.body.scrollTop;
sessionStorage.setItem('scrollTop', scrollTop);
});
var scrollTop = sessionStorage.getItem('scrollTop');
window.scrollTo(0, scrollTop);

浙公网安备 33010602011771号