Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
Lynnic
9 years ago
Commit
28ed0fbf40c904af420675146623e5a07b5bd7a8
1 parent
e9ea7f4f
修改clickt为touchend事件
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
static/js/product/detail/detail.js
static/js/product/detail/detail.js
View file @
28ed0fb
...
...
@@ -38,7 +38,7 @@ if (0 === $('.goodsDiscount .discount-folder').children().length) {
}
//goods-discount下拉按钮点击事件
$
(
'.goodsDiscount .dropdown'
).
on
(
'touchend'
,
function
()
{
$
(
'.goodsDiscount .dropdown'
).
on
(
'touchend'
,
function
(
e
)
{
if
(
$discountFolder
.
is
(
':hidden'
))
{
$discountArrow
.
removeClass
(
'icon-down'
).
addClass
(
'icon-up'
).
html
(
''
);
$discountFolder
.
slideDown
();
...
...
@@ -46,5 +46,7 @@ $('.goodsDiscount .dropdown').on('touchend', function() {
$discountArrow
.
removeClass
(
'icon-up'
).
addClass
(
'icon-down'
).
html
(
''
);
$discountFolder
.
slideUp
();
}
return
false
;
});
require
(
'./like'
);
...
...
Please
register
or
login
to post a comment