Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-scene
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 34e9f7b6
authored
Jul 12, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui
1 parent
9c6110f1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
src/assets/video/car.mp4
src/views/home/pages/viewEntireLifecycleOfCar.vue
src/views/videoPage/index.vue
src/assets/video/car.mp4
0 → 100644
View file @
34e9f7b
This file is too large to display.
src/views/home/pages/viewEntireLifecycleOfCar.vue
View file @
34e9f7b
...
@@ -403,7 +403,7 @@ export default {
...
@@ -403,7 +403,7 @@ export default {
.titleCon
{
.titleCon
{
position
:
absolute
;
position
:
absolute
;
bottom
:
22
1px
;
bottom
:
19
1px
;
left
:
50%
;
left
:
50%
;
height
:
100px
;
height
:
100px
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
...
...
src/views/videoPage/index.vue
View file @
34e9f7b
<
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
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment