mirror of https://github.com/openspug/spug
update
parent
1d22adf6f5
commit
98a10f0d78
|
@ -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
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
import STable from './STable'
|
||||
import SModal from './SModal'
|
||||
|
||||
export {
|
||||
STable,
|
||||
SModal,
|
||||
}
|
Loading…
Reference in New Issue