From fb3ec146a9e1444ece749d0bcf232a554e933fb0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 17 五月 2022 22:56:16 +0800 Subject: [PATCH] Merge branch 'develop' --- src/views/menudesign/index.scss | 69 ++++++++++++++++++++++++++++++++-- 1 files changed, 64 insertions(+), 5 deletions(-) diff --git a/src/views/menudesign/index.scss b/src/views/menudesign/index.scss index b19dd66..208e23e 100644 --- a/src/views/menudesign/index.scss +++ b/src/views/menudesign/index.scss @@ -4,6 +4,39 @@ .pc-menu-view { background: #000; min-height: 100vh; + .mk-hidden { + text-decoration: line-through!important; + span { + text-decoration: line-through!important; + } + } + .eye-open { + .component-name { + display: block; + } + .anticon-tool { + display: none; + } + } + .component-name { + position: absolute; + z-index: 9; + display: none; + left: 0; + right: 0; + top: 0; + bottom: 0; + background: rgba(255, 255, 255, 0.8); + border: 1px solid #1890ff; + .center { + position: absolute; + font-size: 16px; + left: 50%; + top: 50%; + color: #1890ff; + transform: translate(-50%, -50%); + } + } >.menu-body { width: 100vw; height: 100vh; @@ -21,11 +54,28 @@ width: 300px; background: #ffffff; box-shadow: 0px 2px 5px #bcbcbc; - overflow-y: auto; - overflow-x: hidden; + transition: left 0.3s; + .draw { + position: absolute; + z-index: 11; + background: #ffffff; + right: -20px; + top: 0px; + box-shadow: 0 0 1px #959595; + border-radius: 0 2px 2px 0px; + + .anticon { + padding: 12px 3px; + } + } > .ant-collapse { + height: 100%; + overflow-y: auto; + overflow-x: hidden; background-color: #ffffff; + border-radius: 0px; + padding-bottom: 30px; .ant-collapse-item.ant-collapse-item-active { border-bottom: 1px solid #d9d9d9; } @@ -87,19 +137,27 @@ } } } - .menu-setting::-webkit-scrollbar { + .menu-setting >.ant-collapse::-webkit-scrollbar { width: 4px; } - .menu-setting::-webkit-scrollbar-thumb { + .menu-setting >.ant-collapse::-webkit-scrollbar-thumb { border-radius: 5px; box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08); background: rgba(0, 0, 0, 0.08); } - .menu-setting::-webkit-scrollbar-track { + .menu-setting >.ant-collapse::-webkit-scrollbar-track { box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); border-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.07); background: rgba(0, 0, 0, 0); + } + + .menu-setting.hidden { + left: -300px; + } + .menu-setting.hidden + .menu-view { + width: 100vw; + margin-left: 0px; } .menu-view { @@ -108,6 +166,7 @@ margin-left: 300px; height: calc(100vh - 50px); overflow-y: auto; + transition: all 0.3s; > .ant-card { >.ant-card-head { -- Gitblit v1.8.0