|
|
@ -33,6 +33,8 @@ class Trialapplication extends Component {
|
|
|
|
user_phone_binded: props.user_phone_binded,
|
|
|
|
user_phone_binded: props.user_phone_binded,
|
|
|
|
showTrial: false,
|
|
|
|
showTrial: false,
|
|
|
|
user: undefined,
|
|
|
|
user: undefined,
|
|
|
|
|
|
|
|
borredss:"bor-reds",
|
|
|
|
|
|
|
|
borredssz:"bor-reds fl mr5",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//user_phone_binded 判断是否手机号验证
|
|
|
|
//user_phone_binded 判断是否手机号验证
|
|
|
|
// console.log("Trialapplication");
|
|
|
|
// console.log("Trialapplication");
|
|
|
@ -371,7 +373,7 @@ class Trialapplication extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
//执行view
|
|
|
|
//执行view
|
|
|
|
render() {
|
|
|
|
render() {
|
|
|
|
let {login, codes, reason, isRenders, user_phone_binded, Phonenumberisnotco, getverificationcodes, Phonenumberisnotcocodes, Phonenumberisnotcoreason, seconds} = this.state;
|
|
|
|
let {login, codes, reason, isRenders, user_phone_binded,borredss,borredssz, Phonenumberisnotco, getverificationcodes, Phonenumberisnotcocodes, Phonenumberisnotcoreason, seconds} = this.state;
|
|
|
|
// console.log("Trialapplication22222222");
|
|
|
|
// console.log("Trialapplication22222222");
|
|
|
|
// console.log(this.props);
|
|
|
|
// console.log(this.props);
|
|
|
|
|
|
|
|
|
|
|
@ -600,12 +602,13 @@ class Trialapplication extends Component {
|
|
|
|
onChange={this.loginInputonChange}
|
|
|
|
onChange={this.loginInputonChange}
|
|
|
|
onBlur={(e) => this.inputOnBlur(e)}
|
|
|
|
onBlur={(e) => this.inputOnBlur(e)}
|
|
|
|
style={{"height": "38px",}}
|
|
|
|
style={{"height": "38px",}}
|
|
|
|
|
|
|
|
className={Phonenumberisnotco && Phonenumberisnotco !== ""?borredss:""}
|
|
|
|
name="myiphone"
|
|
|
|
name="myiphone"
|
|
|
|
></Input>
|
|
|
|
></Input>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Phonenumberisnotco && Phonenumberisnotco != "" ?
|
|
|
|
Phonenumberisnotco && Phonenumberisnotco != "" ?
|
|
|
|
<p className="color-red mt5 mb5" style={{width: " 100%", height: "20px"}}>
|
|
|
|
<p className="color-red mt5 mb5" style={{width: " 100%", height: "20px",textAlign:"left"}}>
|
|
|
|
<span style={{textAlign:"left"}}>{Phonenumberisnotco}</span>
|
|
|
|
<span >{Phonenumberisnotco}</span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
: <div style={{height: "20px"}}></div>
|
|
|
|
: <div style={{height: "20px"}}></div>
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -617,7 +620,9 @@ class Trialapplication extends Component {
|
|
|
|
user_phone_binded === true ? "" :
|
|
|
|
user_phone_binded === true ? "" :
|
|
|
|
<div style={{"display": "flex", "justify-content": "center"}}>
|
|
|
|
<div style={{"display": "flex", "justify-content": "center"}}>
|
|
|
|
|
|
|
|
|
|
|
|
<Input className="fl mr5" name="codes" type="text" autoComplete="off"
|
|
|
|
<Input
|
|
|
|
|
|
|
|
className={Phonenumberisnotcocodes && Phonenumberisnotcocodes !== ""?borredssz:"fl mr5"}
|
|
|
|
|
|
|
|
name="codes" type="text" autoComplete="off"
|
|
|
|
readonly
|
|
|
|
readonly
|
|
|
|
onfocus="this.removeAttribute('readonly')" style={{
|
|
|
|
onfocus="this.removeAttribute('readonly')" style={{
|
|
|
|
"width": "316px",
|
|
|
|
"width": "316px",
|
|
|
@ -644,7 +649,7 @@ class Trialapplication extends Component {
|
|
|
|
"height": "38px",
|
|
|
|
"height": "38px",
|
|
|
|
}} type="primary"
|
|
|
|
}} type="primary"
|
|
|
|
onClick={() => this.getverificationcode()}
|
|
|
|
onClick={() => this.getverificationcode()}
|
|
|
|
size={"large"}>验证码</Button>
|
|
|
|
size={"large"}>获取验证码</Button>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<Button className="fl ml5 " style={{
|
|
|
|
<Button className="fl ml5 " style={{
|
|
|
|
"background": "#4cacff!important",
|
|
|
|
"background": "#4cacff!important",
|
|
|
@ -661,8 +666,8 @@ class Trialapplication extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Phonenumberisnotcocodes && Phonenumberisnotcocodes != "" ?
|
|
|
|
Phonenumberisnotcocodes && Phonenumberisnotcocodes != "" ?
|
|
|
|
<p className="color-red " style={{width: " 100%", height: "20px"}}>
|
|
|
|
<p className="color-red " style={{width: " 100%", height: "20px",textAlign:"left"}}>
|
|
|
|
<span style={{textAlign:"left"}}>{Phonenumberisnotcocodes}</span>
|
|
|
|
<span >{Phonenumberisnotcocodes}</span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
: <div style={{height: "20px"}}></div>
|
|
|
|
: <div style={{height: "20px"}}></div>
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -672,12 +677,13 @@ class Trialapplication extends Component {
|
|
|
|
}}>
|
|
|
|
}}>
|
|
|
|
<Input placeholder="请在此输入推荐人信息或申请理由" value={reason}
|
|
|
|
<Input placeholder="请在此输入推荐人信息或申请理由" value={reason}
|
|
|
|
onChange={this.loginInputonChanges}
|
|
|
|
onChange={this.loginInputonChanges}
|
|
|
|
|
|
|
|
className={Phonenumberisnotcoreason && Phonenumberisnotcoreason !== ""?borredss:""}
|
|
|
|
style={{"height": "38px",}}
|
|
|
|
style={{"height": "38px",}}
|
|
|
|
name="mynames"></Input>
|
|
|
|
name="mynames"></Input>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Phonenumberisnotcoreason && Phonenumberisnotcoreason != "" ?
|
|
|
|
Phonenumberisnotcoreason && Phonenumberisnotcoreason !== "" ?
|
|
|
|
<p className="color-red" style={{width: " 100%", height: "20px"}}>
|
|
|
|
<p className="color-red" style={{width: " 100%", height: "20px",textAlign:"left"}}>
|
|
|
|
<span style={{textAlign:"left"}}>{Phonenumberisnotcoreason}</span>
|
|
|
|
<span >{Phonenumberisnotcoreason}</span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
: <div style={{height: "20px"}}></div>
|
|
|
|
: <div style={{height: "20px"}}></div>
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -689,6 +695,7 @@ class Trialapplication extends Component {
|
|
|
|
"width": "120px",
|
|
|
|
"width": "120px",
|
|
|
|
"text-align": "center",
|
|
|
|
"text-align": "center",
|
|
|
|
"height": "38px",
|
|
|
|
"height": "38px",
|
|
|
|
|
|
|
|
marginTop: "10px",
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
size={"large"}>提交申请</Button>
|
|
|
|
size={"large"}>提交申请</Button>
|
|
|
|
|
|
|
|
|
|
|
|