Browse Source

资源样式调整

luyanan 7 years ago
parent
commit
b698f8da1b
1 changed files with 5 additions and 4 deletions
  1. 5 4
      e/r.html

+ 5 - 4
e/r.html

@ -218,6 +218,7 @@ $(document).ready(function() {
218 218
						}else{
219 219
							othisName.innerHTML = mydata.organization.name;
220 220
						}
221
						
221 222
						if(mydata.organization.subject){
222 223
							othisOther.innerHTML = (mydata.organization.subject).replace(/,/, " | ");
223 224
						}
@ -262,7 +263,7 @@ $(document).ready(function() {
262 263
						imgUrl="http://www.ekexiu.com/data/resource/" + mydata.images[0].imageSrc.replace(/.jpg/,"_s.jpg");
263 264
						var rPdiv ='';
264 265
						for(var i = 0; i < mydata.images.length; i++) {
265
							rPdiv +='<li class="swiper-slide"><a class="tab-re"><img src="../data/resource/' + mydata.images[i].imageSrc + '" /></a></li>'
266
							rPdiv +='<li class="swiper-slide"><a class="tab-re"><img src="../data/resource/' + mydata.images[i].imageSrc + '" /></a></li>'
266 267
						}
267 268
						$("#index-container ul").append(rPdiv);
268 269
					 	//轮换图片滚动
@ -434,8 +435,8 @@ $(document).ready(function() {
434 435
										add.setAttribute("data-id",$respond[n].resourceId);
435 436
										var itemlist = '<div class="flexCenter OflexCenter"><div class="madiaHead resourceHead" style="background-image:url('+imgL+')"></div>';
436 437
											itemlist += '<div class="madiaInfo OmadiaInfo">';
437
											itemlist += '<p class="ellipsisSty h2Font" id="usertitle">'+$respond[n].resourceName+'</p>';
438
											itemlist += '<p><span class="h1Font">'+thisName+'</span><em class="authiconNew '+thisAuth+'" title="'+thisTitle+'"></em></p>';
438
											itemlist += '<p class="ellipsisSty-2 h1Font" id="usertitle">'+$respond[n].resourceName+'</p>';
439
											itemlist += '<p><span class="h2Font">'+thisName+'</span><em class="authiconNew '+thisAuth+'" title="'+thisTitle+'"></em></p>';
439 440
											itemlist += '</div></div>';
440 441
											
441 442
										add.innerHTML=itemlist;
@ -534,4 +535,4 @@ $(document).ready(function() {
534 535
</script>
535 536
</body>
536 537
537
</html>
538
</html>