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
						}else{
218
						}else{
219
							othisName.innerHTML = mydata.organization.name;
219
							othisName.innerHTML = mydata.organization.name;
220
						}
220
						}
221
						
221
						if(mydata.organization.subject){
222
						if(mydata.organization.subject){
222
							othisOther.innerHTML = (mydata.organization.subject).replace(/,/, " | ");
223
							othisOther.innerHTML = (mydata.organization.subject).replace(/,/, " | ");
223
						}
224
						}
262
						imgUrl="http://www.ekexiu.com/data/resource/" + mydata.images[0].imageSrc.replace(/.jpg/,"_s.jpg");
263
						imgUrl="http://www.ekexiu.com/data/resource/" + mydata.images[0].imageSrc.replace(/.jpg/,"_s.jpg");
263
						var rPdiv ='';
264
						var rPdiv ='';
264
						for(var i = 0; i < mydata.images.length; i++) {
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
						$("#index-container ul").append(rPdiv);
268
						$("#index-container ul").append(rPdiv);
268
					 	//轮换图片滚动
269
					 	//轮换图片滚动
434
										add.setAttribute("data-id",$respond[n].resourceId);
435
										add.setAttribute("data-id",$respond[n].resourceId);
435
										var itemlist = '<div class="flexCenter OflexCenter"><div class="madiaHead resourceHead" style="background-image:url('+imgL+')"></div>';
436
										var itemlist = '<div class="flexCenter OflexCenter"><div class="madiaHead resourceHead" style="background-image:url('+imgL+')"></div>';
436
											itemlist += '<div class="madiaInfo OmadiaInfo">';
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
											itemlist += '</div></div>';
440
											itemlist += '</div></div>';
440
											
441
											
441
										add.innerHTML=itemlist;
442
										add.innerHTML=itemlist;
534
</script>
535
</script>
535
</body>
536
</body>
536
537
537
</html>
538
</html>