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
uedxwg
9 years ago
Commit
ad82fbe4bd08c22c86725a91e85d74bc87cef5a5
1 parent
e216a595
hotfix
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
static/js/category/index.js
static/js/guang/home.js
static/js/guang/plus-star/list.js
static/js/product/list.js
static/js/product/newsale/discount.js
static/js/product/newsale/newarrival.js
static/js/category/index.js
View file @
ad82fbe
...
...
@@ -32,10 +32,10 @@ var navHammer;
$
(
'#search-input'
).
focus
(
function
()
{
$
(
this
).
blur
();
});
$nav
.
bind
(
"contextmenu"
,
function
(
e
)
{
$nav
.
bind
(
'contextmenu'
,
function
(
e
)
{
return
false
;
});
$
(
'.category-container'
).
bind
(
"contextmenu"
,
function
(
e
)
{
$
(
'.category-container'
).
bind
(
'contextmenu'
,
function
(
e
)
{
return
false
;
});
...
...
static/js/guang/home.js
View file @
ad82fbe
...
...
@@ -56,7 +56,7 @@ info.initInfosEvt($infoList);
};
});
}());
$nav
.
bind
(
"contextmenu"
,
function
(
e
)
{
$nav
.
bind
(
'contextmenu'
,
function
(
e
)
{
return
false
;
});
navHammer
=
new
Hammer
(
$nav
[
0
]);
...
...
static/js/guang/plus-star/list.js
View file @
ad82fbe
...
...
@@ -20,7 +20,7 @@ mySwiper = new Swiper('.swiper-container', {
lazyLoading
:
true
,
pagination
:
'.swiper-pagination'
});
$
(
'#nav-tab'
).
bind
(
"contextmenu"
,
function
(
e
)
{
$
(
'#nav-tab'
).
bind
(
'contextmenu'
,
function
(
e
)
{
return
false
;
});
navHammer
=
new
Hammer
(
document
.
getElementById
(
'nav-tab'
));
...
...
static/js/product/list.js
View file @
ad82fbe
...
...
@@ -282,7 +282,7 @@ writeSearch.bindWirteLocal($('#search-form'));
//4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态
//5.当前active为筛选并且点击其他项时,隐藏筛选面板
$listNav
.
bind
(
"contextmenu"
,
function
(
e
)
{
$listNav
.
bind
(
'contextmenu'
,
function
(
e
)
{
return
false
;
});
navHammer
=
new
Hammer
(
$listNav
[
0
]);
...
...
static/js/product/newsale/discount.js
View file @
ad82fbe
...
...
@@ -263,7 +263,7 @@ lazyLoad($('.lazy'));
//3.筛选无active时点击展开筛选面板
//4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态
//5.当前active为筛选并且点击其他项时,隐藏筛选面板
$listNav
.
bind
(
"contextmenu"
,
function
(
e
)
{
$listNav
.
bind
(
'contextmenu'
,
function
(
e
)
{
return
false
;
});
navHammer
=
new
Hammer
(
$listNav
[
0
]);
...
...
static/js/product/newsale/newarrival.js
View file @
ad82fbe
...
...
@@ -285,7 +285,7 @@ $.ajax({
});
lazyLoad
(
$
(
'.lazy'
));
$listNav
.
bind
(
"contextmenu"
,
function
(
e
)
{
$listNav
.
bind
(
'contextmenu'
,
function
(
e
)
{
return
false
;
});
...
...
Please
register
or
login
to post a comment