changelog

This commit is contained in:
baiyaaaaa
2016-08-25 15:54:45 +08:00
parent 2d9a77b474
commit 378de73624
10 changed files with 212 additions and 129 deletions

View File

@@ -140,7 +140,6 @@
watch: {
},
mounted() {
var scrollTop = 0;
function scroll(fn) {
var beforeScrollTop = document.body.scrollTop;
@@ -152,7 +151,6 @@
fn(delta > 0 ? 'down' : 'up');
beforeScrollTop = afterScrollTop;
scrollTop = afterScrollTop;
}, false);
}
scroll((direction) => {