|
@@ -75,7 +75,7 @@
|
|
|
<el-col :span="24" class="title">
|
|
|
{{ item.title }}
|
|
|
</el-col>
|
|
|
- <el-col :span="24" class="video">
|
|
|
+ <el-col :span="24" class="video" v-if="item.fileUrl.length > 0">
|
|
|
<video
|
|
|
controls="controls"
|
|
|
preload="meta"
|
|
@@ -85,7 +85,7 @@
|
|
|
x5-video-player-type="h5"
|
|
|
x5-video-player-fullscreen="true"
|
|
|
controlsList="nodownload"
|
|
|
- :src="item.fileUrl[0].url"
|
|
|
+ :src="item.fileUrl && item.fileUrl[0].url"
|
|
|
loop="loop"
|
|
|
>
|
|
|
<source src="movie.ogg" type="video/ogg" />
|
|
@@ -219,7 +219,7 @@ export default {
|
|
|
.el-image {
|
|
|
float: right;
|
|
|
width: 100%;
|
|
|
- height: 100%;
|
|
|
+ height: 70px;
|
|
|
border-radius: 5px;
|
|
|
}
|
|
|
/deep/.image-slot img {
|