|
@@ -3,6 +3,7 @@ import { Row, Col, Card, Collapse, Grid, Divider } from 'antd';
|
|
import BasicInfoForm from './components/register.form';
|
|
import BasicInfoForm from './components/register.form';
|
|
import ProtocolList from './components/register.protocol.list';
|
|
import ProtocolList from './components/register.protocol.list';
|
|
import SelectedProtocolList from './components/register.selected.protocol.list';
|
|
import SelectedProtocolList from './components/register.selected.protocol.list';
|
|
|
|
+import { AutoCenter } from 'antd-mobile';
|
|
|
|
|
|
const { useBreakpoint } = Grid;
|
|
const { useBreakpoint } = Grid;
|
|
const { Panel } = Collapse;
|
|
const { Panel } = Collapse;
|
|
@@ -19,8 +20,8 @@ const RegisterPage: React.FC = () => {
|
|
// 大屏幕:三栏布局
|
|
// 大屏幕:三栏布局
|
|
return (
|
|
return (
|
|
<Row className='flex-1'>
|
|
<Row className='flex-1'>
|
|
- <Col xs={24} sm={24} md={8} lg={8} xl={8} xxl={8} className='flex-1 border border-green-500 h-8'>
|
|
|
|
- <BasicInfoForm style={{ flex: 1 }} />
|
|
|
|
|
|
+ <Col xs={24} sm={24} md={8} lg={8} xl={8} xxl={8} style={{border:'4px solid green',height:'300px',display:'flex',flexDirection:'column'}}>
|
|
|
|
+ <BasicInfoForm style={{ flex: '1 1 0%' ,overflow:'auto'}} />
|
|
</Col>
|
|
</Col>
|
|
<Col xs={24} sm={24} md={8} lg={8} xl={8} xxl={8}>
|
|
<Col xs={24} sm={24} md={8} lg={8} xl={8} xxl={8}>
|
|
<ProtocolList />
|
|
<ProtocolList />
|