|
|
|
@ -57,8 +57,8 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
}
|
|
|
|
|
//倒计时
|
|
|
|
|
getverificationcode = () => {
|
|
|
|
|
if (this.state.Phonenumberisnotcobool === false ||this.state.Phonenumberisnotcobool === undefined) {
|
|
|
|
|
if (this.state.login&&this.state.login.length === 0) {
|
|
|
|
|
if (this.state.Phonenumberisnotcobool === false || this.state.Phonenumberisnotcobool === undefined) {
|
|
|
|
|
if (this.state.login && this.state.login.length === 0) {
|
|
|
|
|
this.openNotification("请输入手机号或邮箱");
|
|
|
|
|
return
|
|
|
|
|
} else {
|
|
|
|
@ -280,7 +280,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
}).then((result) => {
|
|
|
|
|
//验证有问题{"status":1,"message":"success"}
|
|
|
|
|
// console.log(result);
|
|
|
|
|
this.openNotification("验证码已发送,请注意查收!",2);
|
|
|
|
|
this.openNotification("验证码已发送,请注意查收!", 2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}).catch((error) => {
|
|
|
|
@ -312,7 +312,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
// height: 346px;
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
|
|
<div className="login_register_content" style={{height: "482px"}}>
|
|
|
|
|
<div className="login_register_content" style={{height: "520px"}}>
|
|
|
|
|
<Input type="text" name="username" value={"namename"}
|
|
|
|
|
style={{height: '0', width: '0', border: 'none', display: "none"}}/>
|
|
|
|
|
<Input type="password" name="password" id="password" value={"123123123"}
|
|
|
|
@ -339,9 +339,8 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
`}</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className="login_section">
|
|
|
|
|
<div className="section_header">
|
|
|
|
|
<div className="section_header font-18" style={{color:"#05101A"}}>
|
|
|
|
|
找回密码
|
|
|
|
|
</div>
|
|
|
|
|
<div style={{width: '340px'}}>
|
|
|
|
@ -377,28 +376,29 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
<Input style={loginInputsyl} type="text" autoComplete="off" onClick={this.changeTypey}
|
|
|
|
|
className={"loginInputzhuche"}
|
|
|
|
|
placeholder="输入注册手机号或邮箱" value={this.state.login} onBlur={(e) => this.inputOnBlur(e)}
|
|
|
|
|
onChange={this.loginInputonChange} style={{marginTop: '10px',height: "38px"}}></Input>
|
|
|
|
|
onChange={this.loginInputonChange} style={{marginTop: '10px', height: "38px"}}></Input>
|
|
|
|
|
{
|
|
|
|
|
Phonenumberisnotco && Phonenumberisnotco != "" ?
|
|
|
|
|
<p className="color-red mt5 mb5" style={{width: " 100%", height: "20px"}}>
|
|
|
|
|
<span className="fl" style={{textAlign:"center",width: " 100%"}}>{Phonenumberisnotco}</span>
|
|
|
|
|
<span className="fl" style={{textAlign: "center", width: " 100%"}}>{Phonenumberisnotco}</span>
|
|
|
|
|
</p>
|
|
|
|
|
: <div style={{height: "25px"}}></div>
|
|
|
|
|
}
|
|
|
|
|
<DragValidator
|
|
|
|
|
height={38} successGreenColor="#45E15F"
|
|
|
|
|
style={{height:"38px",width:"100%"}}
|
|
|
|
|
style={{height: "38px", width: "100%"}}
|
|
|
|
|
dragOkCallback={this.dragOkCallback}
|
|
|
|
|
></DragValidator>
|
|
|
|
|
<Input type={classpass}
|
|
|
|
|
className={"loginInputzhuche"}
|
|
|
|
|
onClick={this.changeType} autoComplete="new-password" onChange={this.loginInputonChanges}
|
|
|
|
|
value={this.state.password} style={{width:"100%",height:"38px",marginTop:'25px'}} placeholder="输入8~16位密码,区分大小写"></Input>
|
|
|
|
|
value={this.state.password} style={{width: "100%", height: "38px", marginTop: '25px'}}
|
|
|
|
|
placeholder="输入8~16位密码,区分大小写"></Input>
|
|
|
|
|
<Input type={classpass}
|
|
|
|
|
className={"loginInputzhuche"}
|
|
|
|
|
onClick={this.changeType} autoComplete="new-password"
|
|
|
|
|
onChange={this.loginInputonChangess} value={this.state.passwords}
|
|
|
|
|
style={{height:"38px",marginTop:'25px',width:"100%"}}
|
|
|
|
|
style={{height: "38px", marginTop: '25px', width: "100%"}}
|
|
|
|
|
placeholder="再次输入新密码"></Input>
|
|
|
|
|
|
|
|
|
|
<div className={"mt25"}>
|
|
|
|
@ -431,7 +431,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<Button className="login_btn" size={"large"} type="primary"
|
|
|
|
|
style={{height:"46px"}}
|
|
|
|
|
style={{height: "46px"}}
|
|
|
|
|
onClick={this.Retrievepassword}>完成</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|