-
<div class="box-image">
-
<img class="img-style"
-
src="~@/assets/img/picture.png"
-
/>
-
</div>
.box-image {
width: 1200px;
height: 488px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
border-radius: 8px;
.img-style {
width: 100%;
height: auto
}
}