2026-09-09 22:05:00 +08:00
|
|
|
.ui-loading--block {
|
2026-09-23 01:06:46 +08:00
|
|
|
display:flex;
|
|
|
|
|
flex-direction:column;
|
|
|
|
|
align-items:center;
|
|
|
|
|
justify-content:center;
|
|
|
|
|
padding:var(--spacing-8) var(--spacing-page-x);
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
.ui-loading--inline {
|
2026-09-23 01:06:46 +08:00
|
|
|
display:inline-flex;
|
|
|
|
|
align-items:center;
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
.ui-loading__spinner {
|
2026-09-23 01:06:46 +08:00
|
|
|
width:60rpx;
|
|
|
|
|
height:60rpx;
|
|
|
|
|
display:flex;
|
|
|
|
|
align-items:center;
|
|
|
|
|
justify-content:center;
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
2026-09-14 06:38:44 +08:00
|
|
|
.ui-loading__spinner-icon {
|
2026-09-23 01:06:46 +08:00
|
|
|
width:48rpx;
|
|
|
|
|
height:48rpx;
|
|
|
|
|
animation:ui-loading-spin 0.8s linear infinite;
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
@keyframes ui-loading-spin {
|
2026-09-23 01:06:46 +08:00
|
|
|
from { transform:rotate(0deg); }
|
|
|
|
|
to { transform:rotate(360deg); }
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
.ui-loading__text {
|
2026-09-23 01:06:46 +08:00
|
|
|
margin-top:var(--spacing-3);
|
|
|
|
|
font-size:var(--font-size-sm);
|
|
|
|
|
color:var(--color-text-tertiary);
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Skeleton */
|
|
|
|
|
.ui-loading__skeleton {
|
2026-09-23 01:06:46 +08:00
|
|
|
width:100%;
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
.ui-loading__skeleton-row {
|
2026-09-23 01:06:46 +08:00
|
|
|
display:flex;
|
|
|
|
|
align-items:center;
|
|
|
|
|
padding:var(--spacing-3) var(--spacing-page-x);
|
|
|
|
|
background:var(--color-bg-card);
|
|
|
|
|
border-bottom:1rpx solid var(--color-divider);
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
.ui-loading__skeleton-avatar {
|
2026-09-23 01:06:46 +08:00
|
|
|
width:88rpx;
|
|
|
|
|
height:88rpx;
|
|
|
|
|
border-radius:50%;
|
|
|
|
|
background:var(--color-bg-disabled);
|
|
|
|
|
margin-right:var(--spacing-3);
|
|
|
|
|
flex-shrink:0;
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
.ui-loading__skeleton-content {
|
2026-09-23 01:06:46 +08:00
|
|
|
flex:1;
|
|
|
|
|
min-width:0;
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
.ui-loading__skeleton-line {
|
2026-09-23 01:06:46 +08:00
|
|
|
height:24rpx;
|
|
|
|
|
background:var(--color-bg-disabled);
|
|
|
|
|
border-radius:var(--radius-sm);
|
|
|
|
|
position:relative;
|
|
|
|
|
overflow:hidden;
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
.ui-loading__skeleton-line--title {
|
2026-09-23 01:06:46 +08:00
|
|
|
width:40%;
|
|
|
|
|
margin-bottom:var(--spacing-2);
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
.ui-loading__skeleton-line--meta {
|
2026-09-23 01:06:46 +08:00
|
|
|
width:70%;
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
/* shimmer */
|
|
|
|
|
.ui-loading__skeleton-line::after,
|
|
|
|
|
.ui-loading__skeleton-avatar::after {
|
2026-09-23 01:06:46 +08:00
|
|
|
content:'';
|
|
|
|
|
position:absolute;
|
|
|
|
|
top:0;
|
|
|
|
|
left:0;
|
|
|
|
|
width:100%;
|
|
|
|
|
height:100%;
|
|
|
|
|
background:linear-gradient(
|
2026-09-09 22:05:00 +08:00
|
|
|
90deg,
|
|
|
|
|
transparent 0%,
|
|
|
|
|
rgba(255, 255, 255, 0.55) 50%,
|
|
|
|
|
transparent 100%
|
|
|
|
|
);
|
2026-09-23 01:06:46 +08:00
|
|
|
animation:ui-loading-shimmer 1.4s ease-in-out infinite;
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|
|
|
|
|
@keyframes ui-loading-shimmer {
|
2026-09-23 01:06:46 +08:00
|
|
|
0% { transform:translateX(-100%); }
|
|
|
|
|
100% { transform:translateX(100%); }
|
2026-09-09 22:05:00 +08:00
|
|
|
}
|