Commit b0112cab authored by liujiangnan's avatar liujiangnan

feat: 图片封面

parent 86e1c35f
<div class="player-reading" #readingContainer> <div class="body-bg"></div>
<div class="player-border">
<div class="player-reading" #readingContainer>
<div class="imgDetailBox" <div class="imgDetailBox"
(click)="closeDetailView($event)" (click)="closeDetailView($event)"
[style.display]="partDetailVisible? 'block' : 'none'"> [style.display]="partDetailVisible? 'block' : 'none'">
...@@ -45,4 +47,5 @@ ...@@ -45,4 +47,5 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>
.body-bg {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
background-image: url('../../assets/player-bg.png') !important;
background-size: 100%;
}
.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;
}
.player-reading{ .player-reading{
background: url("../../assets/reading/bg_reading.png") 50% 50% no-repeat; background: url("../../assets/reading/bg_reading.png") 50% 50% no-repeat;
width: 100%; width: 100%;
......
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