...
|
...
|
@@ -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'
|
|
|
});
|
|
|
}
|
|
|
};
|
|
|
|
|
|
//鼠标放在颜色列表上效果
|
...
|
...
|
|