...
|
...
|
@@ -75,7 +75,6 @@ exports.init = function(num) { |
|
|
}
|
|
|
|
|
|
productList.addHandler('MouseEnter', function(event) {
|
|
|
|
|
|
var itemMr = 10, //list的右边距
|
|
|
itemMb = 35, //list的下边距
|
|
|
ulStr = '',
|
...
|
...
|
@@ -134,6 +133,12 @@ exports.init = function(num) { |
|
|
display: 'inline-block'
|
|
|
});
|
|
|
|
|
|
// 鼠标悬浮获取到商品信息后显示第一张图片
|
|
|
if (data[0] && data[0].src) {
|
|
|
$(event.target).find('.good-thumb img').attr('src', data[0].src);
|
|
|
$goodInfoMain.find('.good-thumb img').attr('src', data[0].src);
|
|
|
}
|
|
|
|
|
|
//}, 1000);
|
|
|
});
|
|
|
});
|
...
|
...
|
|