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
dd48fd1c2042742b87b335ca0ae3962d40456998
1 parent
e10bca14
登录地址修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
web-static/js/product/brand.js
web-static/js/product/product.js
web-static/js/product/brand.js
View file @
dd48fd1
...
...
@@ -25,7 +25,7 @@ $('#brand-favor').on('click', function() {
$this
.
find
(
'i'
).
removeClass
(
'coled'
);
}
}
else
if
(
res
.
code
===
403
)
{
location
.
href
=
'/signin.html?refer='
+
encodeURIComponent
(
location
.
href
);
location
.
href
=
'
http://www.yohobuy.com
/signin.html?refer='
+
encodeURIComponent
(
location
.
href
);
}
});
});
...
...
web-static/js/product/product.js
View file @
dd48fd1
...
...
@@ -180,7 +180,7 @@ $goodInfoMain.on('click', '.col-btn', function() {
if
(
res
.
code
===
200
)
{
$this
.
toggleClass
(
'coled'
);
}
else
if
(
res
.
code
===
403
)
{
location
.
href
=
'/signin.html?refer='
+
encodeURIComponent
(
location
.
href
);
location
.
href
=
'
http://www.yohobuy.com
/signin.html?refer='
+
encodeURIComponent
(
location
.
href
);
}
});
});
...
...
Please
register
or
login
to post a comment