From 271ca6cb0ee2ff0a789bf74d1821e7891a7043bb Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Tue, 30 Aug 2022 21:57:42 +0800
Subject: [PATCH] 自定义表情组件

---
 src/components/layouts/baseLayout.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/components/layouts/baseLayout.vue b/src/components/layouts/baseLayout.vue
index f5b0b62..bf72da2 100644
--- a/src/components/layouts/baseLayout.vue
+++ b/src/components/layouts/baseLayout.vue
@@ -6,7 +6,7 @@
 		</a-layout-header>
 
 		<keep-alive>
-			<router-view @showMyVideo="showMyVideo"></router-view>
+			<router-view @showMyVideo="showMyVideo" @detailBackAction="detailBackAction"></router-view>
 		</keep-alive>
 
 		<a-layout-footer>
@@ -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 {
@@ -54,6 +55,10 @@
 			showMyVideo(param) {
 				this.miniVideoPlayData = param;
 				this.$refs.MyVideo.showModal(param);
+			},
+			detailBackAction(param) {
+				this.miniVideoPlayData = param;
+				this.closeMyVideo()
 			},
 			closeMyVideo() {
 				if (this.firstQuery) {
@@ -148,6 +153,8 @@
 		-webkit-animation-iteration-count: 1;
 	}
 
+
+
 	.fadeInLeft {
 		-webkit-animation-name: "fadeInLeft";
 		-webkit-animation-duration: 1s;

--
Gitblit v1.9.1