锦水居民端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

109 lines
2.6 KiB

.preload-item {
width:100%;
padding: 30rpx 0 10rpx 0;
}
.preload-item .content {
padding: 0 20rpx;
box-sizing: border-box;
width: 100%;
}
.preload-item .personal-info {
width: 100%;
height: 56rpx;
display: flex;
align-items: center;
margin-bottom: 16rpx;
}
.preload-item .personal-info .avatar {
width: 56rpx;
height:56rpx;
border-radius: 50%;
background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
animation: loading 1.4s ease infinite;
background-size: 400% 100%;
}
.preload-item .personal-info .right {
margin-left: 10rpx;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.preload-item .personal-info .name {
height: 26rpx;
background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
animation: loading 1.4s ease infinite;
background-size: 400% 100%;
width:160rpx;
}
.preload-item .personal-info .time {
line-height: 20rpx;
height: 20rpx;
width:200rpx;
background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
animation: loading 1.4s ease infinite;
background-size: 400% 100%;
}
.preload-item .topic-content {
width: calc(100% - 66rpx - 66rpx);
margin-left: 66rpx;
background: #fff;
border-radius: 16rpx;
overflow: hidden;
}
.preload-item .topic-content .topic-image {
width: 100%;
height: 305rpx;
object-fit: cover;
background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
animation: loading 1.4s ease infinite;
background-size: 400% 100%;
}
.preload-item .topic-content .type {
width: 70rpx;
height: 32rpx;
margin: 18rpx 0 8rpx 20rpx;
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 .topic-content .title {
height:32rpx;
margin: 0 20rpx;
width: calc(100% - 40rpx);
margin-bottom: 24rpx;
background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
animation: loading 1.4s ease infinite;
background-size: 400% 100%;
}
.preload-item .topic-content .operation {
width: 100%;
height: 90rpx;
box-sizing: border-box;
padding: 0 20rpx;
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1rpx solid #dbe7e7;
}
.preload-item .topic-content .operation view {
background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
animation: loading 1.4s ease infinite;
background-size: 400% 100%;
width:100%;
height: 32rpx;
}
@keyframes loading {
0% {
background-position: 100% 50%
}
100% {
background-position: 0 50%
}
}