From 98a10f0d78391810b7fbce7cca5f1d3ad8774512 Mon Sep 17 00:00:00 2001 From: vapao Date: Tue, 27 Feb 2024 23:51:56 +0800 Subject: [PATCH] update --- spug_web2/src/components/SModal/index.jsx | 11 +++++++++ .../src/components/SModal/index.module.scss | 23 +++++++++++++++++++ spug_web2/src/components/index.js | 7 ++++++ 3 files changed, 41 insertions(+) create mode 100644 spug_web2/src/components/SModal/index.jsx create mode 100644 spug_web2/src/components/SModal/index.module.scss create mode 100644 spug_web2/src/components/index.js diff --git a/spug_web2/src/components/SModal/index.jsx b/spug_web2/src/components/SModal/index.jsx new file mode 100644 index 0000000..d6e39f0 --- /dev/null +++ b/spug_web2/src/components/SModal/index.jsx @@ -0,0 +1,11 @@ +import { Modal } from 'antd' +import { clsNames } from '@/libs' +import css from './index.module.scss' + +function SModal(props) { + return ( + + ) +} + +export default SModal \ No newline at end of file diff --git a/spug_web2/src/components/SModal/index.module.scss b/spug_web2/src/components/SModal/index.module.scss new file mode 100644 index 0000000..3bc5fde --- /dev/null +++ b/spug_web2/src/components/SModal/index.module.scss @@ -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; + } +} \ No newline at end of file diff --git a/spug_web2/src/components/index.js b/spug_web2/src/components/index.js new file mode 100644 index 0000000..f065198 --- /dev/null +++ b/spug_web2/src/components/index.js @@ -0,0 +1,7 @@ +import STable from './STable' +import SModal from './SModal' + +export { + STable, + SModal, +} \ No newline at end of file