<div class="img">
<img src="/static/upload/image/20220425/1650874813602146.jpg" alt="滑梯">
</div>
.img {
width: 100%;
height: 258.38px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.img img {
max-width: unset;
height: 100%;
display: block;
}