|
@@ -9,8 +9,8 @@ var lazyLoad = require('yoho-jquery-lazyload'); |
|
@@ -9,8 +9,8 @@ var lazyLoad = require('yoho-jquery-lazyload'); |
9
|
|
9
|
|
10
|
|
10
|
|
11
|
|
11
|
|
12
|
-var product = require('./index/product'),
|
|
|
13
|
- qs = window.queryString;
|
12
|
+var product = require('./index/product');
|
|
|
13
|
+var qs = window.queryString;
|
14
|
|
14
|
|
15
|
var $footPage = $('.foot-pager1').data('total'),
|
15
|
var $footPage = $('.foot-pager1').data('total'),
|
16
|
$productIdArr = [],
|
16
|
$productIdArr = [],
|
|
@@ -65,7 +65,7 @@ $(function() { |
|
@@ -65,7 +65,7 @@ $(function() { |
65
|
proId = $this.find('.product-id').html(),
|
65
|
proId = $this.find('.product-id').html(),
|
66
|
aIndex = $this.attr('activeIndex'),
|
66
|
aIndex = $this.attr('activeIndex'),
|
67
|
pageNum = qs.pager || 1,
|
67
|
pageNum = qs.pager || 1,
|
68
|
- limit = qs.limit || 60,
|
68
|
+ limit = qs.limit || 60,
|
69
|
proNum = (parseInt(pageNum, 10) - 1) * limit + parseInt(aIndex, 10);
|
69
|
proNum = (parseInt(pageNum, 10) - 1) * limit + parseInt(aIndex, 10);
|
70
|
|
70
|
|
71
|
// 点击搜索列表商品埋点
|
71
|
// 点击搜索列表商品埋点
|