// import React from 'react'
import { Button } from 'antd'
export default function editThree(props: any) {
  const height = window.innerHeight - 350;
  const handleSubmit = () => {
    // console.log(form);
    props.setEditProcess(4);
    // 调用表单实例的 submit 方法
    // form.submit();

  };
  return (
    <div className='editOneTwo'>
      <div className='topLine'></div>
      <div className='appInfoFormBox' style={{
        height: height,
        background: 'pink'
      }}></div>
      <div className='topLine'></div>
      <div style={{
        marginTop: '8px',
        display: 'flex',
        justifyContent: 'flex-end',
      }}>
        <Button
          style={{
            width: '100px',
            height: '40px',
            borderRadius: '5px',
          }}
          onClick={() => {
            props.setEditProcess(2)
          }}
        >上一步</Button>
        <Button
          type='primary'
          style={{
            width: '100px',
            height: '40px',
            borderRadius: '5px',
            marginLeft: '10px',
          }}
          onClick={() => {
            handleSubmit()
          }}
        >下一步</Button>
      </div>
    </div>
  )
}
