<template>
	<view class="video-item-box">
		<el-image :src="data[imgKey]" :preview-src-list="[data[imgKey]]" />
		<view class="video-mask-box">
			<p>{{data.picDate}}</p>
			<h5>{{data.title}}</h5>
		</view>
	</view>
</template>

<script setup>
	import {
		formatDateToYearMonthDay
	} from "@/utils/common.js"
	import {
		computed
	} from "vue"

	const props = defineProps({
		data: {
			type: Object
		},
		isShowBtn: {
			type: Boolean,
			default: false,
		},
		imgKey: {
			type: String,
			default: 'cover'
		}
	})
</script>

<style>
</style>