.visit{ padding: 20rpx; } .visit-box{ padding: 20rpx; display: flex; justify-content: space-between; box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1); border-radius: 20rpx; margin-bottom: 20rpx; } .visit-img{ width: 150rpx; height: 150rpx; position: relative; overflow: hidden; } .visit-img image{ position: absolute; top: 50%; left: 50%; height: 100%; transform: translate(-50%, -50%); } .visit-info{ width: 500rpx; } .title{ color: #000; font-size: 32rpx; font-weight: bold; margin-bottom: 10rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .row{ color: #999; line-height: 50rpx; font-size: 28rpx; } .btn{ width: 180rpx; height: 50rpx; text-align: center; line-height: 50rpx; background-color: #118aff; color: #fff; font-size: 28rpx; border-radius: 10rpx; }