|
|
@ -352,15 +352,17 @@ class NewHeader extends Component {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Modal>
|
|
|
|
</Modal>
|
|
|
|
<div className="educontent clearfix">
|
|
|
|
<a href="/" className={"ml20 fl"}>
|
|
|
|
{/*<%= link_to image_tag("/images/educoder/logo.png", alt:"高校智能化教学与实训平台", className:"logoimg"), home_path %>*/}
|
|
|
|
|
|
|
|
<a href="/">
|
|
|
|
|
|
|
|
{ImageUrlType===true?<img alt="高校智能化教学与实训平台" className="fl" src={getImageUrl(ImageUrl)} style={{height:'60px'}} />:<img alt="高校智能化教学与实训平台" className="logoimg" src={getImageUrl(ImageUrl)}/>}
|
|
|
|
{ImageUrlType===true?<img alt="高校智能化教学与实训平台" className="fl" src={getImageUrl(ImageUrl)} style={{height:'60px'}} />:<img alt="高校智能化教学与实训平台" className="logoimg" src={getImageUrl(ImageUrl)}/>}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<div className="educontent">
|
|
|
|
|
|
|
|
{/*<%= link_to image_tag("/images/educoder/logo.png", alt:"高校智能化教学与实训平台", className:"logoimg"), home_path %>*/}
|
|
|
|
|
|
|
|
|
|
|
|
<div className="head-nav pr">
|
|
|
|
<div className="head-nav pr">
|
|
|
|
|
|
|
|
|
|
|
|
<ul id="header-nav">
|
|
|
|
<ul id="header-nav">
|
|
|
|
{/*<li className={`${activeIndex === true ? 'active' : ''}`}><a href="/">首页</a></li>*/}
|
|
|
|
{/*<li className={`${activeIndex === true ? 'active' : ''}`}><a href="/">首页</a></li>*/}
|
|
|
|
|
|
|
|
<li><a href="/">首页</a></li>
|
|
|
|
<li><a href="/paths">实践课程</a></li>
|
|
|
|
<li><a href="/paths">实践课程</a></li>
|
|
|
|
<li><a href="/courses">翻转课堂</a></li>
|
|
|
|
<li><a href="/courses">翻转课堂</a></li>
|
|
|
|
|
|
|
|
|
|
|
@ -399,7 +401,16 @@ class NewHeader extends Component {
|
|
|
|
<li className={`${activeForums === true ? 'active' : ''}`}><a href="/forums">交流问答</a></li>
|
|
|
|
<li className={`${activeForums === true ? 'active' : ''}`}><a href="/forums">交流问答</a></li>
|
|
|
|
<li className={`${activeCourses === true ? 'active' : ''}`} style={{display:ecUrl===null||ecUrl===undefined||ecUrl===""?'none':'block'}}><a href={ecUrl}>{ecUrl===null||ecUrl===undefined||ecUrl===""?'':'工程认证'}</a></li>
|
|
|
|
<li className={`${activeCourses === true ? 'active' : ''}`} style={{display:ecUrl===null||ecUrl===undefined||ecUrl===""?'none':'block'}}><a href={ecUrl}>{ecUrl===null||ecUrl===undefined||ecUrl===""?'':'工程认证'}</a></li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<div className="posi-search" id="posi-search" style={{display: 'none'}}>
|
|
|
|
<style>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
`
|
|
|
|
|
|
|
|
.mar55{
|
|
|
|
|
|
|
|
margin-right: 55px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<div className="posi-search mar55" id="posi-search" style={{display: 'none'}}>
|
|
|
|
<div className="search-all clearfix">
|
|
|
|
<div className="search-all clearfix">
|
|
|
|
{/*<!--<a href="javascript:void(0)" className="search-clear fl" onclick="closeSearch();">×</a>-->*/}
|
|
|
|
{/*<!--<a href="javascript:void(0)" className="search-clear fl" onclick="closeSearch();">×</a>-->*/}
|
|
|
|
<div className="fl pr search-clear edu-menu-panel" style={{display: 'none'}}>
|
|
|
|
<div className="fl pr search-clear edu-menu-panel" style={{display: 'none'}}>
|
|
|
@ -464,7 +475,7 @@ class NewHeader extends Component {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className="fr head-right">
|
|
|
|
<div className="fr head-right mr10">
|
|
|
|
<a href="javascript:void(0)" id="search-open" className="fl mr30 headIcon">
|
|
|
|
<a href="javascript:void(0)" id="search-open" className="fl mr30 headIcon">
|
|
|
|
{/*"/images/educoder/icon/search.svg"
|
|
|
|
{/*"/images/educoder/icon/search.svg"
|
|
|
|
<img src={getImageUrl(`images/educoder/icon/search.svg`)} /> */}
|
|
|
|
<img src={getImageUrl(`images/educoder/icon/search.svg`)} /> */}
|
|
|
|