dev_forum
杨树林 6 years ago
parent f2605ef12d
commit 26596f529b

@ -604,7 +604,7 @@ class Trialapplication extends Component {
{ {
Phonenumberisnotco && Phonenumberisnotco != "" ? Phonenumberisnotco && Phonenumberisnotco != "" ?
<p className="color-red mt5 mb5" style={{width: " 100%", height: "20px"}}> <p className="color-red mt5 mb5" style={{width: " 100%", height: "20px"}}>
<span>{Phonenumberisnotco}</span> <span style={{textAlign:"left"}}>{Phonenumberisnotco}</span>
</p> </p>
: <div style={{height: "20px"}}></div> : <div style={{height: "20px"}}></div>
} }
@ -661,7 +661,7 @@ class Trialapplication extends Component {
{ {
Phonenumberisnotcocodes && Phonenumberisnotcocodes != "" ? Phonenumberisnotcocodes && Phonenumberisnotcocodes != "" ?
<p className="color-red " style={{width: " 100%", height: "20px"}}> <p className="color-red " style={{width: " 100%", height: "20px"}}>
<span>{Phonenumberisnotcocodes}</span> <span style={{textAlign:"left"}}>{Phonenumberisnotcocodes}</span>
</p> </p>
: <div style={{height: "20px"}}></div> : <div style={{height: "20px"}}></div>
} }
@ -676,7 +676,7 @@ class Trialapplication extends Component {
{ {
Phonenumberisnotcoreason && Phonenumberisnotcoreason != "" ? Phonenumberisnotcoreason && Phonenumberisnotcoreason != "" ?
<p className="color-red" style={{width: " 100%", height: "20px"}}> <p className="color-red" style={{width: " 100%", height: "20px"}}>
<span>{Phonenumberisnotcoreason}</span> <span style={{textAlign:"left"}}>{Phonenumberisnotcoreason}</span>
</p> </p>
: <div style={{height: "20px"}}></div> : <div style={{height: "20px"}}></div>
} }

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

Loading…
Cancel
Save