Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
9 years ago
Commit
43a673e19668be46ea7de86dbfaeabc9fd76eaab
1 parent
dd1343d8
店铺首页
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
static/js/product/shop.js
static/js/product/shop.js
View file @
43a673e
...
...
@@ -699,6 +699,8 @@ function collectClick() {
collectClick
();
function
postCollect
(
info
)
{
var
url
=
''
;
if
(
searching
)
{
return
;
}
...
...
@@ -719,6 +721,13 @@ function postCollect(info) {
}
}
if
(
data
.
code
===
401
)
{
url
=
data
.
url
+
'?refer='
+
location
.
href
;
$
(
'body'
).
append
(
'<a href="'
+
url
+
'"><span class="jump-login"><span></a>'
);
$
(
'.jump-login'
).
click
();
}
setTimeout
(
function
()
{
myScroll
.
refresh
();
scH
=
$
(
'#scroller'
).
outerHeight
();
...
...
Please
register
or
login
to post a comment