Commit 3fb71ca0 authored by 13841799530's avatar 13841799530

视频显示不全

解润东
20220110
parent 859271ce
......@@ -20,7 +20,7 @@
<div>视频展示:
<van-uploader multiple :deletable="false" :show-upload="false" v-model="list.videos" >
<template #preview-cover="{ url }">
<video muted autoplay :src="url" style="width:80px;height:80px;object-fit:cover;"></video>
<video muted autoplay :src="url" style="width:100%;height:100%;object-fit:cover;"></video>
</template>
</van-uploader>
</div>
......
......@@ -20,7 +20,7 @@
<div>视频展示:
<van-uploader multiple :deletable="false" :show-upload="false" v-model="list.videos" >
<template #preview-cover="{ url }">
<video muted autoplay :src="url" style="width:80px;height:80px;object-fit:cover;"></video>
<video muted autoplay :src="url" style="width:100%;height:100%;object-fit:cover;"></video>
</template>
</van-uploader>
</div>
......
......@@ -20,7 +20,7 @@
<div>视频展示:
<van-uploader multiple :deletable="false" :show-upload="false" v-model="list.videos" >
<template #preview-cover="{ url }">
<video muted autoplay :src="url" style="width:80px;height:80px;object-fit:cover;"></video>
<video muted autoplay :src="url" style="width:100%;height:100%;object-fit:cover;"></video>
</template>
</van-uploader>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment