|  |  |  | @ -1,53 +1,127 @@ | 
			
		
	
		
			
				
					|  |  |  |  | import React, { Component } from 'react'; | 
			
		
	
		
			
				
					|  |  |  |  | import { Redirect } from 'react-router'; | 
			
		
	
		
			
				
					|  |  |  |  | import { Link } from 'react-router-dom'; | 
			
		
	
		
			
				
					|  |  |  |  | import { getImageUrl, toPath } from 'educoder' | 
			
		
	
		
			
				
					|  |  |  |  | import React, {Component} from 'react'; | 
			
		
	
		
			
				
					|  |  |  |  | import {Redirect} from 'react-router'; | 
			
		
	
		
			
				
					|  |  |  |  | import {Link} from 'react-router-dom'; | 
			
		
	
		
			
				
					|  |  |  |  | import {getImageUrl, toPath} from 'educoder' | 
			
		
	
		
			
				
					|  |  |  |  | import PropTypes from 'prop-types'; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | class NewFooter extends Component { | 
			
		
	
		
			
				
					|  |  |  |  |   constructor(props) { | 
			
		
	
		
			
				
					|  |  |  |  |     super(props) | 
			
		
	
		
			
				
					|  |  |  |  | 	constructor(props) { | 
			
		
	
		
			
				
					|  |  |  |  | 		super(props) | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   componentWillReceiveProps(newProps, newContext) { | 
			
		
	
		
			
				
					|  |  |  |  | 	componentWillReceiveProps(newProps, newContext) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   render() { | 
			
		
	
		
			
				
					|  |  |  |  |     return ( | 
			
		
	
		
			
				
					|  |  |  |  |       <div className="newFooter edu-txt-center "> | 
			
		
	
		
			
				
					|  |  |  |  | 	render() { | 
			
		
	
		
			
				
					|  |  |  |  | 		return ( | 
			
		
	
		
			
				
					|  |  |  |  | 			<div className="newFooter edu-txt-center "> | 
			
		
	
		
			
				
					|  |  |  |  | 				{/*newContainers*/} | 
			
		
	
		
			
				
					|  |  |  |  |         <div className="inner-footer_con"> | 
			
		
	
		
			
				
					|  |  |  |  | 					{this.props.user&&this.props.user.main_site===true?<div className="footercon"> | 
			
		
	
		
			
				
					|  |  |  |  |             {/* <div className="inline mt40 mb5"> | 
			
		
	
		
			
				
					|  |  |  |  | 				<div className="inner-footer_con"> | 
			
		
	
		
			
				
					|  |  |  |  | 					{this.props.user && this.props.user.main_site === true ? <div className="footercon"> | 
			
		
	
		
			
				
					|  |  |  |  | 						{/* <div className="inline mt40 mb5"> | 
			
		
	
		
			
				
					|  |  |  |  |               <a href="/" className="fl" style={{height:'70px'}}> | 
			
		
	
		
			
				
					|  |  |  |  |                 <img alt="高校智能化教学与实训平台" src={getImageUrl(`images/educoder/headNavLogo.png?1526520218`)} width="70px"> | 
			
		
	
		
			
				
					|  |  |  |  |                 </img> | 
			
		
	
		
			
				
					|  |  |  |  |               </a> | 
			
		
	
		
			
				
					|  |  |  |  |               <span className="fl color-grey-c cdefault font-28 ml22" style={{lineHeight:'74px'}}>EduCoder.net</span> | 
			
		
	
		
			
				
					|  |  |  |  |             </div> */} | 
			
		
	
		
			
				
					|  |  |  |  |             <ul className="clearfix inner-footernav"> | 
			
		
	
		
			
				
					|  |  |  |  |               <li><a href="/" className="fl" target="_blank">网站首页</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |               <li><Link to="/help/about_us" className="fl" target="_blank">关于我们</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  |               <li><Link to="/help/contact_us" className="fl" target="_blank">联系我们</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  |               <li><Link to="/help/cooperatives" className="fl" target="_blank">合作伙伴</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  |               <li><Link to="/help/agreement" className="fl" target="_blank">服务协议</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  |               <li><Link to="/help/help_center" className="fl" target="_blank">帮助中心</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  |               <li><Link to="/help/feedback" className="fl" target="_blank">意见反馈</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  |             </ul> | 
			
		
	
		
			
				
					|  |  |  |  |           </div>:""} | 
			
		
	
		
			
				
					|  |  |  |  |           <div> | 
			
		
	
		
			
				
					|  |  |  |  |             {this.props.mygetHelmetapi === null ? "" : | 
			
		
	
		
			
				
					|  |  |  |  | 							this.props.mygetHelmetapi===undefined|| this.props.mygetHelmetapi.footer===null||this.props.mygetHelmetapi.footer===undefined? | 
			
		
	
		
			
				
					|  |  |  |  | 						<ul className="clearfix inner-footernav"> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li><a href="/" className="fl" target="_blank">网站首页</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li><Link to="/help/about_us" className="fl" target="_blank">关于我们</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li><Link to="/help/contact_us" className="fl" target="_blank">联系我们</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li><Link to="/help/cooperatives" className="fl" target="_blank">合作伙伴</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li><Link to="/help/agreement" className="fl" target="_blank">服务协议</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li><Link to="/help/help_center" className="fl" target="_blank">帮助中心</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li><Link to="/help/feedback" className="fl" target="_blank">意见反馈</Link></li> | 
			
		
	
		
			
				
					|  |  |  |  | 						</ul> | 
			
		
	
		
			
				
					|  |  |  |  | 					</div> : ""} | 
			
		
	
		
			
				
					|  |  |  |  | 					<style> | 
			
		
	
		
			
				
					|  |  |  |  | 						{ | 
			
		
	
		
			
				
					|  |  |  |  | 							` | 
			
		
	
		
			
				
					|  |  |  |  | 							.inner-footernavysl{  display: flex; | 
			
		
	
		
			
				
					|  |  |  |  |     flex-direction:initial;} | 
			
		
	
		
			
				
					|  |  |  |  |             | 
			
		
	
		
			
				
					|  |  |  |  |   .inner-footernavysl li a { | 
			
		
	
		
			
				
					|  |  |  |  |       height: 40px; | 
			
		
	
		
			
				
					|  |  |  |  |     line-height: 40px; | 
			
		
	
		
			
				
					|  |  |  |  |     color:#878786; | 
			
		
	
		
			
				
					|  |  |  |  |      font-size: 19px; | 
			
		
	
		
			
				
					|  |  |  |  |      } | 
			
		
	
		
			
				
					|  |  |  |  |                       | 
			
		
	
		
			
				
					|  |  |  |  |   .inner-footernavysl li Link { | 
			
		
	
		
			
				
					|  |  |  |  |       height: 40px; | 
			
		
	
		
			
				
					|  |  |  |  |     line-height: 40px; | 
			
		
	
		
			
				
					|  |  |  |  |  color:#878786; | 
			
		
	
		
			
				
					|  |  |  |  |      } | 
			
		
	
		
			
				
					|  |  |  |  |       | 
			
		
	
		
			
				
					|  |  |  |  | 					 .intermediatecenter{ | 
			
		
	
		
			
				
					|  |  |  |  | 					 width:100%; | 
			
		
	
		
			
				
					|  |  |  |  | 			display: flex; | 
			
		
	
		
			
				
					|  |  |  |  | 			flex-direction: column; | 
			
		
	
		
			
				
					|  |  |  |  | 			align-items: center; | 
			
		
	
		
			
				
					|  |  |  |  | 			justify-content: center; | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 							` | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 					</style> | 
			
		
	
		
			
				
					|  |  |  |  | 					<div className="intermediatecenter" | 
			
		
	
		
			
				
					|  |  |  |  | 					> | 
			
		
	
		
			
				
					|  |  |  |  | 						<ul className="clearfix inner-footernavysl "> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li><a href="/" className="fl" target="_blank" style={{ | 
			
		
	
		
			
				
					|  |  |  |  | 								fontSize: "20px", | 
			
		
	
		
			
				
					|  |  |  |  | 								color: "#878786", | 
			
		
	
		
			
				
					|  |  |  |  | 							}}>官方合作:</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li className="ml3"><a href="http://www.cmooc.cn/" className="fl" target="_blank">中国高校计算机教育MOOC联盟</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 							<div className="ml15" style={{ | 
			
		
	
		
			
				
					|  |  |  |  | 								"width": "2px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"height": "20px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"background": "rgb(151, 151, 151)", | 
			
		
	
		
			
				
					|  |  |  |  | 								"line-height": "40px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"margin-top": "10px", | 
			
		
	
		
			
				
					|  |  |  |  | 							}}></div> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li className="ml15"><a href="http://xgk.csia.org.cn/" className="fl" target="_blank">信息技术新工科产学研联盟</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 							<div className="ml15" style={{ | 
			
		
	
		
			
				
					|  |  |  |  | 								"width": "2px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"height": "20px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"background": "rgb(151, 151, 151)", | 
			
		
	
		
			
				
					|  |  |  |  | 								"line-height": "40px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"margin-top": "10px", | 
			
		
	
		
			
				
					|  |  |  |  | 							}}></div> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li className="ml15"><a href="https://www.ccf.org.cn/" className="fl" target="_blank">中国计算机学会</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 							<div className="ml15" style={{ | 
			
		
	
		
			
				
					|  |  |  |  | 								"width": "2px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"height": "20px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"background": "rgb(151, 151, 151)", | 
			
		
	
		
			
				
					|  |  |  |  | 								"line-height": "40px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"margin-top": "10px", | 
			
		
	
		
			
				
					|  |  |  |  | 							}}></div> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li className="ml15"><a href="http://www.copu.org.cn/" className="fl" target="_blank">中国开源软件推进联盟</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 							<div  className="ml15" style={{ | 
			
		
	
		
			
				
					|  |  |  |  | 								"width": "2px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"height": "20px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"background": "rgb(151, 151, 151)", | 
			
		
	
		
			
				
					|  |  |  |  | 								"line-height": "40px", | 
			
		
	
		
			
				
					|  |  |  |  | 								"margin-top": "10px", | 
			
		
	
		
			
				
					|  |  |  |  | 							}}></div> | 
			
		
	
		
			
				
					|  |  |  |  | 							<li className="ml15"><a href="http://opengcc.org/" className="fl" target="_blank">绿色计算产业联盟</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 						</ul> | 
			
		
	
		
			
				
					|  |  |  |  | 					</div> | 
			
		
	
		
			
				
					|  |  |  |  | 					<div> | 
			
		
	
		
			
				
					|  |  |  |  | 						{this.props.mygetHelmetapi === null ? "" : | 
			
		
	
		
			
				
					|  |  |  |  | 							this.props.mygetHelmetapi === undefined || this.props.mygetHelmetapi.footer === null || this.props.mygetHelmetapi.footer === undefined ? | 
			
		
	
		
			
				
					|  |  |  |  | 								<p className="footer_con-p inline lineh-30  font-14"> | 
			
		
	
		
			
				
					|  |  |  |  | 									<span className="font-18 fl">©</span> 2019 EduCoder | 
			
		
	
		
			
				
					|  |  |  |  | 									<a style={{"color":"#888"}}  target="_blank" href="http://beian.miit.gov.cn/" className="ml15 mr15">湘ICP备17009477号</a> | 
			
		
	
		
			
				
					|  |  |  |  | 									<a style={{"color":"#888"}}  target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43019002000962"  className="mr15"> | 
			
		
	
		
			
				
					|  |  |  |  | 									<a style={{"color": "#888"}} target="_blank" href="http://beian.miit.gov.cn/" | 
			
		
	
		
			
				
					|  |  |  |  | 										 className="ml15 mr15">湘ICP备17009477号</a> | 
			
		
	
		
			
				
					|  |  |  |  | 									<a style={{"color": "#888"}} target="_blank" | 
			
		
	
		
			
				
					|  |  |  |  | 										 href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43019002000962" | 
			
		
	
		
			
				
					|  |  |  |  | 										 className="mr15"> | 
			
		
	
		
			
				
					|  |  |  |  | 										<img className="vertical4" src={require('./beian.png')}/>湘公网安备43019002000962号 | 
			
		
	
		
			
				
					|  |  |  |  | 									</a> | 
			
		
	
		
			
				
					|  |  |  |  | 									<a href="https://team.trustie.net" style={{"color":"#888"}} | 
			
		
	
		
			
				
					|  |  |  |  | 									<a href="https://team.trustie.net" style={{"color": "#888"}} | 
			
		
	
		
			
				
					|  |  |  |  | 										 target="_blank">Trustie</a>   &   IntelliDE inside. <span | 
			
		
	
		
			
				
					|  |  |  |  | 									className="mr15">版权所有 湖南智擎科技有限公司</span> | 
			
		
	
		
			
				
					|  |  |  |  | 								</p> | 
			
		
	
	
		
			
				
					|  |  |  | @ -56,12 +130,12 @@ class NewFooter extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |  |           <div className="cl"></div> | 
			
		
	
		
			
				
					|  |  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |  |     ); | 
			
		
	
		
			
				
					|  |  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |  | 					</div> | 
			
		
	
		
			
				
					|  |  |  |  | 					<div className="cl"></div> | 
			
		
	
		
			
				
					|  |  |  |  | 				</div> | 
			
		
	
		
			
				
					|  |  |  |  | 			</div> | 
			
		
	
		
			
				
					|  |  |  |  | 		); | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | export default NewFooter; | 
			
		
	
	
		
			
				
					|  |  |  | 
 |