Showing
1 changed file
with
6 additions
and
6 deletions
@@ -149,7 +149,7 @@ function yasRequest(PRD_ID, PRD_NUM, ACTION_ID) { | @@ -149,7 +149,7 @@ function yasRequest(PRD_ID, PRD_NUM, ACTION_ID) { | ||
149 | } | 149 | } |
150 | } | 150 | } |
151 | 151 | ||
152 | -//猜你想找展示时埋点 | 152 | +// 猜你想找展示时埋点 |
153 | $('.want-search').find('li').each(function() { | 153 | $('.want-search').find('li').each(function() { |
154 | 154 | ||
155 | querys = $(this).find('a').html(); | 155 | querys = $(this).find('a').html(); |
@@ -161,10 +161,10 @@ $('.want-search').find('li').each(function() { | @@ -161,10 +161,10 @@ $('.want-search').find('li').each(function() { | ||
161 | 161 | ||
162 | prdLoad = JSON.stringify(prdids).replace(/\[|\]|\"|/g, ''); | 162 | prdLoad = JSON.stringify(prdids).replace(/\[|\]|\"|/g, ''); |
163 | 163 | ||
164 | -if(prdLoad) { | ||
165 | - setTimeout(function() { | 164 | +if (prdLoad) { |
165 | + setTimeout(function() { | ||
166 | yasRequest(prdLoad, prdids.length, 0); | 166 | yasRequest(prdLoad, prdids.length, 0); |
167 | - }, 200); | 167 | + }, 200); |
168 | } | 168 | } |
169 | 169 | ||
170 | // 热门搜索、最近搜索事件 | 170 | // 热门搜索、最近搜索事件 |
@@ -189,9 +189,9 @@ $('.search-items .search-group').on('click', 'li', function(event) { | @@ -189,9 +189,9 @@ $('.search-items .search-group').on('click', 'li', function(event) { | ||
189 | var PRD_NUM = $(this).index() + 1; | 189 | var PRD_NUM = $(this).index() + 1; |
190 | 190 | ||
191 | POS_ID = 3; | 191 | POS_ID = 3; |
192 | - FLR_INDEX = 3; | 192 | + FLR_INDEX = 3; |
193 | 193 | ||
194 | - yasRequest(query, PRD_NUM, 1); | 194 | + yasRequest(query, PRD_NUM, 1); |
195 | } | 195 | } |
196 | 196 | ||
197 | if (window._yas && window._yas.sendCustomInfo) { | 197 | if (window._yas && window._yas.sendCustomInfo) { |
-
Please register or login to post a comment