...
|
...
|
@@ -297,9 +297,17 @@ seckillObj = { |
|
|
},
|
|
|
|
|
|
bindEvents: function() {
|
|
|
var self = this;
|
|
|
var $nav = self.el.$navList;
|
|
|
var top = $nav.position().top + $nav.height();
|
|
|
|
|
|
if (yoho.isApp) {
|
|
|
this.$productList.on('click', '[data-remind]', $.proxy(this.toggleRemind, this));
|
|
|
}
|
|
|
|
|
|
$(document).on('scroll', function() {
|
|
|
$nav.toggleClass('fix-top', $(window).scrollTop() > top);
|
|
|
});
|
|
|
},
|
|
|
|
|
|
/*
|
...
|
...
|
|