Authored by 2586703@qq.com

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohood into develop

... ... @@ -235,15 +235,28 @@ define('yohood', function(require, exports) {
});
});
//标签设置
$(".show-wrap .image-box").bind("click", function() {
showNone($(this));
});
$("#bigpic").live("mousemove", function() {
showLabel($(this).parent(), 480, 480, 0, 0);
});
$(".show-wrap .image-box").bind("mousemove", function() {
showLabel($(this), 308, 308, 0, 0);
});
if (/(iPad)/i.test(navigator.userAgent)) { //ipad处理
$(".show-wrap .image-box").bind("click", function() {
var timer = setInterval(function(){
if($(".show").size()>0) {
showLabel($(".show"), 480, 480, 0, 0);
clearInterval(timer);
return true;
}
}, 1);
});
}
else {
$(".show-wrap .image-box").bind("click", function() {
showNone($(this));
});
$("#bigpic").live("mousemove", function() {
showLabel($(this).parent(), 480, 480, 0, 0);
});
$(".show-wrap .image-box").bind("mousemove", function() {
showLabel($(this), 308, 308, 0, 0);
});
}
$(".show-wrap .image-box, .img-zoom").bind("mouseout", function() {
showNone($(this));
});
... ...