From c3aa826406d52957d6f98d0ecd4b77413d5ce908 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Mon, 29 Aug 2022 18:23:08 +0800 Subject: [PATCH] 统计模块异步加载 --- src/components/mini/box3-archive.vue | 2 +- src/components/layouts/baseLayout.vue | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/layouts/baseLayout.vue b/src/components/layouts/baseLayout.vue index 91552a4..bf72da2 100644 --- a/src/components/layouts/baseLayout.vue +++ b/src/components/layouts/baseLayout.vue @@ -12,7 +12,7 @@ <a-layout-footer> <AplayerBox /> <tagFooter /> - <MyVideo ref="MyVideo" @closeMyVideo="closeMyVideo"/> + <MyVideo ref="MyVideo" @closeMyVideo="closeMyVideo" /> <a-button v-if="miniVideoPlayData!=null && showMiniBox" class="fadeInRight" style="position: fixed;right: 0px;bottom: 130px;" @click="showMyVideo(miniVideoPlayData)"> @@ -32,7 +32,8 @@ // Dplayer Api地址 // http://dplayer.js.org/ import tagHeader from "../fixed/header.vue" - import tagFooter from "../fixed/footer.vue" + // import tagFooter from "../fixed/footer.vue" + const tagFooter = () => import("../fixed/footer.vue") import AplayerBox from "../mini/Aplayer.vue" import MyVideo from "../group/MyVideo.vue" export default { @@ -151,8 +152,8 @@ -webkit-animation-duration: 2s; -webkit-animation-iteration-count: 1; } - - + + .fadeInLeft { -webkit-animation-name: "fadeInLeft"; diff --git a/src/components/mini/box3-archive.vue b/src/components/mini/box3-archive.vue index 0de5380..e0c3f50 100644 --- a/src/components/mini/box3-archive.vue +++ b/src/components/mini/box3-archive.vue @@ -55,7 +55,7 @@ } .miniHeight { - max-height: 250px; + max-height: 150px; } .maxHeight { -- Gitblit v1.9.1