|
|
@ -233,7 +233,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// var telephone = $("#telephoneAdd.tianjia_phone").val();
|
|
|
|
// var telephone = $("#telephoneAdd.tianjia_phone").val();
|
|
|
|
var regph = /^[1][3,4,5,6,7,8][0-9]{9}$/;
|
|
|
|
var regph = /^[1][3,4,5,6,7,8,9][0-9]{9}$/;
|
|
|
|
// var email = $("#add_email.tianjia_email").val();
|
|
|
|
// var email = $("#add_email.tianjia_email").val();
|
|
|
|
var regemail = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
|
|
|
|
var regemail = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
|
|
|
|
|
|
|
|
|
|
|
@ -700,7 +700,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// var telephone = $("#telephoneAdd.tianjia_phone").val();
|
|
|
|
// var telephone = $("#telephoneAdd.tianjia_phone").val();
|
|
|
|
var regph = /^[1][3,4,5,6,7,8][0-9]{9}$/;
|
|
|
|
var regph = /^[1][3,4,5,6,7,8,9][0-9]{9}$/;
|
|
|
|
// var email = $("#add_email.tianjia_email").val();
|
|
|
|
// var email = $("#add_email.tianjia_email").val();
|
|
|
|
var regemail = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
|
|
|
|
var regemail = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
|
|
|
|
|
|
|
|
|
|
|
@ -1103,16 +1103,15 @@ class LoginRegisterComponent extends Component {
|
|
|
|
right: 12px;
|
|
|
|
right: 12px;
|
|
|
|
height: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.ant-input{
|
|
|
|
.mymimasysl {
|
|
|
|
border-right: none !important;
|
|
|
|
border-right: none !important;
|
|
|
|
height: 40px !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`
|
|
|
|
`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<Input placeholder="输入8~16位密码,区分大小写"
|
|
|
|
<Input placeholder="输入8~16位密码,区分大小写"
|
|
|
|
type={classpassbool===false?"text":"password"}
|
|
|
|
type={classpassbool===false?"text":"password"}
|
|
|
|
className={Phonenumberisnotcosymmm && Phonenumberisnotcosymmm !== "" ?" font-14 color-grey-9 loginInputzhucheysl ":" font-14 color-grey-9 loginInputzhuche"}
|
|
|
|
className={Phonenumberisnotcosymmm && Phonenumberisnotcosymmm !== "mymimasysl" ?" font-14 color-grey-9 loginInputzhucheysl mymimasysl":" font-14 color-grey-9 loginInputzhuche mymimasysl"}
|
|
|
|
autoComplete="new-password"
|
|
|
|
autoComplete="new-password"
|
|
|
|
onClick={this.changeType}
|
|
|
|
onClick={this.changeType}
|
|
|
|
value={this.state.passwords} onChange={this.passwordonChanges}
|
|
|
|
value={this.state.passwords} onChange={this.passwordonChanges}
|
|
|
|