feat(experience-center): 侧栏、页头与生成页布局对齐用户中心规范
- 侧栏:结构、样式与收起交互对齐用户中心,去掉标题块与装饰 - 页头:云端大脑 / 图片生成 / 视频生成统一用户中心页头规格,去掉标题图标,页底与 /console/analytics 统一 - 云端大脑:专家广场 / 我的任务改为线型页签(对齐数据看板),页头操作右置 - 图片生成:参数栏固定、右侧整列局部滚动;工具栏单行,筛选固定宽度省略并悬停提示,清除筛选前置;两行卡片按可视高度拉伸并与左栏底边对齐;空状态居中;对比勾选框缩小居中 - 视频生成:任务队列浮层覆盖展开,表格对齐密钥管理列表,分页移出滚动区修复抖动,任务 ID 完整展示,状态去图标居中 - 三页底部内边距减半统一 验证:ESLint / Prettier / git diff --check 通过,单测 875 项通过;本地 Playwright 浅深主题 × 1920×951 / 1920×1080 / 393×851 布局与交互、6 套主题色兼容回归通过(图片 / 视频任务为模拟数据)
This commit is contained in:
@@ -41,21 +41,11 @@
|
||||
flex: none;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 15px 16px;
|
||||
min-height: 62px;
|
||||
padding: 14px 16px;
|
||||
border-bottom: 1px solid var(--igf-line);
|
||||
}
|
||||
|
||||
.igf-header-icon {
|
||||
display: grid;
|
||||
flex: none;
|
||||
place-items: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 10px;
|
||||
background: var(--brand-selection-bg);
|
||||
color: var(--brand-selection-text);
|
||||
}
|
||||
|
||||
.igf-header-copy {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
@@ -68,14 +58,16 @@
|
||||
}
|
||||
|
||||
.igf-title {
|
||||
/* 卡片区块标题:与右侧“生成历史”同级(18 / 26px / 650),页面级标题在 ExperiencePageHeader */
|
||||
margin: 0;
|
||||
font-size: 21px;
|
||||
font-size: 18px;
|
||||
font-weight: 650;
|
||||
line-height: 27px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
.igf-description {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
color: var(--igf-muted);
|
||||
font-size: 12px;
|
||||
|
||||
Reference in New Issue
Block a user