Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
ww_picture-group
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
ww_picture-group
Commits
4757c5b3
Commit
4757c5b3
authored
Aug 12, 2020
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 背景图片
parent
9eef9434
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
play.component.html
src/app/play/play.component.html
+1
-0
play.component.scss
src/app/play/play.component.scss
+9
-0
index.html
src/index.html
+1
-1
No files found.
src/app/play/play.component.html
View file @
4757c5b3
<div
class=
"body-bg"
></div>
<div
class=
"player-border"
>
<div
class=
"player-border"
>
<div
class=
"player-picture-group"
>
<div
class=
"player-picture-group"
>
<div
class=
"group g1"
[
style
.
height
]="
_HEIGHT
"
>
<div
class=
"group g1"
[
style
.
height
]="
_HEIGHT
"
>
...
...
src/app/play/play.component.scss
View file @
4757c5b3
.body-bg
{
position
:
absolute
;
top
:
0px
;
left
:
0px
;
right
:
0px
;
bottom
:
0px
;
background-image
:
url('../../assets/player-bg.jpg')
!
important
;
}
.player-border
{
.player-border
{
position
:
absolute
;
position
:
absolute
;
left
:
calc
((
100%
-
100vh
*
1
.36
)
/
2
);
left
:
calc
((
100%
-
100vh
*
1
.36
)
/
2
);
...
...
src/index.html
View file @
4757c5b3
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<script
type=
"text/javascript"
src=
"https://staging-teach.cdn.ireadabc.com/h5template/h5-static-lib/js/air.js"
></script>
<script
type=
"text/javascript"
src=
"https://staging-teach.cdn.ireadabc.com/h5template/h5-static-lib/js/air.js"
></script>
</head>
</head>
<body
style=
"background-image: url('./assets/player-bg.jpg')"
>
<body>
<app-root></app-root>
<app-root></app-root>
</body>
</body>
</html>
</html>
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