From 93e44f602b7785ce19acb69641c7e3bb112b54c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E6=B2=85?= <907037276@qq.com>
Date: Mon, 31 Aug 2026 14:20:10 +0800
Subject: [PATCH 01/36] fix: relocate release channel task toolbar
---
src/views/components/TrainingTaskBrief.vue | 5 +++++
src/views/test/index.vue | 8 ++++----
...e-channel-toolbar-placement.static.test.cjs | 18 ++++++++++++++++++
3 files changed, 27 insertions(+), 4 deletions(-)
create mode 100644 tests/release-channel-toolbar-placement.static.test.cjs
diff --git a/src/views/components/TrainingTaskBrief.vue b/src/views/components/TrainingTaskBrief.vue
index affb0d6..87c188c 100644
--- a/src/views/components/TrainingTaskBrief.vue
+++ b/src/views/components/TrainingTaskBrief.vue
@@ -37,6 +37,7 @@
{{ taskTitle }}
-
+
-
+
@@ -14,10 +14,7 @@
CATEGORY OPERATIONS
{{ activeStepName }}
-
-
-
-
+
diff --git a/src/views/product/market-opportunity-selection.vue b/src/views/product/market-opportunity-selection.vue
index 2a7f1bf..9a3f6ed 100644
--- a/src/views/product/market-opportunity-selection.vue
+++ b/src/views/product/market-opportunity-selection.vue
@@ -9,7 +9,7 @@
PRODUCT PLANNING · MARKET SIGNALS
{{ trainingSteps[currentStep - 1] || taskTitle }}
-
+
@@ -17,7 +17,7 @@
Step 01
{{ trainingSteps[0] }}
指标分类练习
请对实训数据表中的各项指标,按照市场规模、市场潜力、竞争强度、运营难度 4 个类别进行分类。
| 序号 | 指标 | 分类 |
|---|
| {{ index + 1 }} | {{ item.name }} | {{ stepOneCheckResults[item.id].message }} |
-
+
Step 02
{{ trainingSteps[1] }}
指标权重设定
@@ -25,7 +25,7 @@
请先完成并保存第 1 步的指标分类,再填写本步骤。
一级指标权重合计{{ primaryWeightTotal }}%对应总权重合计{{ correspondingWeightTotal }}%一级权重合计、每类维度内权重合计、对应总权重均须为 100%
-
+
Step 03
{{ trainingSteps[2] }}
加权评分计算
@@ -33,7 +33,7 @@
请先完成并保存第 2 步的指标权重设定,再填写本步骤。
推荐工具及方法如下,自行选择:
1. Excel/WPS 表格,自行操作计算,可参考《实训操作说明》完成。
2. 下载自动化模板,填写案例数据及第 2 步权重,完成指标计算。
3. 导出实训数据表,上传到通用 AI 大模型,参考提示词完成计算。
先按 Min-Max 归一法和加权评分法计算品类综合得分;如案例资料提供三段式时间权重,则分别按第 1–20 天、第 21–40 天、第 41–60 天的权重计算最终得分。
-
+
Step 04
{{ trainingSteps[3] }}
可视化结果提交
@@ -46,7 +46,7 @@
{{ visualization.name || "数据可视化结果图" }}点击缩略图可放大查看
推荐工具及方法如下,自行选择:
1. 使用 Excel/WPS 表格计算三类产品的平均得分、最高分和最低分,并生成图表。
2. 下载自动化模板,填写关键数据,完成指标计算和可视化。
3. 导出实训数据表,上传到通用 AI 大模型,参考提示词完成计算与图表生成。
请根据数据表及各指标权重设定表,使用 Min-Max 归一法与加权评分法计算产品综合得分,并汇总平均分、最高分和最低分。
-
+
Step 05
{{ trainingSteps[4] }}
评论数据洞察
@@ -54,14 +54,14 @@
请先完成并保存第 4 步的数据可视化结果,再填写本步骤。
可参考以下方法:
1. 自行根据评价数据计算好评率,阅读评论后分析用户痛点及未被满足的需求。
2. 导出评论数据表,上传到通用 AI 大模型,通过文本分析完成计算与提炼。
提示词:请计算 Excel 表中产品评论数据的好评率,提炼用户痛点和未被满足的需求。
-
+
Step 06
{{ trainingSteps[5] }}
选品结论
结合前面的数据分析,请说明应该进行开发什么产品,具体原因是什么。
请先完成并保存第 5 步的用户需求洞察,再填写本步骤。
-
+
第 {{ currentStep }} 步内容待配置
已保存的步骤可从上方步骤栏返回查看。
@@ -134,6 +134,12 @@ async function saveAndGoToStepThree() { if (saving.value || !stepOnePassed.value
async function saveAndGoToStepFour() { if (saving.value || !stepTwoPassed.value) return; saving.value = true; try { await checkMarketOpportunitySelectionStepThree({ scores: products.map((product) => ({ id: product.id, score: scores.value[product.id] })) }); await saveStudentTrainingAnswer(TASK_KEY, { step3Answer: JSON.stringify(buildStepThreeOutcome()), currentStep: 4, submitted: false, saveAction: "SAVE" }); stepThreePassed.value = true; currentStep.value = 4; proxy?.$modal?.msgSuccess("综合得分校验通过,已进入第 4 步"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "请填写 0 至 100 分、最多保留两位小数的综合得分"); } finally { saving.value = false; } }
function clearStepOneCheck(id) { if (stepOneCheckResults.value[id]) { const next = { ...stepOneCheckResults.value }; delete next[id]; stepOneCheckResults.value = next; } }
async function resetStepOne() {
+ answers.value = createAnswers();
+ stepOneCheckResults.value = {};
+ stepOnePassed.value = false;
+ proxy?.$modal?.msgSuccess("已清空第 1 步填写内容");
+}
+async function resetTraining() {
if (saving.value) return;
saving.value = true;
try {
@@ -154,7 +160,7 @@ async function resetStepOne() {
stepFourPassed.value = false;
stepFivePassed.value = false;
currentStep.value = 1;
- proxy?.$modal?.msgSuccess("已清空本实训填写内容");
+ proxy?.$modal?.msgSuccess("已重新开始本次实训");
} catch (error) {
proxy?.$modal?.msgError?.(error?.message || "清空失败,请重试");
} finally {
@@ -170,7 +176,8 @@ function clearVisualization() { if (visualization.value.url.startsWith("blob:"))
async function handleVisualizationUpload(event) { const file = event.target?.files?.[0]; if (!file) return; const acceptedTypes = ["image/jpeg", "image/png", "image/webp"]; if (!acceptedTypes.includes(file.type)) { proxy?.$modal?.msgError?.("请上传 PNG、JPG 或 WEBP 格式的图片"); event.target.value = ""; return; } if (file.size > 5 * 1024 * 1024) { proxy?.$modal?.msgError?.("图片大小不能超过 5MB"); event.target.value = ""; return; } uploading.value = true; try { if (isStudentDemo()) { clearVisualization(); visualization.value = { url: URL.createObjectURL(file), name: file.name }; } else { const formData = new FormData(); formData.append("file", file); const result = await uploadStudentTrainingFile(formData); const url = result?.url || result?.data?.url; if (!url) throw new Error("图片上传失败,请重试"); visualization.value = { url, name: file.name }; } proxy?.$modal?.msgSuccess("可视化结果图上传成功"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "图片上传失败,请重试"); } finally { uploading.value = false; event.target.value = ""; } }
async function saveAndGoToStepFive() { if (saving.value || !stepThreePassed.value) return; saving.value = true; try { await checkMarketOpportunitySelectionStepFour({ visualizationUrl: visualization.value.url }); await saveStudentTrainingAnswer(TASK_KEY, { step4Answer: JSON.stringify(buildStepFourOutcome()), currentStep: 5, submitted: false, saveAction: "SAVE" }); stepFourPassed.value = true; currentStep.value = 5; proxy?.$modal?.msgSuccess("可视化结果已保存,已进入第 5 步"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "请上传数据可视化结果图"); } finally { saving.value = false; } }
async function saveAndGoToStepSix() { if (saving.value || !stepFourPassed.value) return; saving.value = true; try { await checkMarketOpportunitySelectionStepFive({ insights: products.map((product) => ({ productId: product.id, ...reviewInsights.value[product.id] })) }); dynamicStepAnswers.value = buildDynamicStepAnswers({ step5: buildStepFiveOutcome() }); await saveStudentTrainingAnswer(TASK_KEY, { dynamicStepAnswers: JSON.stringify(dynamicStepAnswers.value), currentStep: 6, submitted: false, saveAction: "SAVE" }); stepFivePassed.value = true; currentStep.value = 6; proxy?.$modal?.msgSuccess("用户需求洞察已保存,已进入第 6 步"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "请完整填写三类产品的好评率、用户痛点和未被满足的需求"); } finally { saving.value = false; } }
-async function saveAndCompleteTraining() { if (saving.value || !stepFivePassed.value) return; saving.value = true; try { await checkMarketOpportunitySelectionStepSix({ developmentConclusion: developmentConclusion.value }); dynamicStepAnswers.value = buildDynamicStepAnswers({ step5: buildStepFiveOutcome(), step6: buildStepSixOutcome() }); await saveStudentTrainingAnswer(TASK_KEY, { dynamicStepAnswers: JSON.stringify(dynamicStepAnswers.value), currentStep: 6, submitted: true, saveAction: "SUBMIT" }); proxy?.$modal?.msgSuccess("实训成果已保存,恭喜完成本次实训"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "请填写建议开发的产品及具体原因"); } finally { saving.value = false; } }
+async function saveCurrentStepSix() { if (saving.value || !stepFivePassed.value) return; saving.value = true; try { await checkMarketOpportunitySelectionStepSix({ developmentConclusion: developmentConclusion.value }); dynamicStepAnswers.value = buildDynamicStepAnswers({ step5: buildStepFiveOutcome(), step6: buildStepSixOutcome() }); await saveStudentTrainingAnswer(TASK_KEY, { dynamicStepAnswers: JSON.stringify(dynamicStepAnswers.value), currentStep: 6, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess("第 6 步已保存"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "请填写建议开发的产品及具体原因"); } finally { saving.value = false; } }
+async function submitTraining() { if (saving.value || !stepFivePassed.value) return; saving.value = true; try { await checkMarketOpportunitySelectionStepSix({ developmentConclusion: developmentConclusion.value }); dynamicStepAnswers.value = buildDynamicStepAnswers({ step5: buildStepFiveOutcome(), step6: buildStepSixOutcome() }); await saveStudentTrainingAnswer(TASK_KEY, { dynamicStepAnswers: JSON.stringify(dynamicStepAnswers.value), currentStep: 6, submitted: true, saveAction: "SUBMIT" }); proxy?.$modal?.msgSuccess("实训成果已提交"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "请填写建议开发的产品及具体原因"); } finally { saving.value = false; } }
function downloadFile(content, fileName, type) { const blob = new Blob([content], { type }); const url = URL.createObjectURL(blob); const link = document.createElement("a"); link.href = url; link.download = fileName; link.click(); URL.revokeObjectURL(url); }
function downloadInstructions() { downloadBuiltInFile(SCORE_CALCULATION_GUIDE_URL, "6.综合得分计算操作说明.docx"); }
// 远端版本:下载入口已改为后端内置 Excel 模板;以下旧生成逻辑仅保留作迁移参考。
diff --git a/src/views/training/GenericTrainingPage.vue b/src/views/training/GenericTrainingPage.vue
index 00411fb..39728db 100644
--- a/src/views/training/GenericTrainingPage.vue
+++ b/src/views/training/GenericTrainingPage.vue
@@ -18,6 +18,8 @@
class="comprehensive-training-toolbar"
:material-name="page.material?.name"
:material-url="page.material?.url"
+ :on-submit="submitTask"
+ :on-reset="resetTraining"
:on-export="exportOutcome"
/>
@@ -384,17 +386,6 @@
-
- 保存当前进度
- 提交任务
- 重新实训
-
-
-
- 保存当前进度
- 提交任务
- 重新实训
-
From 77bb2e19e3e3857932639e2f8a8ac742d468f2a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E6=B2=85?= <907037276@qq.com>
Date: Tue, 1 Sep 2026 09:11:42 +0800
Subject: [PATCH 33/36] fix: hide next action on final training step
---
src/views/assessment/optimization.vue | 2 +-
src/views/channel/index.vue | 2 +-
src/views/demand/consumer-behavior.vue | 2 +-
src/views/demand/consumer-scenario.vue | 2 +-
src/views/demand/environment.vue | 2 +-
src/views/demand/feature-conversion.vue | 2 +-
src/views/demand/index.vue | 2 +-
src/views/demand/people.vue | 2 +-
src/views/foundation/new-product-survey.vue | 2 +-
src/views/product/components/ProductStandardTrainingPage.vue | 2 +-
src/views/product/differentiation.vue | 2 +-
src/views/product/index.vue | 2 +-
12 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/views/assessment/optimization.vue b/src/views/assessment/optimization.vue
index 3c79b8a..293a8a8 100644
--- a/src/views/assessment/optimization.vue
+++ b/src/views/assessment/optimization.vue
@@ -168,7 +168,7 @@
diff --git a/src/views/channel/index.vue b/src/views/channel/index.vue
index afee4d9..726e3c9 100644
--- a/src/views/channel/index.vue
+++ b/src/views/channel/index.vue
@@ -120,7 +120,7 @@
-
+
diff --git a/src/views/demand/consumer-behavior.vue b/src/views/demand/consumer-behavior.vue
index 21ff0ce..e536dda 100644
--- a/src/views/demand/consumer-behavior.vue
+++ b/src/views/demand/consumer-behavior.vue
@@ -252,7 +252,7 @@
保存当前进度
-
+
下一步
diff --git a/src/views/demand/consumer-scenario.vue b/src/views/demand/consumer-scenario.vue
index be3109f..2770657 100644
--- a/src/views/demand/consumer-scenario.vue
+++ b/src/views/demand/consumer-scenario.vue
@@ -225,7 +225,7 @@
保存当前进度
-
-
+
下一步
diff --git a/src/views/demand/feature-conversion.vue b/src/views/demand/feature-conversion.vue
index 215814f..7fa2337 100644
--- a/src/views/demand/feature-conversion.vue
+++ b/src/views/demand/feature-conversion.vue
@@ -195,7 +195,7 @@
保存当前进度
-
+
下一步
diff --git a/src/views/demand/index.vue b/src/views/demand/index.vue
index 1b7d355..47e9903 100644
--- a/src/views/demand/index.vue
+++ b/src/views/demand/index.vue
@@ -100,7 +100,7 @@
保存当前进度
-
+
下一步
diff --git a/src/views/demand/people.vue b/src/views/demand/people.vue
index a6580cf..ab0a13e 100644
--- a/src/views/demand/people.vue
+++ b/src/views/demand/people.vue
@@ -303,7 +303,7 @@
保存当前进度
-
+
下一步
diff --git a/src/views/foundation/new-product-survey.vue b/src/views/foundation/new-product-survey.vue
index b71a6bb..40d9849 100644
--- a/src/views/foundation/new-product-survey.vue
+++ b/src/views/foundation/new-product-survey.vue
@@ -221,7 +221,7 @@
保存当前进度
-
+
{{ checking ? "正在判题" : "下一步" }}
diff --git a/src/views/product/components/ProductStandardTrainingPage.vue b/src/views/product/components/ProductStandardTrainingPage.vue
index 2738386..c2cf335 100644
--- a/src/views/product/components/ProductStandardTrainingPage.vue
+++ b/src/views/product/components/ProductStandardTrainingPage.vue
@@ -62,7 +62,7 @@
上一步
保存当前步骤
清空当前步骤
- 下一步
+ 下一步
diff --git a/src/views/product/differentiation.vue b/src/views/product/differentiation.vue
index 4e22206..ab858ba 100644
--- a/src/views/product/differentiation.vue
+++ b/src/views/product/differentiation.vue
@@ -223,9 +223,9 @@
保存当前进度
下一步
diff --git a/src/views/product/index.vue b/src/views/product/index.vue
index 6fe26c2..f89036d 100644
--- a/src/views/product/index.vue
+++ b/src/views/product/index.vue
@@ -184,7 +184,7 @@
保存当前进度
-
+
下一步
From 05cc586907ca7b862f44879babd98a1feabfb615 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E6=B2=85?= <907037276@qq.com>
Date: Tue, 1 Sep 2026 09:22:30 +0800
Subject: [PATCH 34/36] fix: hide previous action on first training step
---
src/views/assessment/optimization.vue | 2 +-
src/views/channel/index.vue | 2 +-
src/views/demand/consumer-behavior.vue | 2 +-
src/views/demand/consumer-scenario.vue | 2 +-
src/views/demand/environment.vue | 2 +-
src/views/demand/feature-conversion.vue | 2 +-
src/views/demand/index.vue | 2 +-
src/views/demand/people.vue | 2 +-
src/views/foundation/new-product-survey.vue | 2 +-
src/views/product/components/ProductStandardTrainingPage.vue | 2 +-
src/views/product/differentiation.vue | 2 +-
src/views/product/index.vue | 2 +-
12 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/views/assessment/optimization.vue b/src/views/assessment/optimization.vue
index 293a8a8..c215a45 100644
--- a/src/views/assessment/optimization.vue
+++ b/src/views/assessment/optimization.vue
@@ -166,7 +166,7 @@
diff --git a/src/views/channel/index.vue b/src/views/channel/index.vue
index 726e3c9..7ded007 100644
--- a/src/views/channel/index.vue
+++ b/src/views/channel/index.vue
@@ -120,7 +120,7 @@
-
+
diff --git a/src/views/demand/consumer-behavior.vue b/src/views/demand/consumer-behavior.vue
index e536dda..e079bd1 100644
--- a/src/views/demand/consumer-behavior.vue
+++ b/src/views/demand/consumer-behavior.vue
@@ -244,7 +244,7 @@
-
+
上一步
diff --git a/src/views/demand/consumer-scenario.vue b/src/views/demand/consumer-scenario.vue
index 2770657..a8a1c48 100644
--- a/src/views/demand/consumer-scenario.vue
+++ b/src/views/demand/consumer-scenario.vue
@@ -217,7 +217,7 @@
-
+
上一步
diff --git a/src/views/demand/environment.vue b/src/views/demand/environment.vue
index 65222a2..bd23490 100644
--- a/src/views/demand/environment.vue
+++ b/src/views/demand/environment.vue
@@ -98,7 +98,7 @@
-
+
上一步
diff --git a/src/views/demand/feature-conversion.vue b/src/views/demand/feature-conversion.vue
index 7fa2337..668f452 100644
--- a/src/views/demand/feature-conversion.vue
+++ b/src/views/demand/feature-conversion.vue
@@ -187,7 +187,7 @@
-
+
上一步
diff --git a/src/views/demand/index.vue b/src/views/demand/index.vue
index 47e9903..064a1bd 100644
--- a/src/views/demand/index.vue
+++ b/src/views/demand/index.vue
@@ -92,7 +92,7 @@
-
+
上一步
diff --git a/src/views/demand/people.vue b/src/views/demand/people.vue
index ab0a13e..ce1cc73 100644
--- a/src/views/demand/people.vue
+++ b/src/views/demand/people.vue
@@ -295,7 +295,7 @@
-
+
上一步
diff --git a/src/views/foundation/new-product-survey.vue b/src/views/foundation/new-product-survey.vue
index 40d9849..6d7af4b 100644
--- a/src/views/foundation/new-product-survey.vue
+++ b/src/views/foundation/new-product-survey.vue
@@ -213,7 +213,7 @@
-
+
上一步
diff --git a/src/views/product/components/ProductStandardTrainingPage.vue b/src/views/product/components/ProductStandardTrainingPage.vue
index c2cf335..d691d6e 100644
--- a/src/views/product/components/ProductStandardTrainingPage.vue
+++ b/src/views/product/components/ProductStandardTrainingPage.vue
@@ -59,7 +59,7 @@
-
上一步
+
上一步
保存当前步骤
清空当前步骤
下一步
diff --git a/src/views/product/differentiation.vue b/src/views/product/differentiation.vue
index ab858ba..2dc6be1 100644
--- a/src/views/product/differentiation.vue
+++ b/src/views/product/differentiation.vue
@@ -214,7 +214,7 @@
-
+
上一步
diff --git a/src/views/product/index.vue b/src/views/product/index.vue
index f89036d..fcce3f3 100644
--- a/src/views/product/index.vue
+++ b/src/views/product/index.vue
@@ -176,7 +176,7 @@
-
+
上一步
From 4ea4f28402dd5bda971108e9a2f9dfcbea02e4b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E6=B2=85?= <907037276@qq.com>
Date: Tue, 1 Sep 2026 12:01:57 +0800
Subject: [PATCH 35/36] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=AD=A6=E7=94=9F?=
=?UTF-8?q?=E7=AB=AF=E5=AE=9E=E8=AE=AD=E6=AD=A5=E9=AA=A4=E6=93=8D=E4=BD=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/assessment/diagnosis.vue | 15 ++-
src/views/assessment/five.vue | 5 -
src/views/assessment/index.vue | 7 --
src/views/assessment/kano.vue | 5 -
src/views/assessment/market.vue | 5 -
src/views/assessment/traffic.vue | 5 -
src/views/channel/purchase.vue | 7 --
src/views/channel/supplier.vue | 52 +++++---
src/views/components/TrainingTaskToolbar.vue | 87 ++++++++++++-
src/views/demand/business-feasibility.vue | 30 ++++-
.../competitive-environment-analysis.vue | 31 ++++-
src/views/demand/environment.vue | 4 -
src/views/demand/index.vue | 4 -
src/views/demand/industry-demand-analysis.vue | 35 +++++-
src/views/demand/user.vue | 3 -
src/views/foundation/new-product-survey.vue | 10 --
.../product-development-factors.vue | 119 +++++++++---------
.../product-development-process.vue | 87 +++++++------
.../portraitModel/components/abcAnalysis.vue | 4 -
.../components/basketAnalysis.vue | 4 -
.../components/funnelAnalysis.vue | 4 -
src/views/product/after-sales-service.vue | 40 +++---
.../ProductStandardTrainingPage.vue | 12 +-
src/views/product/hardware-cost.vue | 38 +++---
src/views/product/index.vue | 8 --
.../product/market-opportunity-selection.vue | 27 ++--
src/views/product/price.vue | 58 ++++-----
src/views/product/requirements-doc.vue | 39 +++---
src/views/product/structure.vue | 32 +++--
src/views/test/channel.vue | 3 -
src/views/test/index.vue | 3 +-
src/views/test/marketing.vue | 7 --
src/views/test/promotion.vue | 8 +-
src/views/training/CustomTrainingStepPage.vue | 20 ++-
src/views/training/GenericTrainingPage.vue | 62 ++++++++-
35 files changed, 515 insertions(+), 365 deletions(-)
diff --git a/src/views/assessment/diagnosis.vue b/src/views/assessment/diagnosis.vue
index 66387cd..6a563fc 100644
--- a/src/views/assessment/diagnosis.vue
+++ b/src/views/assessment/diagnosis.vue
@@ -17,7 +17,6 @@
一计算各节点转化率
根据案例数据计算各个渠道链路节点转化率,参考方法及工具如下:
| 链路节点 | 天猫 | 京东 | 抖音 | 拼多多 | 行业均值 |
|---|
| {{ row.linkNode }} | % |
|---|
二全链路转化漏斗可视化
根据节点转化率计算结果,绘制各渠道转化率与行业均值的转化漏斗对比图,可视化呈现多环节情况,参考方法及工具如下:
1.使用Excel绘图功能,自主完成转化漏斗对比图,可参考《实训操作说明》。下载实训操作说明
2.下载Excel模版,填写关键信息,自动计算各环节转化率并生成转化漏斗对比图。下载Excel模板
3.导出数据表上传到通用AI大模型,通过AI大模型辅助完成,参考步骤及提示词如下:请根据表格数据绘制漏斗图,并与行业均值漏斗图进行对比。
{{ funnelChart.name || '节点转化漏斗对比图' }}点击缩略图可放大预览移除图片
{{ uploading ? '上传中…' : '更换对比图' }}{{ uploading ? '上传中…' : '上传节点转化漏斗对比图' }}支持 PNG、JPG、WEBP 格式,图片不超过 5MB;上传后可点击预览。
| 渠道 | 链路节点 | 店铺转化率 | 行业均值转化率 | 异常分析与判定 |
|---|
| | % | % | |
说明:这个表格默认展示一行可填写,最少一行,可以增加行,最多5行,这里填写的渠道需要来源于第一个表的渠道。
- 保存草稿{{ saving ? '校验中…' : '校验并进入第 2 步' }}
@@ -25,7 +24,6 @@
一词云分析
导入数据,生成词云,基于案例评论数据自动生成高频问题词云。
请根据词云图填写词云中出现频次最高的TOP3问题。
请点击情感倾向分析按钮,系统自动判断各情感类型评论数量,请计算各情感类型占比,正面评论占比=正面评论数量/总评论数量,以此类推,计算结果用百分数表示,保留两位小数。情感倾向分析
| 情感类型 | 评论数量(条) | 占比 |
|---|
| {{ row.type }} | {{ row.count ?? '—' }} | % |
|---|
请结合词云TOP3与情感分析结果,说明本案例的核心问题根本原因;说明高频问题与情感数据是如何验证步骤一漏斗异常结论的
- 保存草稿{{ saving ? '校验中…' : '校验并保存第 2 步' }}
@@ -34,8 +32,8 @@
(2)AB测试数据填报
请从案例资料中获取AB测试两组数据,计算后填入下表并逐项判定:
| 测试指标 | 对照组数据 | 实验组数据 | 判定与分析 |
|---|
| {{ row.metric }} | % | % | |
|---|
(3)可视化呈现
绘制AB测试结果对比图,参考方法及工具如下:
{{ abChart.name || 'AB 测试结果对比图' }}点击缩略图可放大预览移除图片
{{ uploading ? '上传中…' : '更换对比图' }}{{ uploading ? '上传中…' : '上传AB测试结果对比图' }}支持 PNG、JPG、WEBP 格式,图片不超过 5MB;上传后可点击预览。
- 1.使用Excel/WPS绘图功能,自主完成AB测试结果对比图,参考《实训操作说明》。
- 2.下载Excel模版,填写关键信息,自动计算AB测试数据,并生成测试结果对比图。
- 3.导出数据表上传到通用AI大模型,通过AI大模型辅助完成,参考步骤及提示词如下:请根据表格数据,进行对照组和实验组数据对比,采用组合柱状图生成可视化图形。
下载实训操作说明下载Excel模板
(4)诊断结论与迭代优化建议
结合全链路数据漏斗诊断、售后评论分析法及AB测试对照诊断,分析产品存在的问题,并提出具体的迭代优化建议。
- 保存草稿{{ saving ? '校验中…' : '校验并保存第 3 步' }}
+ 上一步保存当前进度下一步
@@ -80,10 +78,19 @@ async function saveStepOneDraft() { await persistStepOne(false); } async functio
async function handleCommentImport(event) { const file = event.target?.files?.[0]; if (!file) return; if (!/\.(csv|txt|xls|xlsx)$/i.test(file.name) || file.size > 5 * 1024 * 1024) { proxy?.$modal?.msgError?.("请上传不超过 5MB 的 CSV、TXT、XLS 或 XLSX 评论文件"); event.target.value = ""; return; } analyzing.value = true; try { const result = (await analyzeProductDiagnosisIterationStepTwo(file))?.data; if (!result) throw new Error("未获得评论分析结果"); analysisResult.value = result; commentPreview.value = { fileName: result.sourceFileName || file.name, totalComments: result.totalComments || 0, comments: result.previewComments || [] }; wordCloud.value = result.wordCloud || []; topIssues.value = [0, 1, 2].map((index) => result.topIssues?.[index] || ""); sentiments.value = createSentiments(); await nextTick(); renderWordCloud(); proxy?.$modal?.msgSuccess?.("评论数据已导入,词云已生成"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "评论数据分析失败,请检查文件格式"); } finally { analyzing.value = false; event.target.value = ""; } }
function renderWordCloud() { if (!wordCloudRef.value || !wordCloud.value.length) return; wordCloudChart?.dispose(); wordCloudChart = echarts.init(wordCloudRef.value); wordCloudChart.setOption({ backgroundColor: "transparent", tooltip: { show: true }, series: [{ type: "wordCloud", shape: "circle", gridSize: 5, sizeRange: [16, 58], rotationRange: [-35, 35], textStyle: { color: () => ["#53e2ff", "#6ae1bb", "#ffd06a", "#91b8ff", "#ff9e88"][Math.floor(Math.random() * 5)] }, data: wordCloud.value }] }); }
function runSentimentAnalysis() { if (!analysisResult.value) return; sentiments.value = [{ type: "正面", count: analysisResult.value.positiveCount, percentage: null }, { type: "中性", count: analysisResult.value.neutralCount, percentage: null }, { type: "负面", count: analysisResult.value.negativeCount, percentage: null }]; proxy?.$modal?.msgSuccess?.("评论数量已自动填充,请计算并填写各类情感占比"); }
-async function saveStepTwoDraft() { if (saving.value) return; saving.value = true; try { await saveStudentTrainingAnswer(TASK_KEY, { step2Answer: JSON.stringify(buildStepTwo()), currentStep: 2, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess?.("草稿已保存"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "保存失败,请重试"); } finally { saving.value = false; } } async function validateStepTwo() { if (saving.value) return; saving.value = true; try { const data = buildStepTwo(); await validateProductDiagnosisIterationStepTwo(data); await saveStudentTrainingAnswer(TASK_KEY, { step2Answer: JSON.stringify(data), currentStep: 2, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess?.("第 2 步校验通过,已保存"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "请检查词云、情感占比和根因分析"); } finally { saving.value = false; } }
+async function saveStepTwoDraft() { if (saving.value) return false; saving.value = true; try { await saveStudentTrainingAnswer(TASK_KEY, { step2Answer: JSON.stringify(buildStepTwo()), currentStep: 2, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess?.("当前步骤已保存"); return true; } catch (error) { proxy?.$modal?.msgError?.(error?.message || "保存失败,请重试"); return false; } finally { saving.value = false; } } async function validateStepTwo() { if (saving.value) return false; saving.value = true; try { const data = buildStepTwo(); await validateProductDiagnosisIterationStepTwo(data); await saveStudentTrainingAnswer(TASK_KEY, { step2Answer: JSON.stringify(data), currentStep: 2, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess?.("第 2 步校验通过,已保存"); return true; } catch (error) { proxy?.$modal?.msgError?.(error?.message || "请检查词云、情感占比和根因分析"); return false; } finally { saving.value = false; } }
function clearAbChart() { if (abChart.value.url.startsWith("blob:")) URL.revokeObjectURL(abChart.value.url); abChart.value = { url: "", name: "" }; }
async function handleAbChartUpload(event) { const file = event.target?.files?.[0]; if (!file) return; const accepted = ["image/jpeg", "image/png", "image/webp"]; if (!accepted.includes(file.type) || file.size > 5 * 1024 * 1024) { proxy?.$modal?.msgError?.("请上传不超过 5MB 的 PNG、JPG 或 WEBP 图片"); event.target.value = ""; return; } uploading.value = true; try { let url = ""; if (isStudentDemo()) url = URL.createObjectURL(file); else { const data = new FormData(); data.append("file", file); const response = await uploadStudentTrainingFile(data); url = response?.url || response?.data?.url || ""; } if (!url) throw new Error("上传成功但未返回图片地址"); clearAbChart(); abChart.value = { url, name: file.name }; proxy?.$modal?.msgSuccess?.("AB 测试结果对比图上传成功,可点击图片预览"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "图片上传失败,请重试"); } finally { uploading.value = false; event.target.value = ""; } }
async function saveStepThreeDraft() { if (saving.value) return; saving.value = true; try { await saveStudentTrainingAnswer(TASK_KEY, { step3Answer: JSON.stringify(buildStepThree()), currentStep: 3, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess?.("草稿已保存"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "保存失败,请重试"); } finally { saving.value = false; } }
+async function saveCurrentProgress() {
+ if (currentStep.value === 1) return persistStepOne(true);
+ if (currentStep.value === 2) return saveStepTwoDraft();
+ return saveStepThreeDraft();
+}
+async function nextStep() {
+ if (currentStep.value === 1) return validateStepOne();
+ if (currentStep.value === 2 && await validateStepTwo()) currentStep.value = 3;
+}
async function validateStepThree() { if (saving.value) return; saving.value = true; try { const data = buildStepThree(); await validateProductDiagnosisIterationStepThree(data); await saveStudentTrainingAnswer(TASK_KEY, { step3Answer: JSON.stringify(data), currentStep: 3, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess?.("第 3 步校验通过,已保存"); } catch (error) { proxy?.$modal?.msgError?.(error?.message || "请检查 AB 测试方案、指标数据和对比图"); } finally { saving.value = false; } }
function restore(answer) { try { const stepOne = JSON.parse(answer?.step1Answer || "{}"); if (Array.isArray(stepOne.conversionRates) && stepOne.conversionRates.length === nodes.length) conversionRates.value = nodes.map((node) => ({ ...createConversionRates().find((row) => row.linkNode === node), ...(stepOne.conversionRates.find((row) => row?.linkNode === node) || {}) })); if (Array.isArray(stepOne.anomalyRows) && stepOne.anomalyRows.length) anomalyRows.value = stepOne.anomalyRows.slice(0, 5).map((row) => ({ ...createAnomalyRow(), ...row })); if (stepOne.funnelChartUrl) funnelChart.value = { url: stepOne.funnelChartUrl, name: stepOne.funnelChartName || "节点转化漏斗对比图" }; const stepTwo = JSON.parse(answer?.step2Answer || "{}"); if (stepTwo.sourceFileName) { commentPreview.value = { fileName: stepTwo.sourceFileName, totalComments: 0, comments: stepTwo.previewComments || [] }; wordCloud.value = stepTwo.wordCloud || []; topIssues.value = [0, 1, 2].map((index) => stepTwo.topIssues?.[index] || ""); sentiments.value = (stepTwo.sentiments || createSentiments()).map((row) => ({ ...createSentiments().find((item) => item.type === row.type), ...row })); rootCauseAnalysis.value = stepTwo.rootCauseAnalysis || ""; nextTick(renderWordCloud); } const stepThree = JSON.parse(answer?.step3Answer || "{}"); if (stepThree.testPlan || stepThree.comparisonChartUrl || stepThree.iterationRecommendation) { abTestPlan.value = stepThree.testPlan || ""; if (Array.isArray(stepThree.rows) && stepThree.rows.length === createAbRows().length) abRows.value = createAbRows().map((row) => ({ ...row, ...(stepThree.rows.find((item) => item?.metric === row.metric) || {}) })); if (stepThree.comparisonChartUrl) abChart.value = { url: stepThree.comparisonChartUrl, name: stepThree.comparisonChartName || "AB 测试结果对比图" }; iterationRecommendation.value = stepThree.iterationRecommendation || ""; } currentStep.value = [1, 2, 3].includes(Number(answer?.currentStep)) ? Number(answer.currentStep) : 1; } catch (error) {} }
onMounted(async () => { try { taskConfig.value = (await getTrainingTaskByKey(TASK_KEY))?.data || null; } catch (error) { taskConfig.value = null; } try { restore((await getStudentTrainingAnswer(TASK_KEY))?.data); } catch (error) {} }); onBeforeUnmount(() => { if (funnelChart.value.url.startsWith("blob:")) URL.revokeObjectURL(funnelChart.value.url); if (abChart.value.url.startsWith("blob:")) URL.revokeObjectURL(abChart.value.url); wordCloudChart?.dispose(); });
diff --git a/src/views/assessment/five.vue b/src/views/assessment/five.vue
index f18116e..5d4bfd0 100644
--- a/src/views/assessment/five.vue
+++ b/src/views/assessment/five.vue
@@ -162,16 +162,11 @@
-
diff --git a/src/views/demand/environment.vue b/src/views/demand/environment.vue
index bd23490..a414e20 100644
--- a/src/views/demand/environment.vue
+++ b/src/views/demand/environment.vue
@@ -112,10 +112,6 @@
-
- 提交任务
- 重新实训
-
diff --git a/src/views/demand/index.vue b/src/views/demand/index.vue
index 064a1bd..7bfdd10 100644
--- a/src/views/demand/index.vue
+++ b/src/views/demand/index.vue
@@ -106,10 +106,6 @@
-
- 提交任务
- 重新实训
-
diff --git a/src/views/demand/industry-demand-analysis.vue b/src/views/demand/industry-demand-analysis.vue
index ab53e66..bb57e11 100644
--- a/src/views/demand/industry-demand-analysis.vue
+++ b/src/views/demand/industry-demand-analysis.vue
@@ -34,7 +34,6 @@
| {{ index + 1 }} | {{ row.label }} | |
- 保存并进入第 2 步 清空当前步骤
@@ -53,7 +52,6 @@
| {{ index + 1 }} | {{ row.label }} | |
- 保存并进入第 3 步 清空当前步骤
@@ -65,7 +63,6 @@
| {{ row.label }} | | | |
- 保存并进入第 4 步 清空当前步骤
@@ -78,10 +75,14 @@
(3)市场进入需要关注的风险点
请指出 2 个以上的风险点。
- 保存当前步骤 清空当前步骤
第 {{ currentStep }} 步内容待配置
前序步骤已保存,可从上方步骤栏返回查看。
+
+ 上一步
+ 保存当前进度
+ 下一步
+
@@ -90,7 +91,7 @@
@@ -507,7 +510,7 @@ function exportOutcome() { if (currentStep.value === 2) { exportStepTwoTable();
.step-indicator { display: flex; align-items: stretch; margin: 26px 0; padding: 10px; overflow-x: auto; border: 1px solid rgba(58, 170, 220, .35); border-radius: 18px; background: rgba(0, 15, 28, .45); }.step-tab { display: flex; min-width: 185px; flex: 1; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 12px; color: #8baabd; background: transparent; text-align: left; cursor: pointer; }.step-tab.active { color: #fff; background: linear-gradient(90deg, #087eb3, #12a7d5); box-shadow: inset 0 0 0 1px rgba(157, 239, 255, .55); }.step-tab.complete .step-marker { border-color: #53f1d5; color: #53f1d5; }.step-marker { display: inline-grid; width: 33px; height: 33px; flex: 0 0 33px; place-items: center; border: 1px solid #4c91b5; border-radius: 50%; font-weight: 700; }.step-copy { display: grid; gap: 3px; }.step-copy small { font-size: 11px; }.step-connector { width: 22px; min-width: 22px; align-self: center; height: 1px; background: #287596; }
.step-card { padding: 25px; border: 1px solid rgba(50, 162, 208, .42); border-radius: 18px; background: rgba(2, 18, 30, .58); }.step-desc { margin: 18px 0; color: #c0d2df; line-height: 1.8; }.matching-tip, .prd-note { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 20px; padding: 10px 13px; border-left: 3px solid #2ed4f0; border-radius: 5px; color: #a9ddeb; background: rgba(28, 122, 157, .15); font-size: 14px; line-height: 1.65; }
.matching-workspace { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(350px, .78fr); gap: 24px; align-items: start; }.module-list { display: grid; gap: 10px; }.module-row { display: grid; grid-template-columns: minmax(185px, .31fr) minmax(0, .69fr); min-height: 84px; overflow: hidden; border: 1px solid rgba(124, 166, 189, .45); border-radius: 10px; background: rgba(11, 39, 56, .48); transition: .18s ease; cursor: pointer; }.module-row--over { border-color: #48e3ff; box-shadow: 0 0 0 3px rgba(55, 215, 248, .16); }.module-row--filled { border-color: rgba(74, 220, 182, .56); }.module-label { display: flex; align-items: center; gap: 12px; padding: 16px; border-right: 1px solid rgba(124, 166, 189, .35); color: #eef9ff; background: rgba(13, 81, 113, .28); }.module-label span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: #7ee6ff; background: rgba(11, 172, 214, .16); font-size: 12px; }.module-drop-zone { display: flex; align-items: center; padding: 10px 12px; }.drop-placeholder { color: #7696a8; font-size: 14px; }
-.purpose-bank { position: sticky; top: 22px; padding: 18px; border: 1px solid rgba(66, 178, 226, .45); border-radius: 14px; background: linear-gradient(180deg, rgba(10, 71, 100, .38), rgba(7, 29, 45, .72)); transition: .18s ease; }.purpose-bank--over { border-color: #ffba67; box-shadow: 0 0 0 3px rgba(255, 186, 103, .16); }.purpose-bank__head strong { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(97, 222, 255, .58); border-radius: 50%; color: #8eeaff; }.purpose-bank > p { margin: 12px 0 15px; color: #9cb8c7; font-size: 13px; line-height: 1.65; }.purpose-card-list { display: grid; gap: 9px; max-height: 570px; overflow: auto; padding-right: 3px; }.purpose-card { display: flex; align-items: center; width: 100%; gap: 8px; padding: 11px 12px; border: 1px solid rgba(111, 158, 179, .5); border-radius: 8px; color: #e4f4fb; background: rgba(7, 31, 47, .72); text-align: left; line-height: 1.55; cursor: grab; transition: .18s ease; }.purpose-card:hover, .purpose-card.selected { border-color: #53ddfb; background: rgba(14, 116, 153, .43); }.purpose-card.dragging { opacity: .5; }.purpose-card--assigned { cursor: grab; }.purpose-card--assigned span { flex: 1; }.purpose-card--assigned button { display: inline-grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border: 0; border-radius: 50%; color: #b9ebfa; background: rgba(104, 196, 224, .17); cursor: pointer; }.purpose-card--assigned button:hover { color: #fff; background: #bd5068; }.drag-grip { color: #5fd5ed; letter-spacing: -3px; }.purpose-bank__empty { padding: 22px 8px; color: #82b3c8; text-align: center; }.result-message { margin: 20px 0 0; padding: 11px 14px; border: 1px solid rgba(255, 168, 112, .52); border-radius: 8px; color: #ffd5ad; background: rgba(157, 77, 35, .14); }.result-message.success { border-color: rgba(84, 230, 187, .56); color: #a6f4d8; background: rgba(16, 134, 99, .16); }.task-actions { justify-content: flex-end; margin-top: 21px; }
+.purpose-bank { position: sticky; top: 22px; padding: 18px; border: 1px solid rgba(66, 178, 226, .45); border-radius: 14px; background: linear-gradient(180deg, rgba(10, 71, 100, .38), rgba(7, 29, 45, .72)); transition: .18s ease; }.purpose-bank--over { border-color: #ffba67; box-shadow: 0 0 0 3px rgba(255, 186, 103, .16); }.purpose-bank__head strong { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(97, 222, 255, .58); border-radius: 50%; color: #8eeaff; }.purpose-bank > p { margin: 12px 0 15px; color: #9cb8c7; font-size: 13px; line-height: 1.65; }.purpose-card-list { display: grid; gap: 9px; max-height: 570px; overflow: auto; padding-right: 3px; }.purpose-card { display: flex; align-items: center; width: 100%; gap: 8px; padding: 11px 12px; border: 1px solid rgba(111, 158, 179, .5); border-radius: 8px; color: #e4f4fb; background: rgba(7, 31, 47, .72); text-align: left; line-height: 1.55; cursor: grab; transition: .18s ease; }.purpose-card:hover, .purpose-card.selected { border-color: #53ddfb; background: rgba(14, 116, 153, .43); }.purpose-card.dragging { opacity: .5; }.purpose-card--assigned { cursor: grab; }.purpose-card--assigned span { flex: 1; }.purpose-card--assigned button { display: inline-grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border: 0; border-radius: 50%; color: #b9ebfa; background: rgba(104, 196, 224, .17); cursor: pointer; }.purpose-card--assigned button:hover { color: #fff; background: #bd5068; }.drag-grip { color: #5fd5ed; letter-spacing: -3px; }.purpose-bank__empty { padding: 22px 8px; color: #82b3c8; text-align: center; }.result-message { margin: 20px 0 0; padding: 11px 14px; border: 1px solid rgba(255, 168, 112, .52); border-radius: 8px; color: #ffd5ad; background: rgba(157, 77, 35, .14); }.result-message.success { border-color: rgba(84, 230, 187, .56); color: #a6f4d8; background: rgba(16, 134, 99, .16); }.task-actions { justify-content: flex-end; margin-top: 21px; }.step-navigation { display:flex; justify-content:center; gap:12px; margin-top:24px; }
.prd-detail-card { overflow: hidden; }.prd-table-wrap { overflow: auto; border: 1px solid rgba(102, 184, 223, .5); border-radius: 12px; }.prd-detail-table { width: 100%; min-width: 1000px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }.prd-detail-table th { padding: 13px; color: #effbff; background: linear-gradient(90deg, #087da9, #0b9bca); font-weight: 700; }.prd-detail-table td { padding: 12px; border-top: 1px solid rgba(115, 165, 188, .38); border-right: 1px solid rgba(115, 165, 188, .38); vertical-align: top; background: rgba(9, 38, 57, .44); }.prd-detail-table th:not(:last-child) { border-right: 1px solid rgba(212, 246, 255, .25); }.prd-detail-table td:last-child { border-right: 0; }.prd-detail-table th:nth-child(1), .module-number { width: 72px; text-align: center; }.prd-detail-table th:nth-child(2), .module-name { width: 155px; }.prd-detail-table th:nth-child(3), .submodule-name { width: 245px; }.module-number, .module-name, .submodule-name { color: #dff6ff; vertical-align: middle !important; }.module-name { background: rgba(10, 90, 122, .28) !important; font-weight: 700; }.submodule-name { background: rgba(20, 69, 92, .28) !important; }.detail-editor-cell { min-width: 480px; }.example-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: #7fa6ba; font-size: 13px; line-height: 1.6; }.example-bar button { flex: 0 0 auto; padding: 4px 8px; border: 1px solid rgba(96, 201, 237, .5); border-radius: 6px; color: #9deaff; background: rgba(5, 86, 124, .24); cursor: pointer; }.example-bar button:hover { color: #fff; background: rgba(12, 139, 182, .6); }.detail-editor-cell textarea { display: block; width: 100%; min-height: 92px; resize: vertical; box-sizing: border-box; padding: 10px; border: 1px solid rgba(108, 182, 215, .36); border-radius: 8px; outline: none; color: #eaf8ff; background: rgba(1, 18, 29, .62); font: inherit; line-height: 1.65; }.detail-editor-cell textarea:focus { border-color: #3ddff9; box-shadow: 0 0 0 3px rgba(55, 215, 248, .12); }.detail-editor-cell textarea::placeholder { color: #66899c; }.upcoming-card { text-align: center; }.upcoming-card h3 { margin: 8px 0; }.upcoming-card p:not(.section-eyebrow) { color: #a6c2d2; }
.file-input-hidden { display: none; }.prd-upload-card { overflow: hidden; }.prd-delivery-guide { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 20px 22px; border: 1px solid rgba(72, 201, 255, .2); border-radius: 16px; background: linear-gradient(135deg, rgba(20, 86, 127, .28), rgba(8, 32, 54, .2)); }.prd-delivery-guide h3 { margin: 0 0 10px; font-size: 18px; color: #eef9ff; }.prd-delivery-guide ol { margin: 0; padding-left: 20px; color: #b8d3e2; line-height: 1.8; }.document-drop-zone { display: grid; min-height: 270px; place-content: center; justify-items: center; gap: 14px; padding: 30px; margin-top: 20px; border: 1px dashed rgba(81, 207, 255, .5); border-radius: 18px; background: radial-gradient(circle at 50% 0, rgba(41, 180, 235, .16), transparent 52%), rgba(8, 33, 52, .56); text-align: center; transition: .2s ease; }.document-drop-zone:hover { border-color: #4ad4ff; background-color: rgba(14, 65, 95, .66); transform: translateY(-2px); }.document-upload-icon { font-size: 42px; color: #42d8ff; }.document-drop-zone h3 { margin: 0; color: #eefaff; font-size: 21px; }.document-drop-zone p { max-width: 560px; margin: 0; color: #a6c2d2; line-height: 1.7; }.uploaded-document-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-top: 20px; border: 1px solid rgba(69, 206, 255, .3); border-radius: 16px; background: rgba(9, 45, 70, .72); }.document-file-icon { flex: 0 0 auto; font-size: 32px; color: #55dcff; }.uploaded-document-main { min-width: 0; flex: 1; }.uploaded-document-main h3 { overflow: hidden; margin: 0 0 5px; color: #f0fbff; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }.uploaded-document-main p { margin: 0; color: #9cc1d4; font-size: 13px; }.uploaded-document-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 9px; }.btn-danger { border: 1px solid rgba(255, 115, 127, .45); color: #ffacb3; background: rgba(116, 32, 48, .25); }.btn-danger:hover { border-color: #ff7884; background: rgba(150, 38, 55, .38); color: #fff; }.prd-pdf-preview { height: min(68vh, 780px); overflow: hidden; border: 1px solid #d8e4ea; border-radius: 10px; background: #fff; }.prd-pdf-preview iframe { width: 100%; height: 100%; border: 0; }.prd-text-preview { max-height: min(68vh, 780px); overflow: auto; padding: 20px; border: 1px solid #d8e4ea; border-radius: 10px; color: #263849; background: #f8fbfd; font-family: "Microsoft YaHei", sans-serif; line-height: 1.8; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 1020px) { .matching-workspace { grid-template-columns: 1fr; }.purpose-bank { position: static; }.purpose-card-list { max-height: 360px; }.workbench-head { align-items: flex-start; flex-direction: column; }.requirements-doc-toolbar { width: 100%; justify-content: flex-start; } }
diff --git a/src/views/product/structure.vue b/src/views/product/structure.vue
index 7b5e2d3..b066f31 100644
--- a/src/views/product/structure.vue
+++ b/src/views/product/structure.vue
@@ -14,7 +14,7 @@
Smart hardware architecture
{{ trainingSteps[currentStep - 1] || '产品架构设计' }}
-
+
@@ -47,11 +47,6 @@
{{ checkResult.message || (checkResult.allCorrect ? '排序正确,已解锁下一步。' : `当前仅 ${checkResult.correctPositionCount}/${checkResult.totalCount} 个位置正确,请继续调整。`) }}
-
-
{{ checking ? '判题中…' : '检查排序并保存' }}
-
重新打乱
-
进入第 2 步
-
@@ -74,11 +69,6 @@
{{ stepTwoCheckResult.message || (stepTwoCheckResult.allCorrect ? '排序正确,已解锁下一步。' : `当前仅 ${stepTwoCheckResult.correctPositionCount}/${stepTwoCheckResult.totalCount} 个位置正确,请继续调整。`) }}
-
-
{{ checking ? '判题中…' : '检查排序并保存' }}
-
重新打乱
-
进入第 3 步
-
@@ -113,10 +103,6 @@
{{ stepThreeCheckResult.message }}
-
-
{{ checking ? '校验中…' : '校验并保存' }}
-
进入第 4 步
-
参考工具及方案
- 下载模板,按应用功能层、算法处理层、驱动感知层、硬件物理层补全逻辑调用关系。
- 每张图围绕一个核心功能绘制,使用箭头清晰标注信号流向。
下载模板
{{ stepFourCheckResult.message }}
- 保存进度{{ checking ? '校验中…' : '校验并完成实训' }}
Step {{ String(currentStep).padStart(2, '0') }}
{{ trainingSteps[currentStep - 1] }}
+
@@ -150,7 +136,7 @@
支持 CSV、TXT、XLS、XLSX,文件不超过 5MB。