...
|
...
|
@@ -240,61 +240,6 @@ define('channel', function(require, exports) { |
|
|
$('.slide-navigator').hide();
|
|
|
$('.slide-control').hide();
|
|
|
}
|
|
|
if (parseInt($("#right_banner").attr("num")) > 0) {
|
|
|
$("#img_flow").find(".layout-item").eq(2).before($("#right_banner").html());
|
|
|
}
|
|
|
//设置瀑布流
|
|
|
exports.setFlowLayout = setFlowLayout = function() {
|
|
|
$('.fluid-list-inner').freetile({
|
|
|
animate: false,
|
|
|
elementDelay: 0
|
|
|
});
|
|
|
imgTransform($(".image-box img"));
|
|
|
}
|
|
|
//图片转换
|
|
|
var imgTransform = function(obj) {
|
|
|
obj.bind("mousemove", function() {
|
|
|
if ($(this).attr("disopen") == 1) { //禁止
|
|
|
return false;
|
|
|
}
|
|
|
//图片变大
|
|
|
if ($(this).attr("isopen") != 1) {
|
|
|
$(this).css({
|
|
|
'-webkit-transition': '-webkit-transform .5s ease-in',
|
|
|
'-moz-transition': '-moz-transform .5s ease-in',
|
|
|
'-ms-transition': '-ms-transform .5s ease-in',
|
|
|
'-o-transition': '-o-transform .5s ease-in',
|
|
|
'transition': 'transform .5s ease-in',
|
|
|
'-webkit-transform': 'scale(1.2)',
|
|
|
'-moz-transform': 'scale(1.2)',
|
|
|
'-ms-transform': 'scale(1.2)',
|
|
|
'-o-transform': 'scale(1.2)',
|
|
|
'transform': 'scale(1.2)'
|
|
|
});
|
|
|
$(this).attr("isopen", 1);
|
|
|
}
|
|
|
return false;
|
|
|
});
|
|
|
obj.bind("mouseout", function() {
|
|
|
if ($(this).attr("isopen") == 1) {
|
|
|
//图片还原
|
|
|
$(this).css({
|
|
|
'-webkit-transition': '-webkit-transform .5s ease-in',
|
|
|
'-moz-transition': '-moz-transform .5s ease-in',
|
|
|
'-ms-transition': '-ms-transform .5s ease-in',
|
|
|
'-o-transition': '-o-transform .5s ease-in',
|
|
|
'transition': 'transform .5s ease-in',
|
|
|
'-webkit-transform': 'scale(1)',
|
|
|
'-moz-transform': 'scale(1)',
|
|
|
'-ms-transform': 'scale(1)',
|
|
|
'-o-transform': 'scale(1)',
|
|
|
'transform': 'scale(1)'
|
|
|
});
|
|
|
$(this).attr("isopen", 0);
|
|
|
}
|
|
|
});
|
|
|
return false;
|
|
|
}
|
|
|
var sortPos = 0;
|
|
|
var productGenders = [];
|
|
|
var currentGenderPos = 0;
|
...
|
...
|
@@ -379,7 +324,6 @@ define('channel', function(require, exports) { |
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 首页底部合作商滑动条
|
|
|
*/
|
...
|
...
|
@@ -501,7 +445,6 @@ define('channel', function(require, exports) { |
|
|
$(".brand-list").on("mouseenter", "li > a", function(event) {
|
|
|
var $img = $(this).find("img");
|
|
|
$img.removeClass("grey-brand-logo");
|
|
|
$img.css("color","blue");
|
|
|
}).on("mouseleave", "li > a", function() {
|
|
|
var $img = $(this).find("img");
|
|
|
$img.addClass("grey-brand-logo");
|
...
|
...
|
|