Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhangxiaoru
8 years ago
Commit
21cbf775f7ff066e3e6deb6e988593ca7fa72fd5
1 parent
a7ea6d5b
埋点
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
public/js/product/search/index.js
public/js/product/search/index.js
View file @
21cbf77
...
...
@@ -149,7 +149,7 @@ function yasRequest(PRD_ID, PRD_NUM, ACTION_ID) {
}
}
//猜你想找展示时埋点
//
猜你想找展示时埋点
$
(
'.want-search'
).
find
(
'li'
).
each
(
function
()
{
querys
=
$
(
this
).
find
(
'a'
).
html
();
...
...
@@ -161,10 +161,10 @@ $('.want-search').find('li').each(function() {
prdLoad
=
JSON
.
stringify
(
prdids
).
replace
(
/
\[
|
\]
|
\"
|/g
,
''
);
if
(
prdLoad
)
{
setTimeout
(
function
()
{
if
(
prdLoad
)
{
setTimeout
(
function
()
{
yasRequest
(
prdLoad
,
prdids
.
length
,
0
);
},
200
);
},
200
);
}
// 热门搜索、最近搜索事件
...
...
@@ -189,9 +189,9 @@ $('.search-items .search-group').on('click', 'li', function(event) {
var
PRD_NUM
=
$
(
this
).
index
()
+
1
;
POS_ID
=
3
;
FLR_INDEX
=
3
;
FLR_INDEX
=
3
;
yasRequest
(
query
,
PRD_NUM
,
1
);
yasRequest
(
query
,
PRD_NUM
,
1
);
}
if
(
window
.
_yas
&&
window
.
_yas
.
sendCustomInfo
)
{
...
...
Please
register
or
login
to post a comment