From 1d552a3bad95caae4af15322df28e6240b797693 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 13 Aug 2026 15:32:06 +0800
Subject: [PATCH] feat: app视频封面图

---
 uniapps/work-app/src/pages/work/index.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/uniapps/work-app/src/pages/work/index.vue b/uniapps/work-app/src/pages/work/index.vue
index a318027..f9dea90 100644
--- a/uniapps/work-app/src/pages/work/index.vue
+++ b/uniapps/work-app/src/pages/work/index.vue
@@ -18,7 +18,12 @@
 				<div class="eventList">
 					<div class="eventItem" v-for="(item, index) in dataList" :key="index">
 						<image v-if="item.isImage" :src="item.thumbnail" mode="aspectFill" @click="detailHandle(item)" />
-						<div v-else-if="item.isVideo" class="videoBox" @click="detailHandle(item)">
+						<div
+							v-else-if="item.isVideo"
+							class="videoBox"
+							:style="item.thumbnailUrl ? { backgroundImage: `url(${item.thumbnailUrl})`, backgroundSize: 'cover', backgroundPosition: 'center' } : {}"
+							@click="detailHandle(item)"
+						>
 							<div class="playIcon"></div>
 						</div>
 						<div class="informationDisplay">

--
Gitblit v1.9.3