如下图所示
出现这个问题的原因是因为图片不够100%或者不够div的高度。
解决办法:
先将background-size设置为100%,然后在让其平铺。
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
background-image: url("../../../assets/img/recommend-bg@3x.png");
background-size: 100%;
background-repeat: repeat;