From f3d4db769ba9b51b799d981511a710fd443d0e08 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 21 四月 2025 12:18:03 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/tabviews/custom/components/carousel/data-card/index.scss | 31 ++++++++++++++++++------------- 1 files changed, 18 insertions(+), 13 deletions(-) diff --git a/src/tabviews/custom/components/carousel/data-card/index.scss b/src/tabviews/custom/components/carousel/data-card/index.scss index 462fa7e..ee17b7f 100644 --- a/src/tabviews/custom/components/carousel/data-card/index.scss +++ b/src/tabviews/custom/components/carousel/data-card/index.scss @@ -5,7 +5,6 @@ background-size: cover; position: relative; min-height: 30px; - overflow: hidden; .card-item-box { position: relative; @@ -15,10 +14,15 @@ overflow: hidden; } + .carousel-wrap { + position: relative; + overflow: hidden; + } + .ant-empty { - width: 100%; - min-height: 100px; - padding-top: 15px; + position: absolute; + top: calc(50% - 34px); + left: calc(50% - 92px); .ant-empty-image { height: 60px; @@ -53,6 +57,9 @@ } .mk-carousel-modal { + .ant-modal-body { + padding: 20px; + } .ant-modal-close-x { width: 40px; height: 40px; @@ -103,7 +110,7 @@ background: rgba(0,0,0,0.15); } .mk-footer { - padding-top: 5px; + padding-top: 10px; .ant-checkbox-wrapper { font-size: 13px; line-height: 26px; @@ -113,19 +120,17 @@ height: 15px; } .close { - height: 28px; + height: 32px; color: #ffffff; background-color: var(--mk-sys-color); border-color: var(--mk-sys-color); - padding: 0 10px; + padding: 0 20px; float: right; } } - .mk-footer.single { - text-align: center; - padding-top: 10px; - .close { - float: none; - } + .mk-footer::after { + content: ' '; + display: block; + clear: both; } } \ No newline at end of file -- Gitblit v1.8.0