|
@@ -247,17 +247,8 @@ define(['$', 'template', 'IScroll', 'product', 'user', 'native', 'config'], func
|
|
setTimeout(function () {
|
|
setTimeout(function () {
|
|
pageData.scroll = new IScroll('#homeScroll', {
|
|
pageData.scroll = new IScroll('#homeScroll', {
|
|
preventDefaultException: {className: /(^|\s)home-content(\s|$)/},
|
|
preventDefaultException: {className: /(^|\s)home-content(\s|$)/},
|
|
- onScrollMove: function () {
|
|
|
|
- console.log(this.y);
|
|
|
|
- console.log(this.maxScrollY);
|
|
|
|
- console.log(this.pointY);
|
|
|
|
- if (this.y<this.maxScrollY && this.pointY < 1){
|
|
|
|
- console.log('???????????????????????');
|
|
|
|
- this.scrollTo(0, this.maxScrollY, 400);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
});
|
|
});
|
|
- }, 50);
|
|
|
|
|
|
+ }, 200);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|