注册表单样式调整

master
pan 5 years ago
parent c9935abf3d
commit 61581a56f9
  1. 4
      src/account/Register.tsx

@ -163,9 +163,9 @@ export class Register extends React.Component<RegisterProps, RegisterState>{
}} tip={"请上传头像"} /> }} tip={"请上传头像"} />
<Input name="address" desc="住址" onChange={(value:string)=>this.setState({address:value})}/> <Input name="address" desc="住址" onChange={(value:string)=>this.setState({address:value})}/>
<div className="mt-3">
<Address value={this.state.serviceAddress} onChange={(value:string)=>this.setState({serviceAddress:value})}/> <Address value={this.state.serviceAddress} onChange={(value:string)=>this.setState({serviceAddress:value})}/>
</div>
<Input col={4} name="userType" desc="用户身份" as="select" onChange={(value:string)=>this.setState({userType:value})} <Input col={4} name="userType" desc="用户身份" as="select" onChange={(value:string)=>this.setState({userType:value})}
options={[<option value="" key={"userType0"}></option>,<option key={"userType1"} value={UserType.seekHelp}></option>,<option key={"userType2"} value={UserType.help}></option>]}/> options={[<option value="" key={"userType0"}></option>,<option key={"userType1"} value={UserType.seekHelp}></option>,<option key={"userType2"} value={UserType.help}></option>]}/>

Loading…
Cancel
Save