|
|
@ -713,68 +713,68 @@ submittojoinclass=(value)=>{
|
|
|
|
><a href={this.props.Headertop===undefined?"":this.props.Headertop.auth}>工程认证</a></li>
|
|
|
|
><a href={this.props.Headertop===undefined?"":this.props.Headertop.auth}>工程认证</a></li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
{
|
|
|
|
</div>
|
|
|
|
`
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
`
|
|
|
|
.posi-searchs{
|
|
|
|
.posi-searchs{
|
|
|
|
opacity: 1;
|
|
|
|
opacity: 1;
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
top: -2px;
|
|
|
|
top: -2px;
|
|
|
|
background: #fff;
|
|
|
|
background: #fff;
|
|
|
|
z-index: 2;
|
|
|
|
z-index: 2;
|
|
|
|
right: -241px;
|
|
|
|
right: 185px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`
|
|
|
|
`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<div className="posi-searchs" >
|
|
|
|
<div className="posi-searchs" >
|
|
|
|
<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'}}>
|
|
|
|
<input type="hidden" id="search_type" value="1"></input>
|
|
|
|
<input type="hidden" id="search_type" value="1"></input>
|
|
|
|
<span className="searchkey">实训</span>
|
|
|
|
<span className="searchkey">实训</span>
|
|
|
|
<i className="fa fa-angle-down ml5 font-16"></i>
|
|
|
|
<i className="fa fa-angle-down ml5 font-16"></i>
|
|
|
|
<ul id="searchkey" className="edu-menu-list edu-txt-center" style={{minWidth: '80px',right: '-10px',top: '50px'}}>
|
|
|
|
<ul id="searchkey" className="edu-menu-list edu-txt-center" style={{minWidth: '80px',right: '-10px',top: '50px'}}>
|
|
|
|
<li><a>实训</a></li>
|
|
|
|
<li><a>实训</a></li>
|
|
|
|
<li><a>课堂</a></li>
|
|
|
|
<li><a>课堂</a></li>
|
|
|
|
<li><a>用户</a></li>
|
|
|
|
<li><a>用户</a></li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/*<input type="text" className="search-input fl" id="search-input" */}
|
|
|
|
{/*<input type="text" className="search-input fl" id="search-input" */}
|
|
|
|
{/*onKeyDown={this.onKeywordSearchKeyDown} name="search_keyword" placeholder="搜索实训项目"/>*/}
|
|
|
|
{/*onKeyDown={this.onKeywordSearchKeyDown} name="search_keyword" placeholder="搜索实训项目"/>*/}
|
|
|
|
{/*搜索框*/}
|
|
|
|
{/*搜索框*/}
|
|
|
|
{showSearchOpentype===true?<div
|
|
|
|
{showSearchOpentype===true?<div
|
|
|
|
className={"HeaderSearch"}
|
|
|
|
className={"HeaderSearch"}
|
|
|
|
onBlur={(e)=>this.hideshowSearchOpen(e)} onMouseLeave={()=>this.setevaluatinghides()}>
|
|
|
|
onBlur={(e)=>this.hideshowSearchOpen(e)} onMouseLeave={()=>this.setevaluatinghides()}>
|
|
|
|
<Search
|
|
|
|
<Search
|
|
|
|
id={"HeaderSearchs"}
|
|
|
|
id={"HeaderSearchs"}
|
|
|
|
placeholder="实践课程/翻转课堂/开发社区/交流问答"
|
|
|
|
placeholder="实践课程/翻转课堂/开发社区/交流问答"
|
|
|
|
onInput={()=>this.onKeywordSearchKeyDowns()}
|
|
|
|
onInput={()=>this.onKeywordSearchKeyDowns()}
|
|
|
|
onSearch={(value) => this.onKeywordSearchKeyDown(value)}
|
|
|
|
onSearch={(value) => this.onKeywordSearchKeyDown(value)}
|
|
|
|
// onPressEnter={this.onKeywordSearchKeyDown}
|
|
|
|
// onPressEnter={this.onKeywordSearchKeyDown}
|
|
|
|
style={{ width: 300,height:32}}
|
|
|
|
style={{ width: 300,height:32}}
|
|
|
|
autoFocus={true}
|
|
|
|
autoFocus={true}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>:""}
|
|
|
|
</div>:""}
|
|
|
|
|
|
|
|
|
|
|
|
{/*<a className="search-icon fl" id="header_keyword_search" onClick={this.onKeywordSearch}>*/}
|
|
|
|
{/*<a className="search-icon fl" id="header_keyword_search" onClick={this.onKeywordSearch}>*/}
|
|
|
|
{/*/!*<i className="fa fa-search font-16 mt23 color-grey-6"></i>*!/*/}
|
|
|
|
{/*/!*<i className="fa fa-search font-16 mt23 color-grey-6"></i>*!/*/}
|
|
|
|
{/*<i className="iconfont icon-sousuo color-blue"></i>*/}
|
|
|
|
{/*<i className="iconfont icon-sousuo color-blue"></i>*/}
|
|
|
|
|
|
|
|
|
|
|
|
{/*</a>*/}
|
|
|
|
{/*</a>*/}
|
|
|
|
{/* TODO 需要服务端接口提供最近搜索
|
|
|
|
{/* TODO 需要服务端接口提供最近搜索
|
|
|
|
<div className="search-content none" style="width: 86%;left: 0px;">
|
|
|
|
<div className="search-content none" style="width: 86%;left: 0px;">
|
|
|
|
<div className="search-title">最近搜索</div>
|
|
|
|
<div className="search-title">最近搜索</div>
|
|
|
|
<div><a href="javascript:void(0)" className="search_history">绿盟</a></div>
|
|
|
|
<div><a href="javascript:void(0)" className="search_history">绿盟</a></div>
|
|
|
|
<div><a href="javascript:void(0)" className="search_history">qwe</a></div>
|
|
|
|
<div><a href="javascript:void(0)" className="search_history">qwe</a></div>
|
|
|
|
</div>*/}
|
|
|
|
</div>*/}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/*<span className="font-15 fr mt17">
|
|
|
|
{/*<span className="font-15 fr mt17">
|
|
|
|
<%= link_to '登录', signin_path, :className => "mr5" %>
|
|
|
|
<%= link_to '登录', signin_path, :className => "mr5" %>
|
|
|
|
<em className="vertical-line"></em>
|
|
|
|
<em className="vertical-line"></em>
|
|
|
|