From 2e299b58e2cdb9e39a8fc5ff095ccfd64df0b348 Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期二, 16 四月 2024 17:41:30 +0800 Subject: [PATCH] update 增加预编译 --- src/assets/styles/transition.scss | 28 ++++++++++++---------------- 1 files changed, 12 insertions(+), 16 deletions(-) diff --git a/src/assets/styles/transition.scss b/src/assets/styles/transition.scss index 1e43947..468ad3c 100644 --- a/src/assets/styles/transition.scss +++ b/src/assets/styles/transition.scss @@ -3,51 +3,47 @@ /* fade */ .fade-enter-active, .fade-leave-active { - transition: opacity 0.28s; + transition: opacity 0.28s; } .fade-enter, .fade-leave-active { - opacity: 0; + opacity: 0; } /* fade-transform */ .fade-transform--move, .fade-transform-leave-active, .fade-transform-enter-active { - transition: all 0.5s; -} - -.fade-transform-leave-active { - position: absolute; + transition: all 0.5s; } .fade-transform-enter { - opacity: 0; - transform: translateX(-30px); + opacity: 0; + transform: translateX(-30px); } .fade-transform-leave-to { - opacity: 0; - transform: translateX(30px); + opacity: 0; + transform: translateX(30px); } /* breadcrumb transition */ .breadcrumb-enter-active, .breadcrumb-leave-active { - transition: all 0.5s; + transition: all 0.5s; } .breadcrumb-enter, .breadcrumb-leave-active { - opacity: 0; - transform: translateX(20px); + opacity: 0; + transform: translateX(20px); } .breadcrumb-move { - transition: all 0.5s; + transition: all 0.5s; } .breadcrumb-leave-active { - position: absolute; + position: absolute; } -- Gitblit v1.9.3