Authored by biao

update

... ... @@ -17,7 +17,7 @@
<span class="iconfont">&#xe61f;</span>
</div>
<span class="img-up-tip">0/4</span>
<span class="warn hide">
<span class="warn">
<span class="iconfont blue">&#xe60d;</span>
<span class="blue">最多上传4张照片</span>
</span>
... ...
... ... @@ -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');
}
});
}
... ...