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
lore-w
9 years ago
Commit
20a713bf65dc85ec2b6efe01aeee5a8e99cc93aa
1 parent
3d6d3c07
product.js代码检查问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
web-static/js/product/product.js
web-static/js/product/product.js
View file @
20a713b
...
...
@@ -74,6 +74,14 @@ exports.init = function(num) {
};
}
function
removeHtmlFn
()
{
$goodInfoMain
.
html
(
''
);
$goodSelectColor
.
html
(
''
);
$goodItemWrapper
.
css
({
display
:
'none'
});
}
productList
.
addHandler
(
'MouseEnter'
,
function
(
event
)
{
var
itemMr
=
10
,
//list的右边距
itemMb
=
35
,
//list的下边距
...
...
@@ -150,16 +158,9 @@ exports.init = function(num) {
$goodItemWrapper
.
mouseleave
(
function
()
{
//
removeHtmlFn();
removeHtmlFn
();
});
function
removeHtmlFn
()
{
$goodInfoMain
.
html
(
''
);
$goodSelectColor
.
html
(
''
);
$goodItemWrapper
.
css
({
display
:
'none'
});
}
};
//鼠标放在颜色列表上效果
...
...
Please
register
or
login
to post a comment