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