Commit dba868c7 authored by liujiangnan's avatar liujiangnan

修改分辨率

parent d9d7b4d1
<div class="content">
<div class="body-bg"></div>
<div class="player-border">
<div class="content">
<div class="monkey-move">
<div class="tree">
<div>
......@@ -48,4 +50,5 @@
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
.body-bg {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
background-image: url('../../assets/player-bg.jpg') !important;
}
.player-border{
position: absolute;
left: calc((100% - 100vh * 1.36)/ 2);
top: 5vh;
right: calc((100% - 100vh * 1.36)/ 2);
bottom: 5vh;
text-align: center;
// box-shadow: 0 2px 12px 0 rgba(0,0,0,.3);
border-radius: 11px;
border: 20px solid #23b1c2;
background-color: #fff;
overflow: hidden;
color: #303133;
transition: .3s;
}
.content {
text-align: center;
width: 100%;
......
......@@ -81,6 +81,8 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
}, 500);
}, this.saveKey);
this.refresh();
}
ngOnDestroy() {
......
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