Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
刘传洋
8 years ago
Commit
a22c07281998d11d02b77d87445620e1ab42f372
1 parent
871b1bc1
m
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
public/js/cart/cart-action.js
public/js/cart/cart-action.js
View file @
a22c072
...
...
@@ -416,10 +416,10 @@ $cartListWrap.on('click', '#Y_delReselWrap [data-role=readd2cart]', Cart.reAdd2C
$cartListWrap
.
on
(
'click'
,
'#Y_delReselWrap [data-role=reFav]'
,
Cart
.
reFav
);
// 商品子优惠显示和隐藏
$cartListWrap
.
on
(
'mouseenter'
,
'.sale-info'
,
function
(){
$cartListWrap
.
on
(
'mouseenter'
,
'.sale-info'
,
function
()
{
$
(
this
).
addClass
(
'active'
).
children
(
'ul'
).
removeClass
(
'none'
);
});
$cartListWrap
.
on
(
'mouseleave'
,
'.sale-info'
,
function
(){
$cartListWrap
.
on
(
'mouseleave'
,
'.sale-info'
,
function
()
{
$
(
this
).
removeClass
(
'active'
).
children
(
'ul'
).
addClass
(
'none'
);
});
...
...
Please
register
or
login
to post a comment