Authored by 郝肖肖

Merge branch 'release/2.0' of git.yoho.cn:fe/yoho-blk into release/2.0

... ... @@ -588,6 +588,7 @@ function validateCaptchaSms() {
smsIsRight = true;
}).fail(function() {
ep.emit('smsCode', false);
refreshCaptcha();
});
}
... ...
... ... @@ -31,6 +31,7 @@ var $sizeInfo = $('.size-info');
var $saleReturn = $('#saleReturn');
var $thumbCur = $('.thumb-wrap .cur'); // 当前选中展示图片
var $calCol = $('.collected .cal-col');
var SLIDETIME = 200;
... ... @@ -323,6 +324,8 @@ $('#collect-product').click(function() {
if ($this.hasClass('coll')) {
param.type = 'cancel';
$calCol.prev().show();
$calCol.hide();
}
$.ajax({
... ... @@ -338,6 +341,19 @@ $('#collect-product').click(function() {
});
});
// 取消收藏提示效果
$('#collect-product').mouseenter(function() {
if ($(this).hasClass('coll')) {
$calCol.prev().hide();
$calCol.show();
}
}).mouseleave(function() {
if ($(this).hasClass('coll')) {
$calCol.prev().show();
$calCol.hide();
}
});
$('.more-brand-intro').click(function() {
$('body').css({overflow: 'hidden'});
new Dialog({
... ...