From 1b6f1e454fff0187d4d30dcf0d5819d4f57f1787 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Mon, 29 Aug 2022 01:05:14 +0800 Subject: [PATCH] 新增iframe 播放页 新增日志编辑页 --- src/components/layouts/baseLayout.vue | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/layouts/baseLayout.vue b/src/components/layouts/baseLayout.vue index f5b0b62..91552a4 100644 --- a/src/components/layouts/baseLayout.vue +++ b/src/components/layouts/baseLayout.vue @@ -6,13 +6,13 @@ </a-layout-header> <keep-alive> - <router-view @showMyVideo="showMyVideo"></router-view> + <router-view @showMyVideo="showMyVideo" @detailBackAction="detailBackAction"></router-view> </keep-alive> <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)"> @@ -54,6 +54,10 @@ showMyVideo(param) { this.miniVideoPlayData = param; this.$refs.MyVideo.showModal(param); + }, + detailBackAction(param) { + this.miniVideoPlayData = param; + this.closeMyVideo() }, closeMyVideo() { if (this.firstQuery) { @@ -147,6 +151,8 @@ -webkit-animation-duration: 2s; -webkit-animation-iteration-count: 1; } + + .fadeInLeft { -webkit-animation-name: "fadeInLeft"; -- Gitblit v1.9.1