From 79ab9b4f738cf3db3a99db30b0cca2c7f2344930 Mon Sep 17 00:00:00 2001 From: qinzhenpen Date: Mon, 21 Sep 2026 01:52:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(student-ui):=20=E5=AD=A6=E7=94=9F=E7=AB=AF?= =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E9=A1=B5=E5=A2=A8=E9=BB=91=E6=9E=81=E7=AE=80?= =?UTF-8?q?=E9=A3=8E=E6=A0=BC=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新产品调查与分析页作为墨黑极简标准样例 - 产品开发关键因素、产品开发主要流程页重设计: 任务头合并、杂志章节风步骤导航(大号编号+引导线)、 纯白表格、按钮四级层级、甘特图上传区中性化 - 学生首页贴边纯白、图表灰度配色 - 移除 app-container 与第三方AIGC页蓝色重投影 - 新增项目级 skill:ink-training-theme - 新增学生端页面 UI 清单文档 --- .trae/skills/ink-training-theme/SKILL.md | 244 +++ docs/学生端页面UI清单.md | 245 +++ src/assets/styles/index.scss | 2 - .../components/thirdPartyAIGC.vue | 32 +- src/views/foundation/new-product-survey.vue | 1395 +++++++++++------ .../product-development-factors.vue | 1251 +++++++++------ .../product-development-process.vue | 1374 +++++++++++++++- src/views/student/index.vue | 93 +- 8 files changed, 3600 insertions(+), 1036 deletions(-) create mode 100644 .trae/skills/ink-training-theme/SKILL.md create mode 100644 docs/学生端页面UI清单.md 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技术在产品中的应用价值进行分析,回答以下问题。

-