dev_forum
杨树林 5 years ago
parent abf2789c7a
commit 4f1430c914

@ -65,6 +65,7 @@ class LoginRegisterComponent extends Component {
Whethertoverify:false, Whethertoverify:false,
pciphone:true, pciphone:true,
MyEduCoderModals:false, MyEduCoderModals:false,
registered:undefined,
} }
} }
@ -101,6 +102,7 @@ class LoginRegisterComponent extends Component {
Whethertoverify:false, Whethertoverify:false,
pciphone:true, pciphone:true,
MyEduCoderModals:false, MyEduCoderModals:false,
registered:undefined,
} }
} }
@ -880,12 +882,15 @@ class LoginRegisterComponent extends Component {
setNotcompleteds=()=>{ setNotcompleteds=()=>{
this.setState({ this.setState({
Notcompleteds:true, Notcompleteds:true,
MyEduCoderModals:false MyEduCoderModals:false,
registered:undefined,
}) })
}; };
setMyEduCoderModals=()=>{ setMyEduCoderModals=()=>{
this.setState({ this.setState({
MyEduCoderModals:true MyEduCoderModals:true,
registered:"注册成功"
}) })
}; };
render() { render() {
@ -1039,6 +1044,7 @@ class LoginRegisterComponent extends Component {
} }
{this.state.MyEduCoderModals===true? <Notcompletedysl {this.state.MyEduCoderModals===true? <Notcompletedysl
modalsType={this.state.MyEduCoderModals} modalsType={this.state.MyEduCoderModals}
registered={this.state.registered}
setNotcompleteds={()=>{this.setNotcompleteds()}} setNotcompleteds={()=>{this.setNotcompleteds()}}
/>:""} />:""}

@ -53,13 +53,13 @@ class Notcompletedysl extends Component {
closable={false} closable={false}
footer={null} footer={null}
destroyOnClose={true} destroyOnClose={true}
title="提示" title={this.props.registered===undefined?"提示":"注册成功"}
centered={true} centered={true}
visible={this.props.modalsType} visible={this.props.modalsType}
width="530px" width="530px"
> >
<div className="educouddiv"> <div className="educouddiv">
<div className={"tabeltext-alignleft mt20"}><p>完善您的资料将获得更多的使用权限</p></div> <div className={"tabeltext-alignleft"}><p style={{fontSize: "16px"}}>完善您的资料将获得更多的使用权限</p></div>
<div className="clearfix mt30 edu-txt-center"> <div className="clearfix mt30 edu-txt-center">
<a className="task-btn mr30" onClick={()=>this.modalCancel()}>取消</a> <a className="task-btn mr30" onClick={()=>this.modalCancel()}>取消</a>
<a className="task-btn task-btn-orange" onClick={()=>this.setDownload()}>立即完善</a> <a className="task-btn task-btn-orange" onClick={()=>this.setDownload()}>立即完善</a>

Loading…
Cancel
Save