|  |  |  | @ -125,63 +125,7 @@ class InfosCourse extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 						{ | 
			
		
	
		
			
				
					|  |  |  |  | 							(!data || data.courses.length==0) && (!is_current || (this.props.current_user && this.props.current_user.user_identity === "学生" )) && <NoneData></NoneData> | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 						{ | 
			
		
	
		
			
				
					|  |  |  |  | 							data && data.courses && data.courses.map((item,key)=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 								return( | 
			
		
	
		
			
				
					|  |  |  |  | 									<div className="square-Item" onClick={()=>this.turnToCourses(`${item.first_category_url}`,item.can_visited)} style={{"cursor": "pointer"}}> | 
			
		
	
		
			
				
					|  |  |  |  | 										{ | 
			
		
	
		
			
				
					|  |  |  |  | 											item.is_public == 1 && | 
			
		
	
		
			
				
					|  |  |  |  | 											<React.Fragment> | 
			
		
	
		
			
				
					|  |  |  |  | 												<div className={key == 0 ?"publicpart orangeBlack":"publicpart"}></div> | 
			
		
	
		
			
				
					|  |  |  |  | 												<span className="smalltrangle"></span> | 
			
		
	
		
			
				
					|  |  |  |  | 												<span className="publicword">公开</span> | 
			
		
	
		
			
				
					|  |  |  |  | 											</React.Fragment> | 
			
		
	
		
			
				
					|  |  |  |  | 										} | 
			
		
	
		
			
				
					|  |  |  |  | 										{ | 
			
		
	
		
			
				
					|  |  |  |  | 											item.can_visited ==false? | 
			
		
	
		
			
				
					|  |  |  |  | 												<div className="closeSquare"> | 
			
		
	
		
			
				
					|  |  |  |  | 													<img src={getImageUrl("images/educoder/icon/lockclose.svg")} className="mt80 mb25"/> | 
			
		
	
		
			
				
					|  |  |  |  | 													<p className="font-14 color-white">非成员不能访问</p> | 
			
		
	
		
			
				
					|  |  |  |  | 												</div>:"" | 
			
		
	
		
			
				
					|  |  |  |  | 										} | 
			
		
	
		
			
				
					|  |  |  |  | 					  | 
			
		
	
		
			
				
					|  |  |  |  | 										<div className="substance"> | 
			
		
	
		
			
				
					|  |  |  |  | 											<p className="subName font-16"> | 
			
		
	
		
			
				
					|  |  |  |  | 												<span>{item.name}</span> | 
			
		
	
		
			
				
					|  |  |  |  | 											</p> | 
			
		
	
		
			
				
					|  |  |  |  | 											<span><img alt="用户" className="radius mt15" height="60" src={getImageUrl('images/'+`${item.teacher && item.teacher.avatar_url}`)} width="60"/></span> | 
			
		
	
		
			
				
					|  |  |  |  | 											<p className="font-14 mt10"><span>{item.teacher && item.teacher.real_name}</span></p> | 
			
		
	
		
			
				
					|  |  |  |  | 											<p className="font-16 mb15 task-hide mt10"><span className="color-grey-98">{item.teacher && item.teacher.school_name}</span></p> | 
			
		
	
		
			
				
					|  |  |  |  | 										</div> | 
			
		
	
		
			
				
					|  |  |  |  | 										<div className="edu-txt-center course-bottom"> | 
			
		
	
		
			
				
					|  |  |  |  | 											<div className="inline color-grey-6"> | 
			
		
	
		
			
				
					|  |  |  |  | 												{ | 
			
		
	
		
			
				
					|  |  |  |  | 													item.members_count > 0 && | 
			
		
	
		
			
				
					|  |  |  |  | 													<Tooltip placement="bottom" title="成员"> | 
			
		
	
		
			
				
					|  |  |  |  |                           <span className="fl ml10 mr10 squareIconSpan"> | 
			
		
	
		
			
				
					|  |  |  |  |                           <i className="iconfont icon-chengyuan fl mr3" data-tip-down="成员"></i>{item.members_count}</span> | 
			
		
	
		
			
				
					|  |  |  |  | 													</Tooltip> | 
			
		
	
		
			
				
					|  |  |  |  | 												} | 
			
		
	
		
			
				
					|  |  |  |  | 												{ | 
			
		
	
		
			
				
					|  |  |  |  | 													item.homework_commons_count > 0 && | 
			
		
	
		
			
				
					|  |  |  |  | 													<Tooltip placement="bottom" title="作业"> | 
			
		
	
		
			
				
					|  |  |  |  |                           <span className="fl ml10 mr10 squareIconSpan"> | 
			
		
	
		
			
				
					|  |  |  |  |                           <i className="iconfont icon-zuoye fl mr3" data-tip-down="作业"></i>{item.homework_commons_count}</span> | 
			
		
	
		
			
				
					|  |  |  |  | 													</Tooltip> | 
			
		
	
		
			
				
					|  |  |  |  | 												} | 
			
		
	
		
			
				
					|  |  |  |  | 												{ | 
			
		
	
		
			
				
					|  |  |  |  | 													item.attachments_count > 0 && | 
			
		
	
		
			
				
					|  |  |  |  | 													<Tooltip placement="bottom" title="资源"> | 
			
		
	
		
			
				
					|  |  |  |  |                           <span className="fl ml10 mr10 squareIconSpan"> | 
			
		
	
		
			
				
					|  |  |  |  |                           <i className="iconfont icon-ziyuan fl mr3" data-tip-down="资源"></i>{item.attachments_count}</span> | 
			
		
	
		
			
				
					|  |  |  |  | 													</Tooltip> | 
			
		
	
		
			
				
					|  |  |  |  | 												} | 
			
		
	
		
			
				
					|  |  |  |  | 											</div> | 
			
		
	
		
			
				
					|  |  |  |  | 										</div> | 
			
		
	
		
			
				
					|  |  |  |  | 									</div> | 
			
		
	
		
			
				
					|  |  |  |  | 								) | 
			
		
	
		
			
				
					|  |  |  |  | 							}) | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 					</div> | 
			
		
	
		
			
				
					|  |  |  |  | 				</Spin> | 
			
		
	
		
			
				
					|  |  |  |  | 			</div> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |