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
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
7baa83d32ac71627772dc5dfa3bd43284c35cc3f
2 parents
c0edf61e
218bfb89
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
static/js/product/detail/detail.js
static/js/product/detail/like.js
static/js/product/detail/detail.js
View file @
7baa83d
...
...
@@ -36,14 +36,10 @@ if (0 === $('.goods-discount .discount-folder').children().length) {
//goods-discount下拉按钮点击事件
$
(
'.goodsDiscount .dropdown'
).
on
(
'click'
,
function
()
{
if
(
$
(
'.goodsDiscount .discount-folder'
).
is
(
':hidden'
))
{
$
(
'.goodsDiscount .first-item span'
).
removeClass
(
'icon-down'
);
$
(
'.goodsDiscount .first-item span'
).
addClass
(
'icon-up'
);
$
(
'.goodsDiscount .first-item span'
).
html
(
''
);
$
(
'.goodsDiscount .first-item span'
).
removeClass
(
'icon-down'
).
addClass
(
'icon-up'
).
html
(
''
);
$
(
'.goodsDiscount .discount-folder'
).
slideDown
();
}
else
{
$
(
'.goodsDiscount .first-item span'
).
removeClass
(
'icon-up'
);
$
(
'.goodsDiscount .first-item span'
).
addClass
(
'icon-down'
);
$
(
'.goodsDiscount .first-item span'
).
html
(
''
);
$
(
'.goodsDiscount .first-item span'
).
removeClass
(
'icon-up'
).
addClass
(
'icon-down'
).
html
(
''
);
$
(
'.goodsDiscount .discount-folder'
).
slideUp
();
}
});
...
...
static/js/product/detail/like.js
View file @
7baa83d
...
...
@@ -18,11 +18,7 @@ likeHammer.on('tap', function(e) {
var
opt
,
favorite
;
<<<<<<<
HEAD
var
$this
=
$
(
e
.
target
);
=======
var
$this
=
$
(
this
);
>>>>>>>
3685878
e28b5f0a7fbf2ebdb250a96a5ecc47f52
if
(
$this
.
hasClass
(
'liked'
))
{
opt
=
'cancel'
;
...
...
Please
register
or
login
to post a comment