Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NEWYEARPARTY
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
NEWYEARPARTY
Commits
d52c7194
Commit
d52c7194
authored
Dec 20, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
abb3f38e
Pipeline
#39
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
index.vue
src/components/index.vue
+6
-1
No files found.
src/components/index.vue
View file @
d52c7194
<
template
>
<div
class=
"bg_box"
:style=
"
{position: 'relative', width: `${videInfo.width}px`, height: `${videInfo.height}px`, left: `${videInfo.offsetX}px`, top: `${videInfo.offsetY}px`, transform: `scale(${videInfo.transformScale1}, ${videInfo.transformScale2})`}">
<div
class=
"bg_video_box"
>
<video
src=
"/static/video/yxbg.mp4"
autoplay=
"autoplay"
loop=
"loop"
muted=
"muted"
></video>
<video
src=
"/static/video/yxbg.mp4"
autoplay=
"autoplay"
loop=
"loop"
muted=
"muted"
id=
"homeBGvideo"
></video>
</div>
<div
class=
"home_tit"
>
<div
class=
"_en yinxiang2020"
>
...
...
@@ -46,6 +46,11 @@ export default {
}
}
},
activated
()
{
var
video
=
document
.
getElementById
(
'homeBGvideo'
)
video
.
muted
=
true
video
.
play
()
},
created
()
{
this
.
windowResize
()
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment