|
@@ -50,13 +50,13 @@
|
|
<el-col :span="24" class="leftvideo">
|
|
<el-col :span="24" class="leftvideo">
|
|
<p class="title textOver">{{ dockInfo.videointro }}</p>
|
|
<p class="title textOver">{{ dockInfo.videointro }}</p>
|
|
<el-col :span="24" class="video">
|
|
<el-col :span="24" class="video">
|
|
- <div class="videointro" v-if="viewvideo == 'text'">
|
|
|
|
- <p>{{ dockInfo.videointro }}</p>
|
|
|
|
- <p>{{ dockInfo.videointroinfo }}</p>
|
|
|
|
- </div>
|
|
|
|
- <video :src="dockInfo.file_path" autoplay="" controls="controls" v-else>
|
|
|
|
|
|
+ <video :src="dockInfo.file_path" autoplay="" controls="controls" v-if="dockInfo.file_path != null || ''">
|
|
您的浏览器不支持 video 标签。
|
|
您的浏览器不支持 video 标签。
|
|
</video>
|
|
</video>
|
|
|
|
+ <div class="videointro" v-else>
|
|
|
|
+ <p>{{ dockInfo.videointro }}</p>
|
|
|
|
+ <!-- <p>{{ dockInfo.videointroinfo }}</p> -->
|
|
|
|
+ </div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -485,15 +485,15 @@ export default {
|
|
text: '',
|
|
text: '',
|
|
// 视频右侧聊天列表
|
|
// 视频右侧聊天列表
|
|
videoList: 'first',
|
|
videoList: 'first',
|
|
- // 视频是否显示
|
|
|
|
- viewvideo: 'text',
|
|
|
|
- times: 5,
|
|
|
|
|
|
+ // // 视频是否显示
|
|
|
|
+ // viewvideo: 'text',
|
|
|
|
+ // times: 5,
|
|
}),
|
|
}),
|
|
async created() {
|
|
async created() {
|
|
this.$set(this, `dock_id`, this.$route.query.id);
|
|
this.$set(this, `dock_id`, this.$route.query.id);
|
|
// 对接会详情
|
|
// 对接会详情
|
|
await this.searchdock();
|
|
await this.searchdock();
|
|
- this.daojishi();
|
|
|
|
|
|
+ // this.daojishi();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
...mapProduct({ mapProductQuery: 'newquery' }),
|
|
...mapProduct({ mapProductQuery: 'newquery' }),
|
|
@@ -717,19 +717,19 @@ export default {
|
|
else return '暂无';
|
|
else return '暂无';
|
|
},
|
|
},
|
|
// 文字/视频倒计时
|
|
// 文字/视频倒计时
|
|
- daojishi() {
|
|
|
|
- this.timer = setInterval(() => {
|
|
|
|
- this.times--;
|
|
|
|
- if (this.times === 0) {
|
|
|
|
- if (this.dockInfo.file_path) {
|
|
|
|
- this.viewvideo = 'video';
|
|
|
|
- } else {
|
|
|
|
- this.viewvideo = 'text';
|
|
|
|
- }
|
|
|
|
- clearInterval(this.timer);
|
|
|
|
- }
|
|
|
|
- }, 1000);
|
|
|
|
- },
|
|
|
|
|
|
+ // daojishi() {
|
|
|
|
+ // this.timer = setInterval(() => {
|
|
|
|
+ // this.times--;
|
|
|
|
+ // if (this.times === 0) {
|
|
|
|
+ // if (this.dockInfo.file_path) {
|
|
|
|
+ // this.viewvideo = 'video';
|
|
|
|
+ // } else {
|
|
|
|
+ // this.viewvideo = 'text';
|
|
|
|
+ // }
|
|
|
|
+ // clearInterval(this.timer);
|
|
|
|
+ // }
|
|
|
|
+ // }, 1000);
|
|
|
|
+ // },
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.channel();
|
|
this.channel();
|