Commit 4757c5b3 authored by liujiangnan's avatar liujiangnan

fix: 背景图片

parent 9eef9434
<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">
......
.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);
......
...@@ -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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment