From 859ec7a60a9a1f30c898dbf1ae05c50dccfc40e5 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Thu, 11 Aug 2022 01:51:55 +0800
Subject: [PATCH] 优化视频模块内页

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

diff --git a/src/components/layouts/baseLayout.vue b/src/components/layouts/baseLayout.vue
index 55dbd69..0d14dee 100644
--- a/src/components/layouts/baseLayout.vue
+++ b/src/components/layouts/baseLayout.vue
@@ -6,12 +6,13 @@
 		</a-layout-header>
 
 		<keep-alive>
-			<router-view></router-view>
+			<router-view @showMyVideo="showMyVideo"></router-view>
 		</keep-alive>
-		
+
 		<a-layout-footer>
 			<AplayerBox />
 			<tagFooter />
+			<MyVideo ref="MyVideo" />
 		</a-layout-footer>
 
 		<a-back-top>
@@ -25,11 +26,13 @@
 	import tagHeader from "../fixed/header.vue"
 	import tagFooter from "../fixed/footer.vue"
 	import AplayerBox from "../mini/Aplayer.vue"
+	import MyVideo from "../group/MyVideo.vue"
 	export default {
 		components: {
 			tagHeader,
 			tagFooter,
 			AplayerBox,
+			MyVideo,
 		},
 		data() {
 			return {
@@ -37,7 +40,9 @@
 			}
 		},
 		methods: {
-
+			showMyVideo(param) {
+				this.$refs.MyVideo.showModal(param);
+			},
 			// 下载文件
 			down: function() {
 				console.log(111);

--
Gitblit v1.9.1