From af029bdfb645bd2b75fbab687c1a5f45b428d801 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Thu, 11 Aug 2022 18:53:48 +0800
Subject: [PATCH] 优化上传逻辑,月台添加mini播放弹窗

---
 src/components/mini/box14-video.vue |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/components/mini/box14-video.vue b/src/components/mini/box14-video.vue
index 952dd7d..54bfb57 100644
--- a/src/components/mini/box14-video.vue
+++ b/src/components/mini/box14-video.vue
@@ -1,5 +1,5 @@
 <template>
-	<div>
+	<div class="fade">
 		<div class="mySecretSamll" v-if="data==null|| data.length==0">
 			<p>
 				<a-icon type="delete" /> 空空如也..
@@ -7,7 +7,7 @@
 		</div>
 		<div class="gridClass">
 			<div class="entry-preview" v-for="item in data">
-				<div class="thumbnail_box" @click="showMyVideo(item.id)">
+				<div class="thumbnail_box" @click="showMyVideo(item)">
 					<div class="thumbnail">
 						<img :src="item.coverFileURL" alt="" loading="lazy" :onerror="img404">
 					</div>
@@ -15,9 +15,10 @@
 				<div class="entry-post">
 					<div class="entry-header">
 						<h5 class="entry-title">
-							<router-link :to="{path:'videoDetail',query:{id:item.id}}" :title="item.title">
+							<!-- <router-link :to="{path:'videoDetail',query:{id:item.id}}" :title="item.title">
 								{{item.title}}
-							</router-link>
+							</router-link> -->
+								{{item.title}}
 						</h5>
 						<div class="post_content">
 							{{item.introduce}}
@@ -26,7 +27,7 @@
 					<div class="entry-meta">
 						<div class="post-categories">
 							<span class="tag vcard">
-								<a-icon type="book" />
+								<a-icon type="customer-service" />
 								<a href="#" rel="category tag"> {{item.articleTypeName}}</a>
 							</span>
 							<!-- <span class="tag-list">
@@ -95,9 +96,11 @@
 					return res
 				})
 			},
-			showMyVideo(param) {
+			showMyVideo(item) {
 				this.$emit('showMyVideo', {
-					id: param
+					id: item.id,
+					isAllowedComment: item.isAllowedComment,
+					introduce: item.introduce,
 				})
 			}
 		}

--
Gitblit v1.9.1