...
|
...
|
@@ -40,8 +40,8 @@ seckillObj = { |
|
|
var focus = $el.$navUl.find('>li.focus');
|
|
|
|
|
|
self.$productList = $('.product-list');
|
|
|
$el.$navUl.find('>li').click(function() {
|
|
|
self.selectTime(self);
|
|
|
$el.$navUl.find('>li').click(function(event) {
|
|
|
self.selectTime(event.currentTarget);
|
|
|
});
|
|
|
|
|
|
$(window).resize(function() {
|
...
|
...
|
@@ -208,8 +208,12 @@ seckillObj = { |
|
|
|
|
|
// 刷新商品列表
|
|
|
var focusElem = $el.$navUl.find('>li.focus');
|
|
|
|
|
|
if (focusElem.length) {
|
|
|
that.refreshProductList(focusElem.find('input.activityId').val());
|
|
|
that.refreshProductList(
|
|
|
focusElem.find('input.activityId').val(),
|
|
|
focusElem.find('input.date').val()
|
|
|
);
|
|
|
}
|
|
|
},
|
|
|
|
...
|
...
|
|