dev_aliyun
daiao 5 years ago
commit 3c4d6dede5

@ -76,7 +76,7 @@
<img src="<%= cover_url %>" width="120px" height="90px"/>
</div>
</div>
<p style="height:20px;line-height:20px;"><span class="color-red ml20 none" id="cover_file_notice">请上传封面</span></p>
<!-- <p style="height:20px;line-height:20px;"><span class="color-red ml20 none" id="cover_file_notice">请上传封面</span></p>-->
</div>
</div>
<div class="padding30 bor-top-greyE">
@ -168,12 +168,13 @@
$("#author_school_name_notice").addClass("none");
}
var coverId = $("input[name='library[cover_id]']").val();
if ((!coverId || coverId.length == 0) && (!cover_file || cover_file.length == 0)) {
$("#cover_file_notice").removeClass("none");
return
}else{
$("#cover_file_notice").addClass("none");
}
// if ((!coverId || coverId.length == 0) && (!cover_file || cover_file.length == 0)) {
// $("#cover_file_notice").removeClass("none");
// return
// }else{
// $("#cover_file_notice").addClass("none");
// }
if($('.attachments_fields .attachment').length == 0){
$("#file_notice").removeClass("none");

Loading…
Cancel
Save