dengzhiguo hace 6 años
padre
commit
07230cda9e
Se han modificado 2 ficheros con 4 adiciones y 5 borrados
  1. 2 2
      src/css/facilitator/facilitator.css
  2. 2 3
      src/js/facilitator/facilitator.js

+ 2 - 2
src/css/facilitator/facilitator.css

@@ -9,7 +9,7 @@ border-radius: 5px;margin-right:30px;}
 .facTab>span{font-size: 18px;line-height: 26px;padding:0 15px;border:1px solid #2EA1EA;margin-right: 20px;
 border-radius: 13px;color:#2EA1EA;cursor: pointer;}
 .facTab>span.facActive{background-color: #2EA1EA;color:#fff;}
-.facFirst{min-height:500px;padding:30px 0;}
+.facFirst{min-height:500px;padding:30px 0;display: none;}
 .jianjie>h4{letter-spacing: 2px;margin-bottom: 20px;}
 .jianjie>p{letter-spacing: 1px;margin-bottom: 50px;line-height: 22px;}
 .rongyuImg{text-align: center;}
@@ -24,7 +24,7 @@ justify-content: space-between;flex-wrap: wrap;margin-bottom: 50px;}
 .lianxiCont{display: flex;justify-content: space-between;}
 .lianxiCont>div{width:370px;height:135px;background-color: ;}
 
-#facAll{display: none;}
+#facAll{display: block;}
 .facAll{width:1200px;min-height: 320px;padding: 20px 0;display: flex;
 justify-content: flex-start;flex-wrap: wrap;}
 .facAll>div{width:225px;height:270px;background-color: #fff;margin-right: 15px;}

+ 2 - 3
src/js/facilitator/facilitator.js

@@ -10,10 +10,9 @@ $(function(){
 		$(".facTab>span").removeClass("facActive");
 		$(this).addClass("facActive");
 		var facIndex=$(".facTab>span.facActive").index();
-		console.log(facIndex);
 		$("div.facFirst").css("display","none");
 		$("#facAll").css("display","none");
-		if(facIndex==0){
+		if(facIndex==1){
 			$("div.facFirst").css("display","block");
 		}else{
 			$("#facAll").css("display","block");
@@ -56,7 +55,7 @@ $(function(){
                     if(dataList.length){
                      	for(var a=0;a<dataList.length;a++){
                      		var name=dataList[a].name?dataList[a].name:"";
-                    		var imgUrl=dataList[a].maxImgUrl?globalConfig.avatarUploadHost+dataList[a].maxImgUrl:globalConfig.portalHost+"/img/fac/fac.jpg"
+                    		var imgUrl=dataList[a].maxImgUrl?globalConfig.avatarUploadHost+dataList[a].maxImgUrl:globalConfig.portalHost+"/img/initPic/serviceInit.jpg"
                      		contHtml+=`<div>
 						    				<img src="${imgUrl}" alt="" />
 						    				<p>${name}</p>