|
@@ -98,7 +98,7 @@
|
|
<div class="w_1200">
|
|
<div class="w_1200">
|
|
<el-col :span="24" class="three1">
|
|
<el-col :span="24" class="three1">
|
|
<el-col :span="12" class="left">
|
|
<el-col :span="12" class="left">
|
|
- <video :src="dockInfo.file_path" autoplay controls="controls" v-if="dockInfo.file_path != null || ''">
|
|
|
|
|
|
+ <video :src="dockInfo.file_path" autoplay="autoplay" controls="controls" v-if="dockInfo.file_path != null || ''">
|
|
您的浏览器不支持 video 标签。
|
|
您的浏览器不支持 video 标签。
|
|
</video>
|
|
</video>
|
|
<div class="videointro" v-else>
|
|
<div class="videointro" v-else>
|
|
@@ -356,9 +356,6 @@ export default {
|
|
await this.searchInfo();
|
|
await this.searchInfo();
|
|
await this.searchVideo();
|
|
await this.searchVideo();
|
|
},
|
|
},
|
|
- // beforeDestroy() {
|
|
|
|
- // this.clearInterval(this.timer);
|
|
|
|
- // },
|
|
|
|
methods: {
|
|
methods: {
|
|
...dock({ dockQuery: 'query', dockFetch: 'fetch', goodsquery: 'goodsquery' }),
|
|
...dock({ dockQuery: 'query', dockFetch: 'fetch', goodsquery: 'goodsquery' }),
|
|
...expertsuser({ expertQuery: 'query' }),
|
|
...expertsuser({ expertQuery: 'query' }),
|
|
@@ -456,7 +453,7 @@ export default {
|
|
},
|
|
},
|
|
seachtime() {
|
|
seachtime() {
|
|
// 倒计时
|
|
// 倒计时
|
|
- this.timer = setInterval(() => {
|
|
|
|
|
|
+ this.djstime = setInterval(() => {
|
|
this.setTime(this.dockInfo.start_time);
|
|
this.setTime(this.dockInfo.start_time);
|
|
}, 1000);
|
|
}, 1000);
|
|
},
|
|
},
|
|
@@ -465,7 +462,7 @@ export default {
|
|
let now = moment().format('YYYY-MM-DD HH:mm:ss');
|
|
let now = moment().format('YYYY-MM-DD HH:mm:ss');
|
|
// let now = moment().format('2020-11-20 08:00:00');
|
|
// let now = moment().format('2020-11-20 08:00:00');
|
|
if (end == now) {
|
|
if (end == now) {
|
|
- clearInterval(this.timer);
|
|
|
|
|
|
+ clearInterval(this.djstime);
|
|
this.$set(this, `djs`, '展会开始');
|
|
this.$set(this, `djs`, '展会开始');
|
|
} else {
|
|
} else {
|
|
let sec = moment(end).diff(now, 'seconds');
|
|
let sec = moment(end).diff(now, 'seconds');
|
|
@@ -499,7 +496,7 @@ export default {
|
|
this.timer = setInterval(() => {
|
|
this.timer = setInterval(() => {
|
|
this.times--;
|
|
this.times--;
|
|
if (this.times === 0) {
|
|
if (this.times === 0) {
|
|
- this.searchInfo();
|
|
|
|
|
|
+ this.searchVideo();
|
|
this.times = 5;
|
|
this.times = 5;
|
|
clearInterval(this.timer);
|
|
clearInterval(this.timer);
|
|
}
|
|
}
|