|
@@ -231,7 +231,7 @@ class Account extends React.Component {
|
|
|
</FormItem>
|
|
|
</Col>
|
|
|
</Row>*/}
|
|
|
- {/*<Row>
|
|
|
+ {/* <Row>
|
|
|
<Col span={8}>
|
|
|
<FormItem className="half-mid" {...formItemLayout} label="注册名称">
|
|
|
{this.state.editName ? (
|
|
@@ -262,13 +262,43 @@ class Account extends React.Component {
|
|
|
)}
|
|
|
</FormItem>
|
|
|
</Col>
|
|
|
- </Row> */}
|
|
|
+ </Row> */}
|
|
|
<Row>
|
|
|
- <Col span={8}>
|
|
|
+ <Col span={8}>
|
|
|
<FormItem className="half-mid" {...formItemLayout} label="注册手机号">
|
|
|
- <span>{this.state.mobile}</span>
|
|
|
+ {this.state.editPhoto ? (
|
|
|
+ <Input
|
|
|
+ value={this.state.mobile}
|
|
|
+ onBlur={(e) => {
|
|
|
+ this.saveFun(2);
|
|
|
+ }}
|
|
|
+ ref="photo"
|
|
|
+ placeholder="请填写注册手机号"
|
|
|
+ onChange={(e) => {
|
|
|
+ this.setState({ mobile: e.target.value });
|
|
|
+ }}
|
|
|
+ />
|
|
|
+ ) : (
|
|
|
+ <span>{this.state.mobile}</span>
|
|
|
+ )}
|
|
|
+ {this.state.editPhoto ? (
|
|
|
+ ''
|
|
|
+ ) : (
|
|
|
+ <Button
|
|
|
+ className="Authentication"
|
|
|
+ onClick={(e) => {
|
|
|
+ this.btnFun(2);
|
|
|
+ }}
|
|
|
+ icon="edit"
|
|
|
+ />
|
|
|
+ )}
|
|
|
</FormItem>
|
|
|
</Col>
|
|
|
+ {/* <Col span={8}>
|
|
|
+ <FormItem className="half-mid" {...formItemLayout} label="注册手机号">
|
|
|
+ <span>{this.state.mobile}</span>
|
|
|
+ </FormItem>
|
|
|
+ </Col> */}
|
|
|
<Col span={8}>
|
|
|
<FormItem className="half-mid" {...formItemLayout} label="注册邮箱">
|
|
|
{this.state.editEmail ? (
|