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
56a4944a16ce916c8dc046162099287ec67be38d
1 parent
4aaa5e24
个人中心 埋点展现分页
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
web-static/js/home/index.js
web-static/js/home/index.js
View file @
56a4944
...
...
@@ -99,6 +99,14 @@ function pageChange(self, $ul, page, itemWith, curPage, num) {
--
rcCurPage
;
}
window
.
givePoint
({
'REC_POSE'
:
120004
,
'PRD_ID'
:
PRDID
.
slice
((
rcCurPage
-
1
)
*
6
,
(
rcCurPage
-
1
)
*
rcCurPage
+
6
).
join
(
','
),
'PRD_NUM'
:
$rcUl
.
find
(
'li'
).
length
,
'ACTION_ID'
:
0
,
'page_num'
:
rcCurPage
});
pageChange
(
$this
,
$rcUl
,
rcPage
,
rcItemWith
,
rcCurPage
,
6
);
}
});
...
...
@@ -111,12 +119,12 @@ function pageChange(self, $ul, page, itemWith, curPage, num) {
window
.
givePoint
({
'REC_POSE'
:
120004
,
'PRD_ID'
:
PRDID
.
join
(
','
),
'PRD_ID'
:
PRDID
.
slice
(
0
,
6
).
join
(
','
),
'PRD_NUM'
:
$rcUl
.
find
(
'li'
).
length
,
'ACTION_ID'
:
0
,
'page_num'
:
1
});
},
4
000
);
},
3
000
);
$rcUl
.
find
(
'li a'
).
bind
(
'click'
,
function
()
{
var
index
=
$
(
this
).
closest
(
'li'
).
index
()
+
1
;
...
...
Please
register
or
login
to post a comment