From ec6f207325f1996d71fb4e0c6acada906ec026bd Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 04 Mar 2022 18:38:32 +0800 Subject: [PATCH] css 抽取 --- src/components/swichLabel/main1-home.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/swichLabel/main1-home.vue b/src/components/swichLabel/main1-home.vue index ae58261..2dc536d 100644 --- a/src/components/swichLabel/main1-home.vue +++ b/src/components/swichLabel/main1-home.vue @@ -25,14 +25,16 @@ <a-col v-bind="colApiMain"> <a-col v-bind="colMini" :style="{'position':'absolute','right':'5px'}"> - <a-affix :offset-top="600"> + <a-affix :offset-top="550"> <a-button @click="showDrawer" style="padding:0px 10px"> <a-icon type="left-circle" /> </a-button> </a-affix> </a-col> <keep-alive> - <router-view class="fade"></router-view> + <transition name="fade"> + <router-view></router-view> + </transition> </keep-alive> </a-col> -- Gitblit v1.9.1