.m2 { width: 100%; } .m2-bg { position: relative; width: 100%; aspect-ratio: 2560/1800; /* 2560/1440=16/9,核心比例约束 */ /* background: url('../img/m2.png'); background-repeat: no-repeat; background-size: 100% auto; 宽度铺满,高度自动 */ min-width: 1280px; } .m2-bg-t { font-size: 0.63rem; color: #cbcfd8; width: 100%; text-align: center; margin-top: 1.78rem; } .m2-img-box { position: absolute; bottom: 2.19rem; width: 100%; display: flex; justify-content: center; gap: 0.2rem; }