diff --git a/.trae/skills/ink-training-theme/SKILL.md b/.trae/skills/ink-training-theme/SKILL.md new file mode 100644 index 0000000..a7f0543 --- /dev/null +++ b/.trae/skills/ink-training-theme/SKILL.md @@ -0,0 +1,244 @@ +--- +name: ink-training-theme +description: Apply the ink-minimal visual style to student training pages (Vue 3 + Element Plus + student-training.scss). Use when restyling or redesigning student practical-training pages, buttons, tables, or type scale in this repo. Do not use for admin/management pages or business-logic changes. +--- + +# 墨黑极简 · 学生实训页设计规范 + +本技能用于把学生端实训页(`.student-training-shell` 体系)统一为当前已在 +`src/views/foundation/new-product-survey.vue` 落地的「墨黑极简」风格:纯白画布、 +墨黑主操作、中性灰层次、紧凑排版。该 Vue 文件是整体标准样例;**步骤导航** +以本规范「步骤导航:杂志章节风」一节为准(已在 `product-development-factors.vue`、 +`product-development-process.vue` 落地),拿不准时先读这三个文件。 + +## 边界 + +- 只动 template 结构与样式;script 业务逻辑(判题/保存/草稿/上传/接口)一律不碰。 +- 仅作用于当前页根类,不得影响其他页面;不修改全局 `student-training.scss`。 +- 表格类内容区不铺任何底色,对错只靠文字反馈,不靠行背景。 + +## 实施流程 + +1. 读目标页,确认根类(如 `.xxx-page.student-training-shell`)和现有 DOM。 +2. 在页面 scoped 样式的根类块内定义全部令牌(见下),让所有 + `var(--student-*)` 规则自动重着色,不要逐处打补丁。 +3. 新增一个非 scoped ` diff --git a/src/views/foundation/new-product-survey.vue b/src/views/foundation/new-product-survey.vue index 73b9370..63b121a 100644 --- a/src/views/foundation/new-product-survey.vue +++ b/src/views/foundation/new-product-survey.vue @@ -2,43 +2,46 @@
-
- - 核心实训 · 产品开发基础 +
+ + + 核心实训 · 产品开发基础 + +

{{ taskTitle }}

+

+ {{ taskBackground }} + + + 实训目标 +

    +
  • {{ goal }}
  • +
+ 实训要求 +

{{ taskRequirement }}

+ +

-

{{ taskTitle }}

+
- -
-
-
-

PRODUCT DEVELOPMENT · NEW PRODUCT SURVEY

-

{{ getStepName(currentStep) || taskTitle }}

-
- -
@@ -62,11 +65,18 @@ 序号 卖点 - 三层次分类 + + 三层次分类 + + - + {{ index + 1 }} {{ point.text }} @@ -201,15 +211,15 @@

结合上面实训,针对AI技术在产品中的应用价值进行分析,回答以下问题。

-