Browse Source

图片样式

master
x_ying 2 years ago
parent
commit
a6830453cc
  1. 5
      src/assets/styles/index.scss

5
src/assets/styles/index.scss

@ -171,10 +171,13 @@
margin-right: 0.35rem; margin-right: 0.35rem;
background: url('~@/assets/images/default-img.png') no-repeat center center; background: url('~@/assets/images/default-img.png') no-repeat center center;
background-size: contain; background-size: contain;
display: flex;
align-items: center;
overflow: hidden;
img{ img{
display: block; display: block;
width: 100%; width: 100%;
height: 100%;
// height: 100%;
} }
} }
.book-info{ .book-info{

Loading…
Cancel
Save