.roominfo { margin: 0 auto; width: 714rpx; text-align: center; position: relative; height: 220rpx; >image { width: 100%; height: 100%; } .roomcon { width: 100%; height: 100%; position: absolute; top: 0; font-size: 0; left: 0; .icon { width: 168rpx; height: 168rpx; position: absolute; top: 16rpx; left: 34rpx; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; >image{ width: 33.3%!important; height: 33.3%!important; } } .roomname { color: #fff; font-size: 32rpx; position: absolute; top: 14rpx; left: 236rpx; } .roomnum{ color: #fff; font-size: 32rpx; position: absolute; top: 110rpx; left: 260rpx; } } }