.preload-item { width: 100%; height: 275rpx; background: #fff; box-sizing: border-box; padding: 0 20rpx; } .preload-item .street { width: 100%; height: 68rpx; display: flex; align-items: flex-end; } .preload-item .street .street-name { width: 80%; height: 30rpx; border-radius: 6rpx; background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%); animation: loading 1.4s ease infinite; background-size: 400% 100%; } .preload-item .detail { width: 100%; height: 207rpx; box-sizing: border-box; padding: 30rpx 0; display: flex; } .preload-item .detail .user-count { height: 100%; width: 200rpx; box-sizing: border-box; display: flex; align-items: center; flex-direction: column; justify-content: center; } .border{ border-right: 1rpx solid #e8e8e8; } .preload-item .detail .user-count .num { height: 20rpx; width: 60%; background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%); animation: loading 1.4s ease infinite; background-size: 400% 100%; border-radius: 6rpx; margin-bottom: 10rpx; } .preload-item .detail .user-count .tip { height: 30rpx; width: 80%; background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%); animation: loading 1.4s ease infinite; background-size: 400% 100%; border-radius: 6rpx; } .preload-item .detail .right { width: calc(100% - 400rpx); height: 100%; border-right: 1rpx solid #e8e8e8; } .preload-item .detail .right .top { width: 100%; height: 93rpx; display: flex; align-items: center; justify-content: space-around; } .preload-item .detail .right .top .resident-total { flex: 1; height: 100%; display: flex; align-items: center; flex-direction: column; } .preload-item .detail .right .top .resident-total .num { height: 20rpx; width: 30%; background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%); animation: loading 1.4s ease infinite; background-size: 400% 100%; border-radius: 6rpx; } .preload-item .detail .right .top .resident-total .tip { margin-top: 10rpx; height: 30rpx; width: 50%; background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%); animation: loading 1.4s ease infinite; background-size: 400% 100%; border-radius: 6rpx; } .preload-item .detail .right .bottom { width: 100%; box-sizing: border-box; padding:0 20rpx; } .preload-item .detail .right .bottom .resident { height: 30rpx; width: 100%; background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%); animation: loading 1.4s ease infinite; background-size: 400% 100%; border-radius: 6rpx; } .preload-item .detail .right .bottom .partyMember { margin-top: 10rpx; height: 30rpx; width: 100%; background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%); animation: loading 1.4s ease infinite; background-size: 400% 100%; border-radius: 6rpx; } @keyframes loading { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } } /** background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%); animation: loading 1.4s ease infinite; background-size: 400% 100%; */