|
|
|
@ -74,18 +74,19 @@ export class Register extends React.Component<RegisterProps, RegisterState>{ |
|
|
|
|
|
|
|
|
|
render() { |
|
|
|
|
return ( |
|
|
|
|
<div className="d-flex align-items-center" style={{height:window.screen.availHeight+'px'}}> |
|
|
|
|
<div className="container"> |
|
|
|
|
|
|
|
|
|
<div className="d-flex align-items-center" style={{backgroundColor:"#FFF8F8",height:"937px",overflow:"hidden"}}> |
|
|
|
|
<div style={{height:400,backgroundColor:"#ffffff",width:"800px",float:"left",overflow:"hidden",marginTop:"-50px",border:"3px solid #ffffff",borderRadius:15,boxShadow:"0 0 10px #939292"}} className="container"> |
|
|
|
|
<div style={{float:"left",marginTop:"20px",marginLeft:"270px",color:"#1D45FF",fontFamily:"微软雅黑",fontSize:20}}>互联网+互助系统后台注册</div> |
|
|
|
|
<div style={{marginTop:75}}> |
|
|
|
|
<Form> |
|
|
|
|
|
|
|
|
|
<Input col={4} name="managerId" type="text" desc="管理员账号" value={this.state.managerId} onChange={(value: string)=>{ |
|
|
|
|
<Input prependTextClass={"input-prepend-text"} col={7} name="managerId" type="text" desc="管理员账号" value={this.state.managerId} onChange={(value: string)=>{ |
|
|
|
|
this.setState({...this.state,...{managerId:value}})}} valid={{check:this.isNotEmpty(this.state.managerId)}}/> |
|
|
|
|
|
|
|
|
|
<Input col={4} name="password" type="password" desc="管理员密码" value={this.state.password} |
|
|
|
|
<Input prependTextClass={"input-prepend-text"} col={7} name="password" type="password" desc="管理员密码" value={this.state.password} |
|
|
|
|
onChange={(value: string)=>{this.setState({password:value})}} valid={{check:this.isNotEmpty(this.state.password)}}/> |
|
|
|
|
|
|
|
|
|
<Input col={4} name="confirmPwd" type="password" desc="确认密码" placeholder="请确认密码" value={this.state.confirmPwd} |
|
|
|
|
<Input prependTextClass={"input-prepend-text"} col={7} name="confirmPwd" type="password" desc=" 确认密码" placeholder="请确认密码" value={this.state.confirmPwd} |
|
|
|
|
onChange={(value: string)=>{this.setState({confirmPwd:value})}} |
|
|
|
|
valid={{check:this.checkPwd(), |
|
|
|
|
invalid:this.state.confirmPwd.length>0&&this.state.password!==this.state.confirmPwd?"密码和确认密码不一致":"验证失败"}}/> |
|
|
|
@ -96,6 +97,7 @@ export class Register extends React.Component<RegisterProps, RegisterState>{ |
|
|
|
|
|
|
|
|
|
</Form> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<MyDialog content={this.state.tipContent} open={this.state.tipContent!=null} titleId={"register-dialog"} |
|
|
|
|
menuName={"提示"} onClose={()=>this.setState({ |
|
|
|
|