...
|
...
|
@@ -348,7 +348,7 @@ function bindImgDeleteEvent() { |
|
|
var number = $(this).closest('.left.right-content').find('.thumb-box').length - 1;
|
|
|
|
|
|
$t.text(number + '/4');
|
|
|
$thumb.siblings('.warn').addClass('hide');
|
|
|
$thumb.siblings('.img-upload').show();
|
|
|
$thumb.remove();
|
|
|
});
|
|
|
}
|
...
|
...
|
@@ -381,13 +381,15 @@ function bindUploadEvent() { |
|
|
$t.text(n + '/4');
|
|
|
bindImgDeleteEvent();
|
|
|
|
|
|
if (n >= 4) {
|
|
|
$(that).hide();
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
new _alert(result.message).show();
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
$(that).siblings('.warn').removeClass('hide');
|
|
|
}
|
|
|
});
|
|
|
}
|
...
|
...
|
|