first commit

This commit is contained in:
jerryjzhang
2023-06-12 18:44:01 +08:00
commit dc4fc69b57
879 changed files with 573090 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { Space } from 'antd';
export interface IProps {
title: string;
subTitle?: string;
}
const FormItemTitle: React.FC<IProps> = ({ title, subTitle }) => {
return (
<Space direction="vertical" size={2}>
<span>{title}</span>
{subTitle && <span style={{ fontSize: '12px', color: '#6a6a6a' }}>{subTitle}</span>}
</Space>
);
};
export default FormItemTitle;

View File

@@ -0,0 +1,39 @@
.normalState {
position: static;
height: 100%;
.backNormal {
display: none;
}
}
.maxState {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 999;
.innerWrap {
position: absolute;
right: 0;
bottom: 0;
left: 0;
background: #fff;
}
.backNormal {
display: block;
height: 30px;
padding-right: 20px;
color: #02a7f0;
font-size: 22px;
line-height: 30px;
text-align: right;
.fullscreenExitIcon {
cursor: pointer;
}
}
}

View File

@@ -0,0 +1,5 @@
export const formLayout: any = {
// labelCol: { span: 13 },
// wrapperCol: { span: 13 },
layout: 'vertical',
};