style: 更新多个页面为教育蓝主题,调整样式以提升视觉一致性

将多个页面的主题色从墨黑改为教育蓝,涉及的页面包括诊断、优化、渠道、采购、供应商、产品开发等。调整了按钮样式、任务头、步骤导航等元素,确保整体风格统一,优化用户体验。
fix/exam-question-access-material-excel-delete-draft
qinzhenpen 2 months ago
parent 19328ebd81
commit 8986dceb18

File diff suppressed because it is too large Load Diff

@ -348,15 +348,15 @@ onMounted(async () => { try { taskConfig.value = (await getTrainingTaskByKey(TAS
<style scoped lang="scss">
/* ===== 页面级令牌(墨黑极简主题) ===== */
.diagnosis-page {
--student-accent: #1f2937;
--student-accent-deep: #111827;
--student-accent-light: #4b5563;
--student-accent-soft: #f3f4f6;
--student-danger: #d9554c;
--student-success: #4a9d6e;
--student-layer-1: #374151;
--student-layer-2: #43a294;
--student-layer-3: #8b6fc0;
--student-accent: #2563eb;
--student-accent-deep: #1d4ed8;
--student-accent-light: #3b82f6;
--student-accent-soft: #eff6ff;
--student-danger: #ef4444;
--student-success: #2ba471;
--student-layer-1: #1d4ed8;
--student-layer-2: #3b82f6;
--student-layer-3: #93c5fd;
--student-panel-border: #e5e7eb;
--student-card-bg: #ffffff;
--student-panel-bg: #fafbfc;
@ -553,7 +553,7 @@ onMounted(async () => { try { taskConfig.value = (await getTrainingTaskByKey(TAS
min-height: 36px;
height: 36px;
padding: 0 14px;
border: 1px solid rgba(31, 41, 55, 0.4);
border: 1px solid rgba(37, 99, 235, 0.45);
border-radius: 8px;
color: var(--student-text);
background: #ffffff;
@ -569,7 +569,7 @@ onMounted(async () => { try { taskConfig.value = (await getTrainingTaskByKey(TAS
background: var(--student-accent-soft);
color: var(--student-accent);
transform: translateY(-1px);
box-shadow: 0 3px 10px rgba(31, 41, 55, 0.12);
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12);
}
}
@ -578,19 +578,19 @@ onMounted(async () => { try { taskConfig.value = (await getTrainingTaskByKey(TAS
color: #ffffff;
background: var(--student-accent);
font-weight: 700;
box-shadow: 0 3px 10px rgba(31, 41, 55, 0.28);
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
&:hover:not(:disabled) {
border-color: var(--student-accent-deep);
background: var(--student-accent-deep);
color: #ffffff;
transform: translateY(-1px);
box-shadow: 0 5px 14px rgba(17, 24, 39, 0.32);
box-shadow: 0 5px 14px rgba(29, 78, 216, 0.32);
}
}
.table-button.ghost {
border-color: rgba(31, 41, 55, 0.3);
border-color: rgba(37, 99, 235, 0.45);
color: var(--student-text-secondary);
background: #ffffff;
font-weight: 600;
@ -1040,7 +1040,7 @@ button.is-disabled {
:deep(.el-input__wrapper.is-focus),
:deep(.el-textarea__inner:focus) {
box-shadow: 0 0 0 1px var(--student-accent) inset, 0 0 0 2px rgba(31, 41, 55, 0.15) !important;
box-shadow: 0 0 0 1px var(--student-accent) inset, 0 0 0 2px rgba(37, 99, 235, 0.15) !important;
}
}
@ -1166,36 +1166,36 @@ button.is-disabled {
.step-action { display: none !important; }
/* 未到达项 hover */
/* 未到达项 hover:教育蓝边浅底 */
&:hover:not(.active):not(.complete) {
border-color: #1f2937 !important;
background: #f9fafb !important;
color: #1f2937 !important;
.step-marker { background: #1f2937 !important; color: #ffffff !important; }
border-color: #2563eb !important;
background: #eff6ff !important;
color: #2563eb !important;
.step-marker { background: #2563eb !important; color: #ffffff !important; }
}
/* 已完成 */
/* 已完成:绿色编号徽章 */
&.complete:not(.active) {
border-color: #dce9e2 !important;
border-color: #e5e7eb !important;
color: #374151 !important;
.step-marker { background: rgba(74, 157, 110, 0.12) !important; color: #3f8a5f !important; }
.step-marker { background: rgba(43, 164, 113, 0.12) !important; color: #16915f !important; }
&:hover {
border-color: #4a9d6e !important;
background: #f9fafb !important;
.step-marker { background: #4a9d6e !important; color: #ffffff !important; }
border-color: #2ba471 !important;
background: #f0fdf6 !important;
.step-marker { background: #2ba471 !important; color: #ffffff !important; }
}
}
/* 当前步骤 */
/* 当前步骤:教育蓝实底 */
&.active {
border-color: #1f2937 !important;
background: #1f2937 !important;
border-color: #2563eb !important;
background: #2563eb !important;
color: #ffffff !important;
font-weight: 700 !important;
.step-marker { background: #ffffff !important; color: #1f2937 !important; }
.step-marker { background: #ffffff !important; color: #2563eb !important; }
&:hover {
background: #111827 !important;
border-color: #111827 !important;
background: #1d4ed8 !important;
border-color: #1d4ed8 !important;
}
}
}
@ -1225,9 +1225,9 @@ button.is-disabled {
min-height: 36px;
height: 36px;
padding: 0 14px;
border: 1px solid #d1d5db;
border: 1px solid rgba(37, 99, 235, 0.45);
border-radius: 8px;
color: #374151;
color: #2563eb;
background: #ffffff;
box-shadow: none;
text-shadow: none;
@ -1241,30 +1241,30 @@ button.is-disabled {
}
&:hover, &:focus {
border-color: #1f2937;
color: #1f2937;
background: #f9fafb;
box-shadow: 0 2px 6px rgba(17, 24, 39, 0.1);
border-color: #2563eb;
color: #2563eb;
background: #eff6ff;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}
}
.diagnosis-page .task-toolbar-button--submit.el-button {
border-color: #1f2937;
border-color: #2563eb;
color: #ffffff;
background: #1f2937;
box-shadow: 0 2px 8px rgba(17, 24, 39, 0.22);
background: #2563eb;
box-shadow: 0 1px 2px rgba(37, 99, 235, 0.35), 0 3px 10px rgba(37, 99, 235, 0.22);
&:hover, &:focus {
border-color: #111827;
border-color: #1d4ed8;
color: #ffffff;
background: #111827;
box-shadow: 0 4px 12px rgba(17, 24, 39, 0.28);
background: #1d4ed8;
box-shadow: 0 2px 4px rgba(37, 99, 235, 0.4), 0 5px 14px rgba(29, 78, 216, 0.28);
}
}
.diagnosis-page .task-toolbar-button.el-button.is-loading {
border-color: #d1d5db;
color: #374151;
border-color: rgba(37, 99, 235, 0.45);
color: #2563eb;
background: #ffffff;
}
</style>

@ -410,15 +410,15 @@ onMounted(async () => {
<style scoped lang="scss">
/* ===== 页面级令牌(墨黑极简主题) ===== */
.optimization-page {
--student-accent: #1f2937;
--student-accent-deep: #111827;
--student-accent-light: #4b5563;
--student-accent-soft: #f3f4f6;
--student-danger: #d9554c;
--student-success: #4a9d6e;
--student-layer-1: #374151;
--student-layer-2: #43a294;
--student-layer-3: #8b6fc0;
--student-accent: #2563eb;
--student-accent-deep: #1d4ed8;
--student-accent-light: #3b82f6;
--student-accent-soft: #eff6ff;
--student-danger: #ef4444;
--student-success: #2ba471;
--student-layer-1: #1d4ed8;
--student-layer-2: #3b82f6;
--student-layer-3: #93c5fd;
--student-panel-border: #e5e7eb;
--student-card-bg: #ffffff;
--student-panel-bg: #fafbfc;
@ -589,7 +589,7 @@ onMounted(async () => {
min-height: 36px;
height: 36px;
padding: 0 14px;
border: 1px solid rgba(31, 41, 55, 0.4);
border: 1px solid rgba(37, 99, 235, 0.45);
border-radius: 8px;
color: var(--student-text);
background: #ffffff;
@ -610,7 +610,7 @@ onMounted(async () => {
background: var(--student-accent-soft);
color: var(--student-accent);
transform: translateY(-1px);
box-shadow: 0 3px 10px rgba(31, 41, 55, 0.12);
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12);
}
.outline-action:disabled,
@ -629,14 +629,14 @@ button:disabled {
border-color: var(--student-accent);
color: #ffffff;
background: var(--student-accent);
box-shadow: 0 3px 10px rgba(31, 41, 55, 0.28);
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
}
.action-button--primary:hover:not(:disabled),
.nav-button--primary:hover:not(:disabled) {
border-color: var(--student-accent-deep);
background: var(--student-accent-deep);
box-shadow: 0 5px 14px rgba(17, 24, 39, 0.32);
box-shadow: 0 5px 14px rgba(29, 78, 216, 0.32);
}
/* 保存按钮(浅灰底) */
@ -815,13 +815,13 @@ button:disabled {
background: var(--student-accent);
font-size: var(--student-fs-button);
font-weight: 700;
box-shadow: 0 3px 10px rgba(31, 41, 55, 0.28);
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
}
.training-actions :deep(.training-action:hover) {
border-color: var(--student-accent-deep);
background: var(--student-accent-deep);
box-shadow: 0 5px 14px rgba(17, 24, 39, 0.32);
box-shadow: 0 5px 14px rgba(29, 78, 216, 0.32);
}
/* ===== Pareto 上传 ===== */
@ -1065,7 +1065,7 @@ button:disabled {
}
:deep(.el-input__wrapper.is-focus) {
box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.2) inset;
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) inset;
}
:deep(.el-input__inner) {
@ -1171,36 +1171,36 @@ button:disabled {
transition: background-color 0.16s ease, color 0.16s ease !important;
}
/* 未到达项 hover */
/* 未到达项 hover:教育蓝边浅底,编号徽章转教育蓝 */
&:hover:not(.active):not(.complete) {
border-color: #1f2937 !important;
background: #f9fafb !important;
color: #1f2937 !important;
span { background: #1f2937 !important; color: #ffffff !important; }
border-color: #2563eb !important;
background: #eff6ff !important;
color: #2563eb !important;
span { background: #2563eb !important; color: #ffffff !important; }
}
/* 已完成 */
/* 已完成:绿色编号徽章 */
&.complete:not(.active) {
border-color: #dce9e2 !important;
border-color: #e5e7eb !important;
color: #374151 !important;
span { background: rgba(74, 157, 110, 0.12) !important; color: #3f8a5f !important; }
span { background: rgba(43, 164, 113, 0.12) !important; color: #16915f !important; }
&:hover {
border-color: #4a9d6e !important;
background: #f9fafb !important;
span { background: #4a9d6e !important; color: #ffffff !important; }
border-color: #2ba471 !important;
background: #f0fdf6 !important;
span { background: #2ba471 !important; color: #ffffff !important; }
}
}
/* 当前步骤 */
/* 当前步骤:教育蓝实底 */
&.active {
border-color: #1f2937 !important;
background: #1f2937 !important;
border-color: #2563eb !important;
background: #2563eb !important;
color: #ffffff !important;
font-weight: 700 !important;
span { background: #ffffff !important; color: #1f2937 !important; }
span { background: #ffffff !important; color: #2563eb !important; }
&:hover {
background: #111827 !important;
border-color: #111827 !important;
background: #1d4ed8 !important;
border-color: #1d4ed8 !important;
}
}
}

@ -3,7 +3,10 @@
<main class="training-core">
<section class="task-header">
<div class="task-head-main">
<span class="task-badge"><el-icon><TrendCharts /></el-icon> 产品开发与测试验证</span>
<div class="task-head-top">
<span class="task-badge"><el-icon><TrendCharts /></el-icon> 产品开发与测试验证</span>
<span class="task-status">进行中 · Step {{ String(activeStep).padStart(2, "0") }}</span>
</div>
<h1 class="task-title">{{ taskTitle }}</h1>
<p class="task-brief">
<span class="task-brief-text">{{ taskBackground }}</span>
@ -829,21 +832,40 @@ onMounted(async () => {
</script>
<style lang="scss" scoped>
/* ============================================================
* 教育蓝极简 · 采购需求预测页面
* ============================================================ */
.channel {
--student-accent: #1f2937;
--student-accent-deep: #111827;
--student-accent-light: #4b5563;
--student-accent-soft: #f3f4f6;
--student-danger: #d9554c;
--student-success: #4a9d6e;
--student-layer-1: #374151;
--student-layer-2: #43a294;
--student-layer-3: #8b6fc0;
/* 主色:教育蓝 */
--student-accent: #2563eb;
--student-accent-deep: #1d4ed8;
--student-accent-light: #3b82f6;
--student-accent-soft: #eff6ff;
/* 语义色 */
--student-danger: #ef4444;
--student-success: #2ba471;
/* 三层次标识 */
--student-layer-1: #1d4ed8;
--student-layer-2: #3b82f6;
--student-layer-3: #93c5fd;
/* 结构色 */
--student-panel-border: #e5e7eb;
--student-card-bg: #ffffff;
--student-panel-bg: #fafbfc;
--student-text: #1f2937;
--student-text-secondary: #6b7280;
/* Element Plus 主色 */
--el-color-primary: #2563eb;
--el-color-primary-light-3: #60a5fa;
--el-color-primary-light-5: #93c5fd;
--el-color-primary-light-7: #bfdbfe;
--el-color-primary-light-8: #dbeafe;
--el-color-primary-light-9: #eff6ff;
--el-color-primary-dark-2: #1d4ed8;
--el-input-hover-border-color: #3b82f6;
--el-input-focus-border-color: #2563eb;
--el-input-focus-ring-color: rgba(59, 130, 246, 0.15);
/* 紧凑字号梯度 */
--student-fs-display: 17px;
--student-fs-h1: 15px;
--student-fs-h2: 14px;
@ -851,24 +873,19 @@ onMounted(async () => {
--student-fs-body: 13px;
--student-fs-body-sm: 12px;
--student-fs-caption: 11px;
--student-fs-button: 13px;
--student-fs-button-lg: 13px;
--student-fs-data: 14px;
min-height: calc(100vh - 84px);
padding: 0 0 32px;
min-width: 0;
color: var(--student-text);
background: var(--student-panel-bg);
:deep(.training-step-area) {
margin-top: 0 !important;
border-color: var(--student-panel-border) !important;
background: var(--student-panel-bg) !important;
box-shadow: inset 0 1px 0 rgba(31, 41, 55, 0.06), 0 12px 28px rgba(0, 0, 0, 0.06) !important;
}
background: var(--student-card-bg);
:deep(.el-table) {
--el-table-border-color: var(--student-panel-border);
--el-table-header-bg-color: #fafbfc;
--el-table-header-text-color: var(--student-text);
--el-table-row-hover-bg-color: rgba(31, 41, 55, 0.05);
--el-table-row-hover-bg-color: rgba(59, 130, 246, 0.05);
--el-table-bg-color: transparent;
--el-table-tr-bg-color: transparent;
--el-table-text-color: var(--student-text);
@ -879,27 +896,12 @@ onMounted(async () => {
background: var(--student-card-bg);
}
:deep(.el-table::before),
:deep(.el-table__inner-wrapper::before) {
background-color: transparent;
}
:deep(.el-table th.el-table__cell) {
color: var(--student-text) !important;
background: #fafbfc !important;
font-weight: 800;
}
:deep(.el-table td.el-table__cell),
:deep(.el-table tr) {
color: var(--student-text) !important;
background: transparent !important;
}
:deep(.el-table .cell) {
line-height: 1.65;
}
:deep(.el-input__wrapper) {
min-height: 36px;
border: 1px solid var(--student-panel-border);
@ -918,7 +920,7 @@ onMounted(async () => {
:deep(.el-input__wrapper.is-focus) {
border-color: var(--student-accent);
box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.08) !important;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}
:deep(.el-button:not(.material-button)) {
@ -928,9 +930,9 @@ onMounted(async () => {
}
:deep(.el-button:not(.material-button):hover) {
border-color: var(--student-accent-light) !important;
border-color: var(--student-accent-deep) !important;
color: #ffffff !important;
background: var(--student-accent-light) !important;
background: var(--student-accent-deep) !important;
}
.online {
@ -971,9 +973,12 @@ onMounted(async () => {
.channel {
display: grid; gap: 24px; min-height: calc(100vh - 76px); padding: 24px 24px 32px; color: var(--student-text); background: var(--student-card-bg);
.training-core { min-width: 0; padding: 28px; border: 1px solid var(--student-panel-border); border-radius: 36px; background: var(--student-card-bg); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.task-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0; padding: 16px; border: 1px solid var(--student-panel-border); border-radius: 16px; background: var(--student-card-bg); }
.task-header { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0; padding: 18px 20px 18px 24px; border: 1px solid var(--student-panel-border); border-radius: 12px; background: var(--student-card-bg); overflow: hidden; &::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--student-accent); } }
.task-head-main { display: grid; justify-items: start; gap: 8px; min-width: 0; flex: 1 1 auto; }
.task-head-top { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; margin-bottom: 8px; }
.task-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border: 1px solid var(--student-panel-border); border-radius: 999px; color: var(--student-accent-deep); background: var(--student-accent-soft); font-size: 12px; font-weight: 700; }
.task-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; color: var(--student-text-secondary); background: #f3f4f6; font-family: var(--student-font-data); font-size: var(--student-fs-caption); font-weight: 600; white-space: nowrap; &::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--student-accent-light); animation: pulse 1.8s ease-in-out infinite; } }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.task-title { margin: 0; color: var(--student-text); font-size: var(--student-fs-display); font-weight: 700; line-height: 1.35; }
.task-brief { margin: 0; color: var(--student-text-secondary); font-size: 12px; line-height: 1.6; }
.task-brief-text { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
@ -1300,21 +1305,413 @@ onMounted(async () => {
</style>
<style lang="scss">
/* ============================================================
* 教育蓝极简换肤 · channel/index.vue
* ============================================================ */
/* 画布背景 */
#app .studentLayout .app-main:has(.channel) {
background: #ffffff !important;
}
/* el-table 基础换肤 */
:has(.channel) {
.el-table {
--el-table-bg-color: #ffffff !important;
--el-table-tr-bg-color: transparent !important;
--el-table-header-bg-color: #fafbfc !important;
--el-table-row-hover-bg-color: rgba(31, 41, 55, 0.04) !important;
--el-table-row-hover-bg-color: rgba(37, 99, 235, 0.04) !important;
line-height: 1.55;
}
}
/* ============================================================
* 步骤导航:分段连接胶囊(教育蓝极简)
* ============================================================ */
#app .studentLayout .app-main:has(.channel) .step-indicator {
display: flex !important;
flex-wrap: nowrap !important;
align-items: stretch !important;
justify-content: center !important;
gap: 0 !important;
width: 100% !important;
margin: 0 0 20px !important;
padding: 0 !important;
border: none !important;
border-radius: 0 !important;
background: transparent !important;
box-shadow: none !important;
.step-tab {
flex: 1 1 0 !important;
max-width: 240px !important;
display: flex !important;
flex-direction: row !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
min-width: 0 !important;
height: auto !important;
min-height: 40px !important;
margin: 0 !important;
padding: 8px 14px !important;
border: 1px solid #e5e7eb !important;
border-right: none !important;
border-radius: 0 !important;
background: #ffffff !important;
box-shadow: none !important;
color: #6b7280 !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 1.3 !important;
white-space: normal !important;
text-align: center !important;
cursor: pointer;
transition: all 0.16s ease !important;
&:first-child {
border-radius: 8px 0 0 8px !important;
}
&:last-child {
border-radius: 0 8px 8px 0 !important;
border-right: 1px solid #e5e7eb !important;
}
.step-bar {
display: none !important;
}
.step-no,
.step-marker {
position: static !important;
flex: 0 0 auto !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
min-width: 22px !important;
height: 22px !important;
padding: 0 5px !important;
border-radius: 6px !important;
background: #f3f4f6 !important;
color: #6b7280 !important;
font-family: var(--student-font-data), ui-monospace, "SF Mono", Consolas, monospace !important;
font-size: 12px !important;
font-weight: 700 !important;
line-height: 1 !important;
transition: all 0.16s ease !important;
&::after {
display: none !important;
}
}
.step-name {
color: inherit !important;
}
.step-copy {
margin-left: 0 !important;
gap: 4px !important;
}
&:hover:not(.active):not(.complete) {
border-color: #2563eb !important;
background: #eff6ff !important;
color: #2563eb !important;
z-index: 1 !important;
.step-no,
.step-marker {
background: #2563eb !important;
color: #ffffff !important;
}
}
&.complete:not(.active) {
border-color: #e5e7eb !important;
color: #374151 !important;
.step-no,
.step-marker {
background: rgba(43, 164, 113, 0.12) !important;
color: #16915f !important;
}
&:hover {
border-color: #2ba471 !important;
background: #f0fdf6 !important;
z-index: 1 !important;
.step-no,
.step-marker {
background: #2ba471 !important;
color: #ffffff !important;
}
}
}
&.active {
border-color: #2563eb !important;
background: #2563eb !important;
color: #ffffff !important;
font-weight: 700 !important;
z-index: 2 !important;
.step-no,
.step-marker {
background: #ffffff !important;
color: #2563eb !important;
}
&:hover {
background: #1d4ed8 !important;
border-color: #1d4ed8 !important;
}
}
}
.step-indicator {
button,
.step-tab {
transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
.step-connector {
display: none !important;
}
}
/* ============================================================
* 共用组件换肤:TrainingMaterialButton 资料按钮
* ============================================================ */
.channel .workbench-actions .material-button.el-button {
height: 36px !important;
min-height: 36px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 600 !important;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease,
box-shadow 0.16s ease !important;
&:hover {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
}
&.is-plain {
border-color: #e5e7eb !important;
color: #9ca3af !important;
&:hover {
border-color: #e5e7eb !important;
color: #9ca3af !important;
background: #ffffff !important;
box-shadow: none !important;
}
}
}
/* ============================================================
* 顶部导出按钮(outline-action)
* ============================================================ */
.channel .workbench-actions > button.outline-action {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
height: 36px !important;
min-height: 36px !important;
padding: 0 14px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 1 !important;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease,
box-shadow 0.16s ease !important;
&:hover {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
transform: none !important;
}
}
/* ============================================================
* 底部步骤按钮(task-actions > button)
* ============================================================ */
.channel .task-actions {
gap: 14px !important;
margin-top: 20px !important;
}
.channel .task-actions > button {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
height: 40px !important;
min-height: 40px !important;
padding: 0 18px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 10px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 700 !important;
line-height: 1 !important;
transition:
transform 0.16s ease,
border-color 0.16s ease,
background 0.16s ease,
box-shadow 0.16s ease !important;
}
.channel .task-actions > button:hover:not(:disabled) {
transform: translateY(-1px) !important;
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12) !important;
}
/* 主按钮(btn-primary / btn-submit) */
.channel .task-actions > button.btn-primary,
.channel .task-actions > button.btn-submit {
border-color: #2563eb !important;
color: #ffffff !important;
background: #2563eb !important;
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28) !important;
}
.channel .task-actions > button.btn-primary:hover:not(:disabled),
.channel .task-actions > button.btn-submit:hover:not(:disabled) {
border-color: #1d4ed8 !important;
color: #ffffff !important;
background: #1d4ed8 !important;
box-shadow: 0 5px 14px rgba(29, 78, 216, 0.32) !important;
}
/* ============================================================
* 步骤导航按钮(step-navigation)
* ============================================================ */
.channel .step-navigation {
display: flex !important;
flex-wrap: wrap !important;
justify-content: center !important;
align-items: center !important;
gap: 14px !important;
margin-top: 20px !important;
}
.channel .step-navigation .btn-nav {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
height: 40px !important;
min-height: 40px !important;
padding: 0 18px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 10px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 700 !important;
transition:
transform 0.16s ease,
border-color 0.16s ease,
background 0.16s ease,
box-shadow 0.16s ease !important;
}
.channel .step-navigation .btn-nav:hover:not(:disabled) {
transform: translateY(-1px) !important;
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12) !important;
}
.channel .step-navigation .btn-nav.btn-primary {
border-color: #2563eb !important;
color: #ffffff !important;
background: #2563eb !important;
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28) !important;
}
.channel .step-navigation .btn-nav.btn-primary:hover:not(:disabled) {
border-color: #1d4ed8 !important;
background: #1d4ed8 !important;
box-shadow: 0 5px 14px rgba(29, 78, 216, 0.32) !important;
}
.channel .step-navigation .btn-nav.btn-save {
border: 1px solid #e5e7eb !important;
background: #f3f4f6 !important;
color: #374151 !important;
}
/* ============================================================
* 顶部任务工具栏(el-button)
* ============================================================ */
.channel .task-toolbar-button.el-button {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
min-height: 34px !important;
height: 34px !important;
padding: 0 12px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 600 !important;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease,
box-shadow 0.16s ease !important;
&:hover:not(.is-disabled) {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
transform: translateY(-1px) !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
}
}
.channel .task-toolbar-button--submit {
border-color: #2563eb !important;
background: #2563eb !important;
color: #ffffff !important;
box-shadow:
0 1px 2px rgba(37, 99, 235, 0.35),
0 3px 10px rgba(37, 99, 235, 0.22) !important;
&:hover:not(.is-disabled) {
background: #1d4ed8 !important;
box-shadow:
0 2px 4px rgba(37, 99, 235, 0.4),
0 5px 14px rgba(29, 78, 216, 0.28) !important;
}
}
/* ============================================================
* 窄屏:横向滑动
* ============================================================ */
@media (max-width: 900px) {
#app .studentLayout .app-main:has(.channel) .step-indicator {
justify-content: flex-start !important;
overflow-x: auto !important;
}
#app .studentLayout .app-main:has(.channel) .step-indicator .step-tab {
flex: 0 0 140px !important;
max-width: none !important;
}
}
</style>

File diff suppressed because it is too large Load Diff

@ -3,7 +3,10 @@
<main class="supplier-core">
<section class="task-header">
<div class="task-head-main">
<span class="task-badge"><el-icon><DataAnalysis /></el-icon> 核心实训 · 供应渠道评估</span>
<div class="task-head-top">
<span class="task-badge"><el-icon><DataAnalysis /></el-icon> 核心实训 · 供应渠道评估</span>
<span class="task-status">进行中 · Step {{ String(currentStep).padStart(2, "0") }}</span>
</div>
<h1 class="task-title">{{ taskTitle }}</h1>
<p class="task-brief">
<span class="task-brief-text">{{ taskBackground }}</span>
@ -535,22 +538,32 @@ onMounted(async () => {
</script>
<style lang="scss" scoped>
/* ===== 页面级令牌(墨黑极简主题) ===== */
/* ===== 页面级令牌(教育蓝极简主题) ===== */
.supplier-page {
--student-accent: #1f2937;
--student-accent-deep: #111827;
--student-accent-light: #4b5563;
--student-accent-soft: #f3f4f6;
--student-danger: #d9554c;
--student-success: #4a9d6e;
--student-layer-1: #374151;
--student-layer-2: #43a294;
--student-layer-3: #8b6fc0;
--student-accent: #2563eb;
--student-accent-deep: #1d4ed8;
--student-accent-light: #3b82f6;
--student-accent-soft: #eff6ff;
--student-danger: #ef4444;
--student-success: #2ba471;
--student-layer-1: #1d4ed8;
--student-layer-2: #3b82f6;
--student-layer-3: #93c5fd;
--student-panel-border: #e5e7eb;
--student-card-bg: #ffffff;
--student-panel-bg: #fafbfc;
--student-text: #1f2937;
--student-text-secondary: #6b7280;
--el-color-primary: #2563eb;
--el-color-primary-light-3: #60a5fa;
--el-color-primary-light-5: #93c5fd;
--el-color-primary-light-7: #bfdbfe;
--el-color-primary-light-8: #dbeafe;
--el-color-primary-light-9: #eff6ff;
--el-color-primary-dark-2: #1d4ed8;
--el-input-hover-border-color: #3b82f6;
--el-input-focus-border-color: #2563eb;
--el-input-focus-ring-color: rgba(59, 130, 246, 0.15);
--student-fs-display: 17px;
--student-fs-h1: 15px;
--student-fs-h2: 14px;
@ -583,15 +596,27 @@ onMounted(async () => {
/* ===== task-header(独立白卡片) ===== */
.task-header {
position: relative;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
gap: 16px;
margin: 0;
padding: 16px;
border: 1px solid #e7e9ed;
border-radius: 16px;
background: #ffffff;
padding: 18px 20px 18px 24px;
border: 1px solid var(--student-panel-border);
border-radius: 12px;
background: var(--student-card-bg);
overflow: hidden;
&::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 4px;
background: var(--student-accent);
}
}
.task-head-main {
@ -602,6 +627,14 @@ onMounted(async () => {
flex: 1 1 auto;
}
.task-head-top {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: nowrap;
margin-bottom: 8px;
}
.task-badge {
display: inline-flex;
align-items: center;
@ -616,6 +649,34 @@ onMounted(async () => {
white-space: nowrap;
}
.task-status {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 10px;
border-radius: 999px;
color: var(--student-text-secondary);
background: #f3f4f6;
font-family: var(--student-font-data);
font-size: var(--student-fs-caption);
font-weight: 600;
white-space: nowrap;
&::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--student-accent-light);
animation: pulse 1.8s ease-in-out infinite;
}
}
@keyframes pulse {
0%, 100% { opacity: 0.4; }
50% { opacity: 1; }
}
.task-title {
margin: 0;
color: var(--student-text);
@ -956,15 +1017,37 @@ onMounted(async () => {
</style>
<style lang="scss">
/* ===== 步骤导航:按钮切换风 ===== */
#app .studentLayout section.app-main:has(.supplier-page) .step-indicator {
/* ============================================================
* 教育蓝极简换肤 · channel/supplier.vue
* ============================================================ */
/* 画布背景 */
#app .studentLayout .app-main:has(.supplier-page) {
background: #ffffff !important;
}
/* el-table 基础换肤 */
:has(.supplier-page) {
.el-table {
--el-table-bg-color: #ffffff !important;
--el-table-tr-bg-color: transparent !important;
--el-table-header-bg-color: #fafbfc !important;
--el-table-row-hover-bg-color: rgba(37, 99, 235, 0.04) !important;
line-height: 1.55;
}
}
/* ============================================================
* 步骤导航:分段连接胶囊(教育蓝极简)
* ============================================================ */
#app .studentLayout .app-main:has(.supplier-page) .step-indicator {
display: flex !important;
flex-wrap: nowrap !important;
align-items: stretch !important;
justify-content: center !important;
gap: 10px !important;
gap: 0 !important;
width: 100% !important;
margin: 4px 0 16px !important;
margin: 0 0 20px !important;
padding: 0 !important;
border: none !important;
border-radius: 0 !important;
@ -972,111 +1055,260 @@ onMounted(async () => {
box-shadow: none !important;
.step-tab {
flex: 0 0 auto !important;
min-width: auto !important;
max-width: none !important;
flex: 1 1 0 !important;
max-width: 240px !important;
display: flex !important;
flex-direction: row !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
min-width: 0 !important;
height: auto !important;
min-height: 42px !important;
min-height: 40px !important;
margin: 0 !important;
padding: 8px 14px !important;
border: 1px solid #e5e7eb !important;
border-radius: 8px !important;
border-right: none !important;
border-radius: 0 !important;
background: #ffffff !important;
box-shadow: none !important;
color: #6b7280 !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 1.3 !important;
letter-spacing: 0 !important;
white-space: nowrap !important;
white-space: normal !important;
text-align: center !important;
cursor: pointer;
transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease !important;
}
transition: all 0.16s ease !important;
.step-marker {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
flex: 0 0 auto !important;
min-width: 22px !important;
width: auto !important;
height: 22px !important;
padding: 0 5px !important;
border: none !important;
border-radius: 6px !important;
background: #f3f4f6 !important;
color: #6b7280 !important;
font-family: ui-monospace, "SF Mono", Consolas, monospace !important;
font-size: 12px !important;
font-weight: 700 !important;
line-height: 1 !important;
transition: background-color 0.16s ease, color 0.16s ease !important;
}
&:first-child {
border-radius: 8px 0 0 8px !important;
}
&:last-child {
border-radius: 0 8px 8px 0 !important;
border-right: 1px solid #e5e7eb !important;
}
.step-copy {
display: flex !important;
flex-direction: column !important;
gap: 0 !important;
min-width: 0 !important;
.step-bar {
display: none !important;
}
.step-no,
.step-marker {
position: static !important;
flex: 0 0 auto !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
min-width: 22px !important;
height: 22px !important;
padding: 0 5px !important;
border-radius: 6px !important;
background: #f3f4f6 !important;
color: #6b7280 !important;
font-family: var(--student-font-data), ui-monospace, "SF Mono", Consolas, monospace !important;
font-size: 12px !important;
font-weight: 700 !important;
line-height: 1 !important;
transition: all 0.16s ease !important;
&::after {
display: none !important;
}
}
.step-name {
color: inherit !important;
}
.step-copy {
margin-left: 0 !important;
gap: 4px !important;
}
&:hover:not(.active):not(.complete) {
border-color: #2563eb !important;
background: #eff6ff !important;
color: #2563eb !important;
z-index: 1 !important;
.step-no,
.step-marker {
background: #2563eb !important;
color: #ffffff !important;
}
}
&.complete:not(.active) {
border-color: #e5e7eb !important;
color: #374151 !important;
.step-no,
.step-marker {
background: rgba(43, 164, 113, 0.12) !important;
color: #16915f !important;
}
&:hover {
border-color: #2ba471 !important;
background: #f0fdf6 !important;
z-index: 1 !important;
.step-no,
.step-marker {
background: #2ba471 !important;
color: #ffffff !important;
}
}
}
&.active {
border-color: #2563eb !important;
background: #2563eb !important;
color: #ffffff !important;
font-weight: 700 !important;
z-index: 2 !important;
.step-no,
.step-marker {
background: #ffffff !important;
color: #2563eb !important;
}
&:hover {
background: #1d4ed8 !important;
border-color: #1d4ed8 !important;
}
}
}
.step-name {
overflow: hidden !important;
text-overflow: ellipsis !important;
white-space: normal !important;
line-height: 1.3 !important;
color: inherit !important;
.step-connector {
display: none !important;
}
}
/* 未到达项 hover */
.step-tab:hover:not(.active):not(.complete) {
border-color: #1f2937 !important;
background: #f9fafb !important;
color: #1f2937 !important;
.step-marker { background: #1f2937 !important; color: #ffffff !important; }
/* ============================================================
* 共用组件换肤:TrainingMaterialButton 资料按钮
* ============================================================ */
.supplier-page .workbench-actions .material-button.el-button,
.supplier-page .supplier-toolbar .material-button.el-button {
height: 36px !important;
min-height: 36px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 600 !important;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease,
box-shadow 0.16s ease !important;
&:hover {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
}
/* 已完成 */
.step-tab.complete:not(.active) {
border-color: #dce9e2 !important;
color: #374151 !important;
.step-marker { background: rgba(74, 157, 110, 0.12) !important; color: #3f8a5f !important; }
&.is-plain {
border-color: #e5e7eb !important;
color: #9ca3af !important;
&:hover {
border-color: #4a9d6e !important;
background: #f9fafb !important;
.step-marker { background: #4a9d6e !important; color: #ffffff !important; }
border-color: #e5e7eb !important;
color: #9ca3af !important;
background: #ffffff !important;
box-shadow: none !important;
}
}
}
/* 当前步骤 */
.step-tab.active {
border-color: #1f2937 !important;
background: #1f2937 !important;
color: #ffffff !important;
font-weight: 700 !important;
.step-marker { background: #ffffff !important; color: #1f2937 !important; }
&:hover {
background: #111827 !important;
border-color: #111827 !important;
}
/* ============================================================
* 顶部导出按钮(outline-action)
* ============================================================ */
.supplier-page .workbench-actions > button.outline-action {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
height: 36px !important;
min-height: 36px !important;
padding: 0 14px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 1 !important;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease,
box-shadow 0.16s ease !important;
&:hover {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
transform: none !important;
}
}
/* ===== 窄屏:900px 横向滑动 ===== */
/* ============================================================
* 底部步骤按钮(el-button)
* ============================================================ */
.supplier-page .page-actions .el-button {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
height: 40px !important;
min-height: 40px !important;
padding: 0 18px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 10px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 700 !important;
line-height: 1 !important;
transition:
transform 0.16s ease,
border-color 0.16s ease,
background 0.16s ease,
box-shadow 0.16s ease !important;
}
.supplier-page .page-actions .el-button:hover:not(.is-disabled) {
transform: translateY(-1px) !important;
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12) !important;
}
/* 主按钮(el-button--primary) */
.supplier-page .page-actions .el-button--primary {
border-color: #2563eb !important;
color: #ffffff !important;
background: #2563eb !important;
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28) !important;
}
.supplier-page .page-actions .el-button--primary:hover:not(.is-disabled) {
border-color: #1d4ed8 !important;
color: #ffffff !important;
background: #1d4ed8 !important;
box-shadow: 0 5px 14px rgba(29, 78, 216, 0.32) !important;
}
/* ============================================================
* 窄屏:横向滑动
* ============================================================ */
@media (max-width: 900px) {
#app .studentLayout section.app-main:has(.supplier-page) .step-indicator {
#app .studentLayout .app-main:has(.supplier-page) .step-indicator {
justify-content: flex-start !important;
gap: 8px !important;
overflow-x: auto !important;
}
#app .studentLayout section.app-main:has(.supplier-page) .step-indicator .step-tab {
flex: 0 0 auto !important;
#app .studentLayout .app-main:has(.supplier-page) .step-indicator .step-tab {
flex: 0 0 140px !important;
max-width: none !important;
}
}

@ -3,10 +3,13 @@
<main class="factors-core">
<section class="task-header">
<div class="task-head-main">
<span class="task-badge">
<el-icon><Operation /></el-icon>
核心实训 · 互联网产品开发基础
</span>
<div class="task-head-top">
<span class="task-badge">
<el-icon><Operation /></el-icon>
核心实训 · 互联网产品开发基础
</span>
<span class="task-status">进行中 · Step {{ String(currentStep + 1).padStart(2, "0") }}</span>
</div>
<h1 class="task-title">{{ taskTitle }}</h1>
<p class="task-brief">
<span class="task-brief-text">{{ taskBackground }}</span>
@ -581,6 +584,41 @@ function exportOutcome() {
min-width: 0;
}
.task-head-top {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: nowrap;
}
.task-status {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 3px 10px;
border-radius: 999px;
color: var(--student-accent);
background: var(--student-accent-soft);
font-family: var(--student-font-data);
font-size: var(--student-fs-caption);
font-weight: 600;
white-space: nowrap;
&::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--student-accent-light);
animation: pulse 1.8s ease-in-out infinite;
}
}
@keyframes pulse {
0%, 100% { opacity: 0.4; }
50% { opacity: 1; }
}
.task-badge {
display: inline-flex;
align-items: center;
@ -719,8 +757,8 @@ function exportOutcome() {
/* Step 编号小标签:教育蓝引导文字 */
.section-eyebrow {
margin: 0;
color: #2563eb;
font-size: 11px;
color: var(--student-accent);
font-size: var(--student-fs-caption);
font-weight: 800;
line-height: 1.3;
letter-spacing: 0.12em;

@ -3,7 +3,10 @@
<main class="process-core">
<section class="task-header">
<div class="task-head-main">
<span class="task-badge"><el-icon><Operation /></el-icon>核心实训 · 产品开发基础</span>
<div class="task-head-top">
<span class="task-badge"><el-icon><Operation /></el-icon>核心实训 · 产品开发基础</span>
<span class="task-status">进行中 · Step {{ String(currentStep).padStart(2, "0") }}</span>
</div>
<h1 class="task-title">{{ taskTitle }}</h1>
<p class="task-brief">
<span class="task-brief-text">{{ taskBackground }}</span>
@ -20,9 +23,6 @@
</span>
</p>
</div>
</section>
<section class="process-workbench">
<div class="workbench-head workbench-head--actions-only">
<div class="workbench-actions">
<TrainingMaterialButton
@ -38,6 +38,7 @@
<button type="button" class="outline-action" @click="exportOutcome"><el-icon><Download /></el-icon>导出实训成果</button>
</div>
</div>
</section>
<nav v-if="trainingSteps.length" class="step-indicator" aria-label="产品开发主要流程步骤">
<button
@ -714,6 +715,41 @@ function exportOutcome() {
min-width: 0;
}
.task-head-top {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: nowrap;
}
.task-status {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 3px 10px;
border-radius: 999px;
color: var(--student-accent);
background: var(--student-accent-soft);
font-family: var(--student-font-data);
font-size: var(--student-fs-caption);
font-weight: 600;
white-space: nowrap;
&::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--student-accent-light);
animation: pulse 1.8s ease-in-out infinite;
}
}
@keyframes pulse {
0%, 100% { opacity: 0.4; }
50% { opacity: 1; }
}
.task-badge {
display: inline-flex;
align-items: center;
@ -814,7 +850,7 @@ function exportOutcome() {
gap: 8px;
}
/* 顶部"导出实训成果"按钮:白底灰描边次按钮 */
/* 顶部"导出实训成果"按钮:白底教育蓝描边次按钮 */
.outline-action {
display: inline-flex;
align-items: center;
@ -822,9 +858,9 @@ function exportOutcome() {
gap: 7px;
min-height: 36px;
padding: 0 14px;
border: 1px solid #d1d5db;
border: 1px solid rgba(37, 99, 235, 0.45);
border-radius: 8px;
color: #374151;
color: #2563eb;
background: #ffffff;
font-family: inherit;
font-size: 13px;
@ -896,24 +932,25 @@ function exportOutcome() {
border-radius: 8px;
}
/* Step 编号小标签:灰色宽字距引导文字 */
/* Step 编号小标签:教育蓝引导文字 */
.section-eyebrow {
margin: 0;
color: var(--student-text-secondary);
font-size: 11px;
color: var(--student-accent);
font-size: var(--student-fs-caption);
font-weight: 800;
line-height: 1.3;
letter-spacing: 0.12em;
}
/* 步骤小徽章:中性灰白 */
/* 步骤小徽章:教育蓝浅底 */
.step-chip {
padding: 3px 10px;
border: 1px solid #e5e7eb;
flex: 0 0 auto;
padding: 4px 10px;
border: 1px solid #bfdbfe;
border-radius: 999px;
color: #6b7280;
background: #ffffff;
font-size: 11px;
color: var(--student-accent);
background: var(--student-accent-soft);
font-size: var(--student-fs-caption);
font-weight: 600;
white-space: nowrap;
}

File diff suppressed because one or more lines are too long

@ -3,9 +3,12 @@
<main class="product-positioning-core">
<section class="task-header">
<div class="task-head-main">
<div class="task-badge">
<el-icon><Operation /></el-icon>
市场洞察与需求分析
<div class="task-head-top">
<span class="task-badge">
<el-icon><Operation /></el-icon>
市场洞察与需求分析
</span>
<span class="task-status">进行中 · Step {{ String(form.activeStep).padStart(2, "0") }}</span>
</div>
<h1 class="task-title">{{ taskTitle }}</h1>
<p class="task-brief">
@ -771,6 +774,41 @@ async function handleValueCanvasUpload(event) {
flex: 1 1 auto;
}
/* task-head-top:badge + 脉动状态横排 */
.task-head-top {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: nowrap;
}
.task-status {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 3px 10px;
border-radius: 999px;
color: var(--student-text-secondary);
background: #f3f4f6;
font-size: var(--student-fs-caption);
font-weight: 600;
white-space: nowrap;
&::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--student-accent-light);
animation: pulse 1.8s ease-in-out infinite;
}
}
@keyframes pulse {
0%, 100% { opacity: 0.4; }
50% { opacity: 1; }
}
.task-badge {
display: inline-flex;
align-items: center;

File diff suppressed because it is too large Load Diff

@ -3,7 +3,10 @@
<main class="opportunity-core">
<section class="task-header">
<div class="task-head-main">
<span class="task-badge"><el-icon><DataAnalysis /></el-icon> 核心实训 · 市场洞察与需求分析</span>
<div class="task-head-top">
<span class="task-badge"><el-icon><DataAnalysis /></el-icon> 核心实训 · 市场洞察与需求分析</span>
<span class="task-status">进行中 · Step {{ String(currentStep).padStart(2, "0") }}</span>
</div>
<h1 class="task-title">{{ taskTitle }}</h1>
<p class="task-brief">
<span class="task-brief-text">{{ taskBackground }}</span>
@ -340,6 +343,41 @@ function exportOutcome() { const blob = new Blob([JSON.stringify({ taskName: tas
flex: 1 1 auto;
}
/* task-head-top:badge + 脉动状态横排 */
.task-head-top {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: nowrap;
}
.task-status {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 3px 10px;
border-radius: 999px;
color: var(--student-text-secondary);
background: #f3f4f6;
font-size: var(--student-fs-caption);
font-weight: 600;
white-space: nowrap;
&::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--student-accent-light);
animation: pulse 1.8s ease-in-out infinite;
}
}
@keyframes pulse {
0%, 100% { opacity: 0.4; }
50% { opacity: 1; }
}
.task-brief {
margin: 0;
color: var(--student-text-secondary);

@ -3,7 +3,10 @@
<main class="price-core">
<section class="task-header">
<div class="task-head-main">
<span class="task-badge">核心实训 · 新产品定价</span>
<div class="task-head-top">
<span class="task-badge">核心实训 · 新产品定价</span>
<span class="task-status">进行中 · Step {{ String(currentStep).padStart(2, "0") }}</span>
</div>
<h1 class="task-title">{{ taskTitle }}</h1>
<p class="task-brief">
<span class="task-brief-text">{{ taskBackground }}</span>
@ -1548,22 +1551,32 @@ onMounted(async () => {
</script>
<style scoped lang="scss">
/* ===== 页面级令牌(墨黑极简主题) ===== */
/* ===== 页面级令牌(教育蓝极简主题) ===== */
.price-page {
--student-accent: #1f2937;
--student-accent-deep: #111827;
--student-accent-light: #4b5563;
--student-accent-soft: #f3f4f6;
--student-danger: #d9554c;
--student-success: #4a9d6e;
--student-layer-1: #374151;
--student-layer-2: #43a294;
--student-layer-3: #8b6fc0;
--student-accent: #2563eb;
--student-accent-deep: #1d4ed8;
--student-accent-light: #3b82f6;
--student-accent-soft: #eff6ff;
--student-danger: #ef4444;
--student-success: #2ba471;
--student-layer-1: #1d4ed8;
--student-layer-2: #3b82f6;
--student-layer-3: #93c5fd;
--student-panel-border: #e5e7eb;
--student-card-bg: #ffffff;
--student-panel-bg: #fafbfc;
--student-text: #1f2937;
--student-text-secondary: #6b7280;
--el-color-primary: #2563eb;
--el-color-primary-light-3: #60a5fa;
--el-color-primary-light-5: #93c5fd;
--el-color-primary-light-7: #bfdbfe;
--el-color-primary-light-8: #dbeafe;
--el-color-primary-light-9: #eff6ff;
--el-color-primary-dark-2: #1d4ed8;
--el-input-hover-border-color: #3b82f6;
--el-input-focus-border-color: #2563eb;
--el-input-focus-ring-color: rgba(59, 130, 246, 0.15);
--student-fs-display: 17px;
--student-fs-h1: 15px;
--student-fs-h2: 14px;
@ -1594,15 +1607,27 @@ onMounted(async () => {
/* 任务头:独立白卡片(对齐 foundation 的 .task-header) */
.task-header {
position: relative;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
gap: 16px;
margin: 0;
padding: 16px;
border: 1px solid #e7e9ed;
border-radius: 16px;
background: #ffffff;
padding: 18px 20px 18px 24px;
border: 1px solid var(--student-panel-border);
border-radius: 12px;
background: var(--student-card-bg);
overflow: hidden;
&::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 4px;
background: var(--student-accent);
}
}
/* task-header 内部主列(对齐 foundation 的 .task-head-main) */
@ -1614,6 +1639,14 @@ onMounted(async () => {
flex: 1 1 auto;
}
.task-head-top {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: nowrap;
margin-bottom: 8px;
}
.task-badge {
display: inline-flex;
align-items: center;
@ -1627,6 +1660,34 @@ onMounted(async () => {
font-weight: 700;
}
.task-status {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 10px;
border-radius: 999px;
color: var(--student-text-secondary);
background: #f3f4f6;
font-family: var(--student-font-data);
font-size: var(--student-fs-caption);
font-weight: 600;
white-space: nowrap;
&::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--student-accent-light);
animation: pulse 1.8s ease-in-out infinite;
}
}
@keyframes pulse {
0%, 100% { opacity: 0.4; }
50% { opacity: 1; }
}
.task-title {
margin: 0;
color: var(--student-text);
@ -2328,161 +2389,347 @@ onMounted(async () => {
</style>
<style lang="scss">
/* ===== 步骤导航:按钮切换风 ===== */
#app .studentLayout section.app-main:has(.price-page) .step-indicator {
/* ============================================================
* 教育蓝极简换肤 · product/price.vue
* ============================================================ */
/* 画布背景 */
#app .studentLayout .app-main:has(.price-page) {
background: #ffffff !important;
}
/* ============================================================
* 步骤导航:分段连接胶囊(教育蓝极简)
* ============================================================ */
#app .studentLayout .app-main:has(.price-page) .step-indicator {
display: flex !important;
flex-wrap: nowrap !important;
align-items: stretch !important;
justify-content: center !important;
gap: 10px !important;
gap: 0 !important;
width: 100% !important;
margin: 4px 0 16px !important;
margin: 0 0 20px !important;
padding: 0 !important;
border: none !important;
border-radius: 0 !important;
background: transparent !important;
box-shadow: none !important;
.step-connector { display: none !important; }
.step-connector {
display: none !important;
}
.step-tab {
flex: 0 0 auto !important;
min-width: auto !important;
max-width: none !important;
flex: 1 1 0 !important;
max-width: 240px !important;
display: flex !important;
flex-direction: row !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
min-width: 0 !important;
height: auto !important;
min-height: 42px !important;
min-height: 40px !important;
margin: 0 !important;
padding: 8px 14px !important;
border: 1px solid #e5e7eb !important;
border-radius: 8px !important;
border-right: none !important;
border-radius: 0 !important;
background: #ffffff !important;
box-shadow: none !important;
color: #6b7280 !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 1.3 !important;
letter-spacing: 0 !important;
white-space: nowrap !important;
white-space: normal !important;
text-align: center !important;
cursor: pointer;
transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease !important;
transition: all 0.16s ease !important;
&:first-child {
border-radius: 8px 0 0 8px !important;
}
&:last-child {
border-radius: 0 8px 8px 0 !important;
border-right: 1px solid #e5e7eb !important;
}
.step-bar {
display: none !important;
}
.step-no,
.step-marker {
position: static !important;
flex: 0 0 auto !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
flex: 0 0 auto !important;
min-width: 22px !important;
width: auto !important;
height: 22px !important;
padding: 0 5px !important;
border: none !important;
border-radius: 6px !important;
background: #f3f4f6 !important;
color: #6b7280 !important;
font-family: ui-monospace, "SF Mono", Consolas, monospace !important;
font-family: var(--student-font-data), ui-monospace, "SF Mono", Consolas, monospace !important;
font-size: 12px !important;
font-weight: 700 !important;
line-height: 1 !important;
transition: background-color 0.16s ease, color 0.16s ease !important;
box-shadow: none !important;
transition: all 0.16s ease !important;
&::after {
display: none !important;
}
}
.step-name {
color: inherit !important;
}
.step-copy {
display: flex !important;
flex-direction: column !important;
gap: 0 !important;
min-width: 0 !important;
margin-left: 0 !important;
strong {
overflow: hidden !important;
text-overflow: ellipsis !important;
white-space: normal !important;
line-height: 1.3 !important;
color: inherit !important;
font-size: 13px !important;
font-weight: inherit !important;
}
span { display: none !important; }
gap: 4px !important;
}
/* 未到达项 hover */
&:hover:not(.active):not(.complete) {
border-color: #1f2937 !important;
background: #f9fafb !important;
color: #1f2937 !important;
.step-marker { background: #1f2937 !important; color: #ffffff !important; }
border-color: #2563eb !important;
background: #eff6ff !important;
color: #2563eb !important;
z-index: 1 !important;
.step-no,
.step-marker {
background: #2563eb !important;
color: #ffffff !important;
}
}
/* 已完成 */
&.complete:not(.active) {
border-color: #dce9e2 !important;
border-color: #e5e7eb !important;
color: #374151 !important;
.step-marker { background: rgba(74, 157, 110, 0.12) !important; color: #3f8a5f !important; }
.step-no,
.step-marker {
background: rgba(43, 164, 113, 0.12) !important;
color: #16915f !important;
}
&:hover {
border-color: #4a9d6e !important;
background: #f9fafb !important;
.step-marker { background: #4a9d6e !important; color: #ffffff !important; }
border-color: #2ba471 !important;
background: #f0fdf6 !important;
z-index: 1 !important;
.step-no,
.step-marker {
background: #2ba471 !important;
color: #ffffff !important;
}
}
}
/* 当前步骤 */
&.active {
border-color: #1f2937 !important;
background: #1f2937 !important;
border-color: #2563eb !important;
background: #2563eb !important;
color: #ffffff !important;
font-weight: 700 !important;
.step-marker { background: #ffffff !important; color: #1f2937 !important; }
z-index: 2 !important;
.step-no,
.step-marker {
background: #ffffff !important;
color: #2563eb !important;
}
&:hover {
background: #111827 !important;
border-color: #111827 !important;
background: #1d4ed8 !important;
border-color: #1d4ed8 !important;
}
}
}
}
/* ===== 窄屏 ===== */
@media (max-width: 900px) {
#app .studentLayout section.app-main:has(.price-page) .step-indicator {
justify-content: flex-start !important;
gap: 8px !important;
overflow-x: auto !important;
/* ============================================================
* 共用组件换肤:TrainingMaterialButton 资料按钮
* ============================================================ */
.price-page .price-toolbar .material-button.el-button,
.price-page .workbench-actions .material-button.el-button {
height: 36px !important;
min-height: 36px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 600 !important;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease,
box-shadow 0.16s ease !important;
&:hover {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
}
&.is-plain {
border-color: #e5e7eb !important;
color: #9ca3af !important;
&:hover {
border-color: #e5e7eb !important;
color: #9ca3af !important;
background: #ffffff !important;
box-shadow: none !important;
}
}
#app .studentLayout section.app-main:has(.price-page) .step-indicator .step-tab {
flex: 0 0 auto !important;
max-width: none !important;
}
/* ============================================================
* 顶部导出按钮(outline-action)
* ============================================================ */
.price-page .price-toolbar > button.outline-action,
.price-page .workbench-actions > button.outline-action {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
height: 36px !important;
min-height: 36px !important;
padding: 0 14px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 1 !important;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease,
box-shadow 0.16s ease !important;
&:hover {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
transform: none !important;
}
}
/* ============================================================
* 底部操作按钮(el-button)
* ============================================================ */
.price-page .workbench-footer .el-button {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
height: 40px !important;
min-height: 40px !important;
padding: 0 18px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 10px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 700 !important;
transition:
transform 0.16s ease,
border-color 0.16s ease,
background 0.16s ease,
box-shadow 0.16s ease !important;
}
.price-page .workbench-footer .el-button:hover:not(.is-disabled) {
transform: translateY(-1px) !important;
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12) !important;
}
/* 主按钮(el-button--primary) */
.price-page .workbench-footer .el-button--primary {
border-color: #2563eb !important;
color: #ffffff !important;
background: #2563eb !important;
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28) !important;
}
.price-page .workbench-footer .el-button--primary:hover:not(.is-disabled) {
border-color: #1d4ed8 !important;
color: #ffffff !important;
background: #1d4ed8 !important;
box-shadow: 0 5px 14px rgba(29, 78, 216, 0.32) !important;
}
/* ============================================================
* 步骤内按钮(primary-button, secondary-button)
* ============================================================ */
.price-page .primary-button {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
height: 36px !important;
min-height: 36px !important;
padding: 0 14px !important;
border: 1px solid rgba(37, 99, 235, 0.45) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 600 !important;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease,
box-shadow 0.16s ease !important;
&:hover:not(:disabled) {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
transform: translateY(-1px) !important;
}
}
/* ===== 工具栏换肤 ===== */
.price-page .outline-action {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 36px;
height: 36px;
padding: 0 14px;
border: 1px solid #d1d5db;
border-radius: 8px;
color: #374151;
background: #ffffff;
box-shadow: none;
text-shadow: none;
font-size: 13px;
font-weight: 600;
transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
.price-page .secondary-button {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
height: 36px !important;
min-height: 36px !important;
padding: 0 14px !important;
border: 1px solid #e5e7eb !important;
border-radius: 8px !important;
color: #374151 !important;
background: #f3f4f6 !important;
font-size: 13px !important;
font-weight: 600 !important;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease,
box-shadow 0.16s ease !important;
&:hover:not(:disabled) {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
}
}
.price-page .outline-action .el-icon {
font-size: 14px;
color: inherit;
/* ============================================================
* 窄屏:横向滑动
* ============================================================ */
@media (max-width: 900px) {
#app .studentLayout .app-main:has(.price-page) .step-indicator {
justify-content: flex-start !important;
overflow-x: auto !important;
}
#app .studentLayout .app-main:has(.price-page) .step-indicator .step-tab {
flex: 0 0 140px !important;
max-width: none !important;
}
}
</style>

@ -283,15 +283,15 @@ onMounted(async () => { try { const result = await getTrainingTaskByKey(TASK_KEY
<style scoped lang="scss">
/* ===== 页面级令牌(墨黑极简主题) ===== */
.release-channel-page {
--student-accent: #1f2937;
--student-accent-deep: #111827;
--student-accent-light: #4b5563;
--student-accent-soft: #f3f4f6;
--student-danger: #d9554c;
--student-success: #4a9d6e;
--student-layer-1: #374151;
--student-layer-2: #43a294;
--student-layer-3: #8b6fc0;
--student-accent: #2563eb;
--student-accent-deep: #1d4ed8;
--student-accent-light: #3b82f6;
--student-accent-soft: #eff6ff;
--student-danger: #ef4444;
--student-success: #2ba471;
--student-layer-1: #1d4ed8;
--student-layer-2: #3b82f6;
--student-layer-3: #93c5fd;
--student-panel-border: #e5e7eb;
--student-card-bg: #ffffff;
--student-panel-bg: #fafbfc;
@ -649,7 +649,7 @@ onMounted(async () => { try { const result = await getTrainingTaskByKey(TASK_KEY
.table-wrap :deep(.el-textarea__inner:focus),
.analysis-field :deep(.el-textarea__inner:focus),
.table-wrap :deep(.el-input__wrapper.is-focus) {
outline: 2px solid rgba(31, 41, 55, 0.2);
outline: 2px solid rgba(37, 99, 235, 0.2);
outline-offset: -2px;
box-shadow: none;
}
@ -766,33 +766,33 @@ onMounted(async () => { try { const result = await getTrainingTaskByKey(TASK_KEY
.step-copy small { display: none !important; }
&:hover:not(.active):not(.complete) {
border-color: #1f2937 !important;
background: #f9fafb !important;
color: #1f2937 !important;
.step-marker { background: #1f2937 !important; color: #ffffff !important; }
border-color: #2563eb !important;
background: #eff6ff !important;
color: #2563eb !important;
.step-marker { background: #2563eb !important; color: #ffffff !important; }
}
&.complete:not(.active) {
border-color: #dce9e2 !important;
border-color: #e5e7eb !important;
color: #374151 !important;
.step-marker { background: rgba(74, 157, 110, 0.12) !important; color: #3f8a5f !important; }
.step-marker { background: rgba(43, 164, 113, 0.12) !important; color: #16915f !important; }
&:hover {
border-color: #4a9d6e !important;
background: #f9fafb !important;
.step-marker { background: #4a9d6e !important; color: #ffffff !important; }
border-color: #2ba471 !important;
background: #f0fdf6 !important;
.step-marker { background: #2ba471 !important; color: #ffffff !important; }
}
}
&.active {
border-color: #1f2937 !important;
background: #1f2937 !important;
border-color: #2563eb !important;
background: #2563eb !important;
color: #ffffff !important;
font-weight: 700 !important;
box-shadow: none !important;
.step-marker { background: #ffffff !important; color: #1f2937 !important; }
.step-marker { background: #ffffff !important; color: #2563eb !important; }
&:hover {
background: #111827 !important;
border-color: #111827 !important;
background: #1d4ed8 !important;
border-color: #1d4ed8 !important;
}
}
}
@ -820,22 +820,24 @@ onMounted(async () => { try { const result = await getTrainingTaskByKey(TASK_KEY
}
.release-channel-page .table-actions .el-button--primary,
.release-channel-page .footer-actions .el-button--primary {
border-color: #1f2937 !important;
background: #1f2937 !important;
border-color: #2563eb !important;
background: #2563eb !important;
color: #ffffff !important;
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28) !important;
}
.release-channel-page .table-actions .el-button--primary:hover,
.release-channel-page .footer-actions .el-button--primary:hover {
border-color: #111827 !important;
background: #111827 !important;
border-color: #1d4ed8 !important;
background: #1d4ed8 !important;
box-shadow: 0 5px 14px rgba(29, 78, 216, 0.32) !important;
}
.release-channel-page .footer-actions .el-button:not(.el-button--primary) {
border-color: rgba(31, 41, 55, 0.4) !important;
border-color: rgba(37, 99, 235, 0.45) !important;
background: #ffffff !important;
color: #1f2937 !important;
color: #2563eb !important;
}
.release-channel-page .footer-actions .el-button:not(.el-button--primary):hover {
border-color: #1f2937 !important;
background: #f3f4f6 !important;
border-color: #2563eb !important;
background: #eff6ff !important;
}
</style>

@ -293,15 +293,15 @@ onMounted(async () => { try { const result = await getTrainingTaskByKey(TASK_KEY
<style scoped lang="scss">
/* ===== 页面级令牌(墨黑极简主题) ===== */
.promotion-page {
--student-accent: #1f2937;
--student-accent-deep: #111827;
--student-accent-light: #4b5563;
--student-accent-soft: #f3f4f6;
--student-danger: #d9554c;
--student-success: #4a9d6e;
--student-layer-1: #374151;
--student-layer-2: #43a294;
--student-layer-3: #8b6fc0;
--student-accent: #2563eb;
--student-accent-deep: #1d4ed8;
--student-accent-light: #3b82f6;
--student-accent-soft: #eff6ff;
--student-danger: #ef4444;
--student-success: #2ba471;
--student-layer-1: #1d4ed8;
--student-layer-2: #3b82f6;
--student-layer-3: #93c5fd;
--student-panel-border: #e5e7eb;
--student-card-bg: #ffffff;
--student-panel-bg: #fafbfc;
@ -795,36 +795,36 @@ onMounted(async () => { try { const result = await getTrainingTaskByKey(TASK_KEY
.step-action { display: none !important; }
/* 未到达项 hover */
/* 未到达项 hover:教育蓝边浅底 */
&:hover:not(.active):not(.complete) {
border-color: #1f2937 !important;
background: #f9fafb !important;
color: #1f2937 !important;
.step-marker { background: #1f2937 !important; color: #ffffff !important; }
border-color: #2563eb !important;
background: #eff6ff !important;
color: #2563eb !important;
.step-marker { background: #2563eb !important; color: #ffffff !important; }
}
/* 已完成 */
/* 已完成:绿色编号徽章 */
&.complete:not(.active) {
border-color: #dce9e2 !important;
border-color: #e5e7eb !important;
color: #374151 !important;
.step-marker { background: rgba(74, 157, 110, 0.12) !important; color: #3f8a5f !important; }
.step-marker { background: rgba(43, 164, 113, 0.12) !important; color: #16915f !important; }
&:hover {
border-color: #4a9d6e !important;
background: #f9fafb !important;
.step-marker { background: #4a9d6e !important; color: #ffffff !important; }
border-color: #2ba471 !important;
background: #f0fdf6 !important;
.step-marker { background: #2ba471 !important; color: #ffffff !important; }
}
}
/* 当前步骤 */
/* 当前步骤:教育蓝实底 */
&.active {
border-color: #1f2937 !important;
background: #1f2937 !important;
border-color: #2563eb !important;
background: #2563eb !important;
color: #ffffff !important;
font-weight: 700 !important;
.step-marker { background: #ffffff !important; color: #1f2937 !important; }
.step-marker { background: #ffffff !important; color: #2563eb !important; }
&:hover {
background: #111827 !important;
border-color: #111827 !important;
background: #1d4ed8 !important;
border-color: #1d4ed8 !important;
}
}
}
@ -854,9 +854,9 @@ onMounted(async () => { try { const result = await getTrainingTaskByKey(TASK_KEY
min-height: 36px;
height: 36px;
padding: 0 14px;
border: 1px solid #d1d5db;
border: 1px solid rgba(37, 99, 235, 0.45);
border-radius: 8px;
color: #374151;
color: #2563eb;
background: #ffffff;
box-shadow: none;
text-shadow: none;
@ -872,30 +872,30 @@ onMounted(async () => { try { const result = await getTrainingTaskByKey(TASK_KEY
.promotion-page .task-toolbar-button.el-button:hover,
.promotion-page .task-toolbar-button.el-button:focus {
border-color: #1f2937;
color: #1f2937;
background: #f9fafb;
box-shadow: 0 2px 6px rgba(17, 24, 39, 0.1);
border-color: #2563eb;
color: #2563eb;
background: #eff6ff;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}
.promotion-page .task-toolbar-button--submit.el-button {
border-color: #1f2937;
border-color: #2563eb;
color: #ffffff;
background: #1f2937;
box-shadow: 0 2px 8px rgba(17, 24, 39, 0.22);
background: #2563eb;
box-shadow: 0 1px 2px rgba(37, 99, 235, 0.35), 0 3px 10px rgba(37, 99, 235, 0.22);
}
.promotion-page .task-toolbar-button--submit.el-button:hover,
.promotion-page .task-toolbar-button--submit.el-button:focus {
border-color: #111827;
border-color: #1d4ed8;
color: #ffffff;
background: #111827;
box-shadow: 0 4px 12px rgba(17, 24, 39, 0.28);
background: #1d4ed8;
box-shadow: 0 2px 4px rgba(37, 99, 235, 0.4), 0 5px 14px rgba(29, 78, 216, 0.28);
}
.promotion-page .task-toolbar-button.el-button.is-loading {
border-color: #d1d5db;
color: #374151;
border-color: rgba(37, 99, 235, 0.45);
color: #2563eb;
background: #ffffff;
}
</style>

Loading…
Cancel
Save