|
|
|
@ -9,6 +9,7 @@ import passoff from '../../../src/images/login/passoff.png';
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
import DragValidatortwo from '../../../src/common/components/DragValidatortwo'
|
|
|
|
|
import './common.css'
|
|
|
|
|
import './commontwo.css'
|
|
|
|
|
const { TabPane } = Tabs;
|
|
|
|
|
const loginInputsyl = {
|
|
|
|
|
"width":"434px",
|
|
|
|
@ -36,7 +37,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
classpass: "text",
|
|
|
|
|
// 登录
|
|
|
|
|
passopens: passoff,
|
|
|
|
|
seconds: 35,
|
|
|
|
|
seconds: 60,
|
|
|
|
|
discodeBtn: false,
|
|
|
|
|
clearInterval: false,
|
|
|
|
|
autoLogin: true,
|
|
|
|
@ -71,7 +72,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
classpass: "text",
|
|
|
|
|
// 登录
|
|
|
|
|
passopens: passoff,
|
|
|
|
|
seconds: 35,
|
|
|
|
|
seconds: 60,
|
|
|
|
|
discodeBtn: false,
|
|
|
|
|
clearInterval: false,
|
|
|
|
|
autoLogin: true,
|
|
|
|
@ -528,7 +529,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
clearInterval(timer);
|
|
|
|
|
this.setState({
|
|
|
|
|
getverificationcodes: false,
|
|
|
|
|
seconds: 35,
|
|
|
|
|
seconds: 60,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
@ -546,7 +547,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
clearInterval(timer);
|
|
|
|
|
this.setState({
|
|
|
|
|
getverificationcodes: false,
|
|
|
|
|
seconds: 35,
|
|
|
|
|
seconds: 60,
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -718,7 +719,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
console.log(classpass);
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
|
|
<div className="login_register_content login_register_contents" style={ parseInt(tab[0])==0?{height: "346px"} :{height: "490px"}}>
|
|
|
|
|
<div className="login_register_content login_register_contents" style={ parseInt(tab[0])==0?{height: "366px"} :{height: "510px"}}>
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
@ -731,7 +732,7 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<Menu mode="horizontal" selectedKeys={tab} onClick={this.changeTab}>
|
|
|
|
|
<Menu mode="horizontal" selectedKeys={tab} onClick={this.changeTab} className="mt20">
|
|
|
|
|
<Menu.Item key="0" className={tab===0?"active font-18":"font-18"} > 登录</Menu.Item>
|
|
|
|
|
<Menu.Item key="1" className={tab===1?"active font-18":"font-18"} >注册</Menu.Item>
|
|
|
|
|
</Menu>
|
|
|
|
@ -839,8 +840,9 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
Whethertoverify===false&&pciphone===true?
|
|
|
|
|
<DragValidator
|
|
|
|
|
height={38} successGreenColor="#29bd8b"
|
|
|
|
|
style={{ height: '38px'}}
|
|
|
|
|
style={{ height: '38px',width: "100%"}}
|
|
|
|
|
dragOkCallback={this.dragOkCallback}
|
|
|
|
|
className="ysllw100"
|
|
|
|
|
></DragValidator>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
@ -850,8 +852,9 @@ class LoginRegisterComponent extends Component {
|
|
|
|
|
Whethertoverify===true&&pciphone===true?
|
|
|
|
|
<DragValidatortwo
|
|
|
|
|
height={38} successGreenColor="#29bd8b"
|
|
|
|
|
style={{ height: '38px'}}
|
|
|
|
|
style={{ height: '38px',width: "100%"}}
|
|
|
|
|
dragOkCallback={this.dragOkCallback}
|
|
|
|
|
className="ysllw100"
|
|
|
|
|
></DragValidatortwo>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|