dev_local_2
杨树林 6 years ago
parent b26d830528
commit b8332cc023

@ -245,12 +245,12 @@ class Trialapplication extends Component {
return; return;
} }
if (this.state.codes.length === 0) { // if (this.state.codes.length === 0) {
this.setState({ // this.setState({
Phonenumberisnotcocodes: "请输入验证码", // Phonenumberisnotcocodes: "请输入验证码",
}) // })
return; // return;
} // }
} }
@ -614,61 +614,61 @@ 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 {/* <Input*/}
className={Phonenumberisnotcocodes && Phonenumberisnotcocodes !== ""?borredssz:"fl mr5"} {/* className={Phonenumberisnotcocodes && Phonenumberisnotcocodes !== ""?borredssz:"fl mr5"}*/}
name="codes" type="text" autoComplete="off" {/* name="codes" type="text" autoComplete="off"*/}
readonly {/* readonly*/}
onfocus="this.removeAttribute('readonly')" style={{ {/* onfocus="this.removeAttribute('readonly')" style={{*/}
"width": "316px", {/* "width": "316px",*/}
"height": "38px", {/* "height": "38px",*/}
}} placeholder="请输入验证码" {/* }} placeholder="请输入验证码"*/}
onChange={this.codesonChange} {/* onChange={this.codesonChange}*/}
value={codes}> {/* value={codes}>*/}
</Input> {/* </Input>*/}
{ {/* {*/}
getverificationcodes === undefined ? {/* getverificationcodes === undefined ?*/}
<Button className="fl ml5 " disabled style={{ {/* <Button className="fl ml5 " disabled style={{*/}
"background": "#4cacff!important", {/* "background": "#4cacff!important",*/}
"width": "120px", {/* "width": "120px",*/}
"text-align": "center", {/* "text-align": "center",*/}
"height": "38px", {/* "height": "38px",*/}
}} {/* }}*/}
size={"large"}>重新发送{seconds}s</Button> {/* size={"large"}>重新发送{seconds}s</Button>*/}
: getverificationcodes === true ? {/* : getverificationcodes === true ?*/}
<Button className="fl ml5 " style={{ {/* <Button className="fl ml5 " style={{*/}
"background": "#4cacff!important", {/* "background": "#4cacff!important",*/}
"width": "120px", {/* "width": "120px",*/}
"text-align": "center", {/* "text-align": "center",*/}
"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",*/}
"width": "120px", {/* "width": "120px",*/}
"text-align": "center", {/* "text-align": "center",*/}
"height": "38px", {/* "height": "38px",*/}
}} type="primary" {/* }} type="primary"*/}
onClick={() => this.getverificationcode()} {/* onClick={() => this.getverificationcode()}*/}
size={"large"}>重新发送</Button> {/* size={"large"}>重新发送</Button>*/}
} {/* }*/}
</div> {/* </div>*/}
} {/*}*/}
{ {/*{*/}
Phonenumberisnotcocodes && Phonenumberisnotcocodes != "" ? {/* Phonenumberisnotcocodes && Phonenumberisnotcocodes != "" ?*/}
<p className="color-red " style={{width: " 100%", height: "20px",textAlign:"left"}}> {/* <p className="color-red " style={{width: " 100%", height: "20px",textAlign:"left"}}>*/}
<span >{Phonenumberisnotcocodes}</span> {/* <span >{Phonenumberisnotcocodes}</span>*/}
</p> {/* </p>*/}
: <div style={{height: "20px"}}></div> {/* : <div style={{height: "20px"}}></div>*/}
} {/*}*/}
<div style={{ <div style={{
"padding-left": "50px", "padding-left": "50px",
"padding-right": "50px" "padding-right": "50px"

@ -261,12 +261,12 @@ class Trialapplicationysl extends Component {
return; return;
} }
if (this.state.codes.length === 0) { // if (this.state.codes.length === 0) {
this.setState({ // this.setState({
Phonenumberisnotcocodes: "请输入验证码", // Phonenumberisnotcocodes: "请输入验证码",
}) // })
return; // return;
} // }
} }
@ -632,61 +632,61 @@ class Trialapplicationysl 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 {/* <Input*/}
className={Phonenumberisnotcocodes && Phonenumberisnotcocodes !== ""?borredssz:"fl mr5"} {/* className={Phonenumberisnotcocodes && Phonenumberisnotcocodes !== ""?borredssz:"fl mr5"}*/}
name="codes" type="text" autoComplete="off" {/* name="codes" type="text" autoComplete="off"*/}
readonly {/* readonly*/}
onfocus="this.removeAttribute('readonly')" style={{ {/* onfocus="this.removeAttribute('readonly')" style={{*/}
"width": "316px", {/* "width": "316px",*/}
"height": "38px", {/* "height": "38px",*/}
}} placeholder="请输入验证码" {/* }} placeholder="请输入验证码"*/}
onChange={this.codesonChange} {/* onChange={this.codesonChange}*/}
value={codes}> {/* value={codes}>*/}
</Input> {/* </Input>*/}
{ {/* {*/}
getverificationcodes === undefined ? {/* getverificationcodes === undefined ?*/}
<Button className="fl ml5 " disabled style={{ {/* <Button className="fl ml5 " disabled style={{*/}
"background": "#4cacff!important", {/* "background": "#4cacff!important",*/}
"width": "120px", {/* "width": "120px",*/}
"text-align": "center", {/* "text-align": "center",*/}
"height": "38px", {/* "height": "38px",*/}
}} {/* }}*/}
size={"large"}>重新发送{seconds}s</Button> {/* size={"large"}>重新发送{seconds}s</Button>*/}
: getverificationcodes === true ? {/* : getverificationcodes === true ?*/}
<Button className="fl ml5 " style={{ {/* <Button className="fl ml5 " style={{*/}
"background": "#4cacff!important", {/* "background": "#4cacff!important",*/}
"width": "120px", {/* "width": "120px",*/}
"text-align": "center", {/* "text-align": "center",*/}
"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",*/}
"width": "120px", {/* "width": "120px",*/}
"text-align": "center", {/* "text-align": "center",*/}
"height": "38px", {/* "height": "38px",*/}
}} type="primary" {/* }} type="primary"*/}
onClick={() => this.getverificationcode()} {/* onClick={() => this.getverificationcode()}*/}
size={"large"}>重新发送</Button> {/* size={"large"}>重新发送</Button>*/}
} {/* }*/}
</div> {/* </div>*/}
} {/*}*/}
{ {/*{*/}
Phonenumberisnotcocodes && Phonenumberisnotcocodes != "" ? {/* Phonenumberisnotcocodes && Phonenumberisnotcocodes != "" ?*/}
<p className="color-red " style={{width: " 100%", height: "20px",textAlign:"left"}}> {/* <p className="color-red " style={{width: " 100%", height: "20px",textAlign:"left"}}>*/}
<span >{Phonenumberisnotcocodes}</span> {/* <span >{Phonenumberisnotcocodes}</span>*/}
</p> {/* </p>*/}
: <div style={{height: "20px"}}></div> {/* : <div style={{height: "20px"}}></div>*/}
} {/*}*/}
<div style={{ <div style={{
"padding-left": "50px", "padding-left": "50px",
"padding-right": "50px" "padding-right": "50px"

Loading…
Cancel
Save