Browse Source

修改科研文章列表默认图片

xuchunyang 8 years ago
parent
commit
3eb4b7cac1
2 changed files with 3 additions and 3 deletions
  1. 2 2
      js/news-list.js
  2. 1 1
      js/popup.js

+ 2 - 2
js/news-list.js

@ -53,7 +53,7 @@ $(function() {
53 53
						if(data.data[i].articleImg) {
54 54
							$add.find(".resourceImg").attr("src", "data/article/" + data.data[i].articleImg);
55 55
						} else {
56
							$add.find(".resourceImg").attr("src", "/images/default-resource.jpg");
56
							$add.find(".resourceImg").attr("src", "/images/default-artical.jpg");
57 57
						}
58 58

59 59
						$(".loading").remove();
@ -136,7 +136,7 @@ $(function() {
136 136
					}else{
137 137
						var $liMages = $(
138 138
								 '<div id="WU_FILE" class="file-item thumbnail ResImgBox" style="max-width:226px;width:226px;height: 226px;">'+
139
						 			'<img class="resImg headRadius resourceImg" style="display: inline;" src="/images/default-resource.jpg">'+								 			
139
						 			'<img class="resImg headRadius resourceImg" style="display: inline;" src="/images/default-artical.jpgp">'+								 			
140 140
						 			'</div>'
141 141
						            )
142 142
					}

+ 1 - 1
js/popup.js

@ -959,7 +959,7 @@ function newsBombBox() {
959 959
		/////////////文章图片上传 结束////////////////////
960 960
		//按钮盒子
961 961
		PopHtml +='<table class="btntab clearfix"><tr><td>';
962
		PopHtml += '<div class="addrebtn" style="text-align:center;"><input type="button" value="保存" class="frmtype frmbtn" id="inputb"><input type="button" value="删除资源" class="frmtype frmbtn frmrbtn" id="deletedResource" style="display: none;"></div>';
962
		PopHtml += '<div class="addrebtn" style="text-align:center;"><input type="button" value="保存" class="frmtype frmbtn" id="inputb"><input type="button" value="删除文章" class="frmtype frmbtn frmrbtn" id="deletedResource" style="display: none;"></div>';
963 963
		PopHtml += '</td></tr></table>';
964 964
		PopHtml += '</div></form>';
965 965
		//关闭按钮