|
|
|
|
@ -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>
|
|
|
|
|
|
|
|
|
|
|