chore: 页面表面回归与数据处理文案适配

页面表面回归选择器更新为 task-overview,任务概览补充表面背景变量,数据处理结果步骤标题文案精简。
This commit is contained in:
caoxiaozhu
2026-07-16 09:36:39 +08:00
parent 4899bc8779
commit a6085a2612
3 changed files with 3 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ assert.match(rootPageCardBlock, /box-shadow:\s*none\s*!important;/, '页面根
const trainingLogStyle = [trainingLogSource, trainingOverviewSource]
.flatMap((source) => parseSfc(source).descriptor.styles.map((item) => item.content))
.join('\n')
const businessSurfaceBlock = extractCssBlock(trainingLogStyle, '.profile-section,\n.runtime-panel')
const businessSurfaceBlock = extractCssBlock(trainingLogStyle, '.task-overview')
assert.match(
businessSurfaceBlock,
/background:\s*var\(--app-surface-bg\);/,

View File

@@ -47,7 +47,7 @@ const WIZARD_STEPS = [
{ id: 'upload', title: '上传文件', desc: '上传或接入待处理的源数据' },
{ id: 'preview', title: '数据预览', desc: '核对源文件与预览内容' },
{ id: 'generate', title: '开始生成', desc: '确认摘要并启动处理' },
{ id: 'results', title: '编辑与保存', desc: '检查、修改并保存结果' },
{ id: 'results', title: '结果编辑与保存', desc: '检查、修改并保存结果' },
] as const satisfies ReadonlyArray<{ id: StepId; title: string; desc: string }>
const currentStep = ref(0)
const currentStepId = computed<StepId>(() => WIZARD_STEPS[currentStep.value]?.id ?? 'create')

View File

@@ -61,6 +61,7 @@ function formatDateTime(value?: string) {
margin-bottom: 0;
border: 1px solid #e4e7ed !important;
border-radius: 8px !important;
background: var(--app-surface-bg);
box-shadow: none !important;
}
.overview-layout { width: 100%; }