import React from 'react';
import { withRouter } from "react-router-dom";
import { Form, Input, Button, Checkbox ,Select } from 'antd';
class StoreInfo extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
    }
  }
  render() {
    return (
      <div className="page">
        <div className="content-header">店铺基本信息</div>
        <div className="box">
          <div>
            <Form>
              <Form.Item
                label="店铺简称"
                name="storeName"
                rules={[{ required: true, message: 'Please input your username!' }]}
              >
                <Input style={{ width: '300px' }}/>
              </Form.Item>
              <Form.Item
                label="店铺名称"
                name="storeFullName"
                rules={[{ required: true, message: 'Please input your username!' }]}
              >
                <Input style={{ width: '300px' }}/>
              </Form.Item>
          
              <Form.Item
                label="店铺logo"
              >
                <img src=""></img>
              </Form.Item>
              <Form.Item
                label="店铺类型"
                name="subjectType"
                rules={[{ required: true }]}
              >
                <Select
                  placeholder="Select a option and change input text above"
                  allowClear
                  style={{ width: '300px' }}
                >
                  <Option value="COMPANY">male</Option>
                  <Option value="INSTITUTION">female</Option>
                  <Option value="ELSE">other</Option>
                  <Option value="TEAM ">other</Option>
                </Select>
              </Form.Item>
              <Form.Item
                label="店铺所属行业"
                rules={[{ required: true }]}
                name="corpIndustry"
              >
                <Select
                  placeholder="Select a option and change input text above"
                  style={{ width: '300px' }}
                  allowClear
                >
                  <Option value="male">male</Option>
                  <Option value="female">female</Option>
                  <Option value="other">other</Option>
                </Select>
              </Form.Item>
              <Form.Item
                label="店铺所属子类行业"
                rules={[{ required: true }]}
                name="corpSubIndustry"
              >
                <Select
                  placeholder="Select a option and change input text above"
                  allowClear
                  style={{ width: '300px' }}
                >
                  <Option value="male">male</Option>
                  <Option value="female">female</Option>
                  <Option value="other">other</Option>
                </Select>
              </Form.Item>
            </Form>
          </div>
          <div><Button type="primary">更新信息</Button></div>
        </div>

      </div>
    )
  }
}

export default withRouter(StoreInfo);