From f07ea7f9ce1e213addb9df00aec053945e909d3f Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Tue, 16 Aug 2022 02:12:52 +0800 Subject: [PATCH] 表情导入 --- src/components/layouts/baseLayout.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/layouts/baseLayout.vue b/src/components/layouts/baseLayout.vue index f5b0b62..af50842 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)"> @@ -55,6 +55,10 @@ this.miniVideoPlayData = param; this.$refs.MyVideo.showModal(param); }, + detailBackAction(param) { + this.miniVideoPlayData = param; + this.closeMyVideo() + }, closeMyVideo() { if (this.firstQuery) { this.firstQuery = !this.firstQuery; -- Gitblit v1.9.1