master
fanluyan 2 years ago
parent 2fdd507d3c
commit 8b2ce947ca

@ -24,6 +24,8 @@
height="100%"
:src="bigPicPath"
controls="controls"
:poster="videopath"
autoplay
></video>
</div>
<div class="bigimg" v-else>
@ -82,8 +84,11 @@
class="smallnoPic"
v-else-if="item.path.indexOf('videos') !== -1"
>
<!-- <img src="../../assets/img/img.jpg" v-if="item.thumb == ''" v-else/> -->
<img :src="item.thumb" />
<img
src="../../assets/img/loading.jpg"
v-if="item.thumb.indexOf('jpg') == -1"
/>
<img :src="item.thumb" v-else />
<p class="videoicon"><i class="el-icon-video-play"></i></p>
<p class="timeInfo">
<el-tooltip
@ -154,6 +159,7 @@ export default {
},
isshowArrow: true, //
bigPicPath: "", //
videopath: "",
smallPicPath: "", //
bigNum: 0, //
fiveList: [], //list
@ -185,6 +191,7 @@ export default {
this.page * this.pagesize
);
this.bigPicPath = this.fiveList[this.activeSmall].path;
this.videopath = this.fiveList[this.activeSmall].thumb;
},
//
leftClick() {
@ -361,12 +368,12 @@ export default {
}
.videoicon {
position: absolute;
top: 45%;
left: 50%;
top: 73%;
left: 10%;
transform: translate(-50%, -50%);
i {
font-size: 38px;
color: #409eff;
font-size: 28px;
color: #fff;
}
}
.borderActive {

@ -1,7 +1,7 @@
<template>
<el-dialog
class="setTimeDialog"
title="时间表设置"
title="拍照时间表设置"
:visible.sync="isShow"
:close-on-click-modal="false"
@close="handleclose"

@ -565,11 +565,10 @@ export default {
this.newPicData = res.data;
console.log(this.newPicData);
console.log(this.newTermId);
this.timer = window.setInterval(() => {
this.newPicApi();
this.i++;
}, 5000);
}, 10000);
})
.catch((err) => {
console.log(err); //

Loading…
Cancel
Save