From e8dd9ccf1118998d6865473d10848028c89b6e55 Mon Sep 17 00:00:00 2001 From: Miao_Spring <539943419@qq.com> Date: Tue, 8 Oct 2024 01:23:26 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=8A=A0=E7=82=B9=E7=89=B9=E6=95=88?= =?UTF-8?q?=EF=BC=88=E6=9C=AA=E5=AE=8C=E6=88=90=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 18 ++++++++++++++---- src/components/miaoDraggableDiv.vue | 3 ++- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/App.vue b/src/App.vue index 7df9849..1d0aaff 100644 --- a/src/App.vue +++ b/src/App.vue @@ -188,8 +188,8 @@ provide('rootDirectory', rootDirectory)
-
+
@@ -336,6 +336,16 @@ $tag-width: 170px; flex: 1; height: 100%; min-width: 180px; + opacity: 1; + transition: flex .25s ease, opacity .25s ease; + } + + .view-container-item-hidden { + flex: 0; + min-width: 0px; + opacity: 0; + transition-delay: opacity .25s; + // transition: opacity 5.25s ease; } &::-webkit-scrollbar { @@ -394,7 +404,7 @@ $tag-width: 170px; // .view-container { // .page-move { - // transition: all 0.2s ease; + // transition: all 0.15s ease; // } // .page-enter-active { @@ -402,7 +412,7 @@ $tag-width: 170px; // } // .page-leave-active { - // transition: none; + // transition: none !important; // } // .page-enter-from { diff --git a/src/components/miaoDraggableDiv.vue b/src/components/miaoDraggableDiv.vue index 02fc8de..9b4f152 100644 --- a/src/components/miaoDraggableDiv.vue +++ b/src/components/miaoDraggableDiv.vue @@ -7,10 +7,11 @@