...
|
...
|
@@ -404,8 +404,13 @@ define('yohood', function(require, exports) { |
|
|
event.stopPropagation();
|
|
|
return false;
|
|
|
});
|
|
|
$(".brand-list li .img-box").live("hover", function(event) {
|
|
|
$(this).toggleClass('btn-hover', 200);
|
|
|
$(".brand-list li .img-box").live("mouseenter", function(event) {
|
|
|
var $img = $(this).find("img");
|
|
|
$img.removeClass("grey-brand-logo");
|
|
|
})
|
|
|
$(".brand-list li .img-box").live("mouseleave", function(event) {
|
|
|
var $img = $(this).find("img");
|
|
|
$img.addClass("grey-brand-logo");
|
|
|
})
|
|
|
//隐藏
|
|
|
$('.overlay').on('click', function() {
|
...
|
...
|
@@ -418,20 +423,6 @@ define('yohood', function(require, exports) { |
|
|
if($(".search-btn").size()) {
|
|
|
$(".search-btn").click();
|
|
|
}
|
|
|
/**
|
|
|
* 鼠标移入显示彩色logo 移出显示灰色logo
|
|
|
*/
|
|
|
({
|
|
|
init: function() {
|
|
|
$(".brand-list").on("mouseenter", "li > a", function(event) {
|
|
|
var $img = $(this).find("img");
|
|
|
$img.removeClass("grey-brand-logo");
|
|
|
}).on("mouseleave", "li > a", function() {
|
|
|
var $img = $(this).find("img");
|
|
|
$img.addClass("grey-brand-logo");
|
|
|
})
|
|
|
}
|
|
|
}).init();
|
|
|
};
|
|
|
|
|
|
//详情页
|
...
|
...
|
|