From a77aefd52df0e321a668084c798a3b5f9ed8555b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 15 八月 2024 15:47:51 +0800 Subject: [PATCH] 2024-08-15 --- src/views/menudesign/index.scss | 5 ++++- src/views/tabledesign/index.scss | 5 ++++- src/views/menudesign/popview/index.scss | 5 ++++- src/views/tabledesign/popview/index.scss | 5 ++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/views/menudesign/index.scss b/src/views/menudesign/index.scss index 74d1cf2..dd386c7 100644 --- a/src/views/menudesign/index.scss +++ b/src/views/menudesign/index.scss @@ -179,7 +179,10 @@ > .ant-card { >.ant-card-head { margin-bottom: 0px; - position: relative; + position: sticky; + top: 0px; + z-index: 10; + background: #ffffff; .ant-card-head-title { color: #1890ff; padding: 5px 0; diff --git a/src/views/menudesign/popview/index.scss b/src/views/menudesign/popview/index.scss index 2ea36fa..02b8796 100644 --- a/src/views/menudesign/popview/index.scss +++ b/src/views/menudesign/popview/index.scss @@ -123,7 +123,10 @@ > .ant-card { >.ant-card-head { margin-bottom: 0px; - position: relative; + position: sticky; + top: 0px; + z-index: 10; + background: #ffffff; .ant-card-head-title { color: #1890ff; padding: 5px 0; diff --git a/src/views/tabledesign/index.scss b/src/views/tabledesign/index.scss index a3be304..84954ae 100644 --- a/src/views/tabledesign/index.scss +++ b/src/views/tabledesign/index.scss @@ -138,7 +138,10 @@ > .ant-card { >.ant-card-head { margin-bottom: 0px; - position: relative; + position: sticky; + top: 0px; + z-index: 10; + background: #ffffff; .ant-card-head-title { color: #1890ff; padding: 5px 0; diff --git a/src/views/tabledesign/popview/index.scss b/src/views/tabledesign/popview/index.scss index 2ea36fa..02b8796 100644 --- a/src/views/tabledesign/popview/index.scss +++ b/src/views/tabledesign/popview/index.scss @@ -123,7 +123,10 @@ > .ant-card { >.ant-card-head { margin-bottom: 0px; - position: relative; + position: sticky; + top: 0px; + z-index: 10; + background: #ffffff; .ant-card-head-title { color: #1890ff; padding: 5px 0; -- Gitblit v1.8.0