pull/661/head
vapao 2024-02-27 23:51:56 +08:00
parent 1d22adf6f5
commit 98a10f0d78
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,11 @@
import { Modal } from 'antd'
import { clsNames } from '@/libs'
import css from './index.module.scss'
function SModal(props) {
return (
<Modal {...props} className={clsNames(css.modal, props.className)} />
)
}
export default SModal

View File

@ -0,0 +1,23 @@
.modal {
:global(.ant-modal-content) {
padding-top: 68px;
}
:global(.ant-modal-close) {
z-index: 999;
}
:global(.ant-modal-header) {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 48px;
display: flex;
flex-direction: row;
align-items: center;
padding: 0 24px;
border-bottom: 1px solid #f0f0f0;
background: transparent;
}
}

View File

@ -0,0 +1,7 @@
import STable from './STable'
import SModal from './SModal'
export {
STable,
SModal,
}