|
|
|
@ -48,12 +48,6 @@ class Infos extends Component{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 试用申请
|
|
|
|
|
trialapplications =()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
isRenders: true,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//获取个人主页信息
|
|
|
|
|
getInfo = (user_login) =>{
|
|
|
|
@ -157,6 +151,19 @@ class Infos extends Component{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 试用申请
|
|
|
|
|
trialapplications =()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
isRenders: true,
|
|
|
|
|
showTrial:true
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
cancelModulationModels=()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
isRenders: false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render(){
|
|
|
|
|
let {
|
|
|
|
|
data ,
|
|
|
|
@ -174,7 +181,7 @@ class Infos extends Component{
|
|
|
|
|
return(
|
|
|
|
|
<div className="newMain">
|
|
|
|
|
{
|
|
|
|
|
isRenders && <Trialapplication {...this.state} />
|
|
|
|
|
isRenders && <Trialapplication {...this.state} Cancel={() => this.cancelModulationModels()}/>
|
|
|
|
|
}
|
|
|
|
|
<div className="user-main-half">
|
|
|
|
|
<div className="user-headImg"></div>
|
|
|
|
|