page { background: #f6f6f6; } .village .homestay { background: #ffffff; margin: 30rpx; border-radius: 20rpx; } .village .homestay .homestay-image { width: 100%; height: 300rpx; border-radius: 30rpx 30rpx 0 0 ; } .village .homestay .homestay-name { font-size: 30rpx; font-family: Source Han Sans CN; font-weight: 400; color: #222222; margin: 20rpx; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .village .homestay .homestay-price { display: flex; color: red; font-size: 24rpx; margin: 20rpx 10rpx 0 20rpx; } .village .homestay .homestay-price .price { font-size: 32rpx; margin-top: -8rpx; } .village .homestay .homestay-address { font-size: 28rpx; font-family: Source Han Sans CN; font-weight: 300; color: #666666; line-height: 36rpx; margin: 20rpx; padding-bottom: 20rpx; }