iter(e04): 新增 empty 空状态组件

This commit is contained in:
HIsheR
2026-10-23 18:11:47 +08:00
parent 62d4ce648d
commit fd4ee018e6
12 changed files with 172 additions and 9 deletions
+29
View File
@@ -814,6 +814,35 @@ button.ua-step-dot:hover {
border-radius: 4px;
}
/* —— 空状态 —— */
.ua-empty {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--ua-space-2);
padding: var(--ua-space-4);
min-height: 120px; /* 撑出足够留白感 */
justify-content: center;
text-align: center;
}
.ua-empty-icon {
font-size: 34px;
line-height: 1;
color: var(--ua-color-border); /* 装饰符号弱化为边框色 */
}
.ua-empty-title {
font-size: var(--ua-font-size-md);
font-weight: 600;
color: var(--ua-color-text);
}
.ua-empty-desc {
font-size: var(--ua-font-size-sm);
color: var(--ua-color-text-muted);
}
.ua-empty-action {
margin-top: var(--ua-space-1);
}
/* —— 徽标 —— */
.ua-badge {
display: inline-block;