Commit 34e9f7b6 by 前端

ui

1 parent 9c6110f1
This file is too large to display.
...@@ -403,7 +403,7 @@ export default { ...@@ -403,7 +403,7 @@ export default {
.titleCon { .titleCon {
position: absolute; position: absolute;
bottom: 221px; bottom: 191px;
left: 50%; left: 50%;
height: 100px; height: 100px;
transform: translateX(-50%); transform: translateX(-50%);
......
<template> <template>
<div class="video-container"> <div class="video-container">
<video controls autoplay class="video-box" ref="video"> <video controls autoplay class="video-box" ref="video">
<source src="@/assets/video/car.mp4" type="video/mp4" /> <source :src="videoSrc" type="video/mp4" />
</video> </video>
<div class="video-pause" @click="hanldPlay('pause')" v-if="status == 'play'"> <div class="video-pause" @click="hanldPlay('pause')" v-if="status == 'play'">
<img src="@/assets/images/play-icon.png" /> <img src="@/assets/images/play-icon.png" />
...@@ -16,7 +16,7 @@ export default { ...@@ -16,7 +16,7 @@ export default {
data() { data() {
return { return {
videoSrc: 'https://www.runoob.com/try/demo_source/movie.mp4', videoSrc: 'https://img02.glsx.com.cn/weapp/resource/saas/video/car.mp4',
status: 'play', status: 'play',
timer: null timer: null
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!