Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
9 years ago
Commit
3e491e85c8bff1a2ffb658d7c9c4cacabe4b4567
1 parent
09d3cc37
埋点 param json
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
10 deletions
web-static/js/cart/cart.js
web-static/js/common.js
web-static/js/home/index.js
web-static/js/cart/cart.js
View file @
3e491e8
...
...
@@ -217,7 +217,7 @@ function getTogetherProduct($obj, url, page) {
window
.
givePoint
({
'REC_POSE'
:
120003
,
'PRD_ID'
:
$
(
this
).
closest
(
'li'
).
find
(
'.btn_view_s'
).
data
(
'id'
),
'PRD_NUM'
:
$
(
this
).
closest
(
'li'
).
index
(),
'PRD_NUM'
:
$
(
this
).
closest
(
'li'
).
index
()
+
1
,
'ACTION_ID'
:
1
,
'page_num'
:
page
&&
page
.
page
?
page
.
page
:
1
});
...
...
web-static/js/common.js
View file @
3e491e8
...
...
@@ -189,7 +189,7 @@ $.extend({
function
givePoint
(
parameter
)
{
var
CID
=
1
;
if
(
!
window
.
_yas
.
sendCustomInfo
)
{
if
(
!
window
.
_yas
)
{
return
false
;
}
...
...
@@ -219,12 +219,6 @@ function givePoint(parameter) {
'page_num'
:
1
},
parameter
);
console
.
log
({
'op'
:
'YB_CHOOSE_FOR_YOU_Y'
,
'uid'
:
getUid
(),
'param'
:
parameter
},
'yas==='
);
if
(
parameter
.
REC_POSE
===
''
||
parameter
.
PRD_ID
===
''
)
{
return
true
;
}
...
...
@@ -232,7 +226,7 @@ function givePoint(parameter) {
window
.
_yas
.
sendCustomInfo
({
'op'
:
'YB_CHOOSE_FOR_YOU_Y'
,
'uid'
:
getUid
(),
'param'
:
parameter
'param'
:
JSON
.
stringify
(
parameter
)
},
true
);
}
...
...
web-static/js/home/index.js
View file @
3e491e8
...
...
@@ -120,7 +120,7 @@ function pageChange(self, $ul, page, itemWith, curPage, num) {
window
.
givePoint
({
'REC_POSE'
:
120004
,
'PRD_ID'
:
$
(
this
).
data
(
'id'
),
'PRD_NUM'
:
$
(
this
).
closest
(
'li'
).
index
(),
'PRD_NUM'
:
$
(
this
).
closest
(
'li'
).
index
()
+
1
,
'ACTION_ID'
:
1
,
'page_num'
:
1
});
...
...
Please
register
or
login
to post a comment