|
|
|
@ -547,13 +547,13 @@ submittojoinclass=(value)=>{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// trialapplications =()=>{
|
|
|
|
|
// console.log("点击了")
|
|
|
|
|
// this.setState({
|
|
|
|
|
// isRenders: true,
|
|
|
|
|
// showTrial:true,
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
trialapplications =()=>{
|
|
|
|
|
console.log("点击了")
|
|
|
|
|
this.setState({
|
|
|
|
|
isRenders: true,
|
|
|
|
|
showTrial:true,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 关闭
|
|
|
|
|
cancelModulationModels = () => {
|
|
|
|
@ -618,14 +618,13 @@ submittojoinclass=(value)=>{
|
|
|
|
|
{/* :""*/}
|
|
|
|
|
{/*}*/}
|
|
|
|
|
|
|
|
|
|
{/*{*/}
|
|
|
|
|
{/* isRenders&&isRenders===true?*/}
|
|
|
|
|
{/* <Trialapplication*/}
|
|
|
|
|
{/* {...this.state}*/}
|
|
|
|
|
{/* Cancel={() => this.cancelModulationModels()}*/}
|
|
|
|
|
{/* />*/}
|
|
|
|
|
{/* :""*/}
|
|
|
|
|
{/*}*/}
|
|
|
|
|
isRenders&&isRenders===true?
|
|
|
|
|
<Trialapplication
|
|
|
|
|
{...this.state}
|
|
|
|
|
Cancel={() => this.cancelModulationModels()}
|
|
|
|
|
/>
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
<Trialapplication {...this.state} Cancel={() => this.cancelModulationModels()} ></Trialapplication>
|
|
|
|
|
<div className="educontent clearfix">
|
|
|
|
|
{/*<%= link_to image_tag("/images/educoder/logo.png", alt:"高校智能化教学与实训平台", className:"logoimg"), home_path %>*/}
|
|
|
|
@ -757,7 +756,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/projects`}>我的项目</Link></li>
|
|
|
|
|
<li><a href={`/account/profile`}>账号管理</a></li>
|
|
|
|
|
{/*<li><a onClick={()=>this.educoderlogin()} >登入测试接口</a></li>*/}
|
|
|
|
|
{/*<li><a onClick={()=>this.trialapplications()} >试用申请</a> </li>*/}
|
|
|
|
|
<li><a onClick={()=>this.trialapplications()} >试用申请</a> </li>
|
|
|
|
|
{/*<li><Link to={`/interest`}>兴趣页</Link></li>*/}
|
|
|
|
|
|
|
|
|
|
<li className="bor-top-greyE">
|
|
|
|
|