You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
qinzhenpen 511abe73b9 fix(task-review): 评阅预览改用最新学生页并修复新版样式门控失配
1. previewMap 三处指向已废弃的旧页面,改为 router 实际引用的最新页面:
   industry-demand-analysis      -> demand/industry-demand-analysis.vue
   competitive-environment-analysis -> demand/competitive-environment-analysis.vue
   market-opportunity-selection  -> product/market-opportunity-selection.vue
   并在文件头补充契约注释(必须与 router 一致,不得指向废弃页面)。

2. 修复评阅预览"看起来仍在用废弃页面"的根因,两重原因叠加:
   a) /task-review-preview 是脱离 Layout 的独立路由,DOM 里没有 .studentLayout
      与 section.app-main,导致学生页新版皮肤的门控选择器
      `#app .studentLayout section.app-main:has(.xxx-page) …` 集体失配,
      页面静默回落全局旧版样式(胶囊满宽、步骤说明小字重新出现、按钮配色不一致)。
      模板外层补两级空壳祖先容器,只补壳、不渲染顶栏侧栏。
   b) 预览 iframe 宽约 1000px,命中 student-training.scss 的
      @media (max-width: 1100px):`#app .student-training-shell .step-tab
      { width: 100% }`(特异性 1,2,0)压过预览自身 :deep() 覆盖(0,4,0),
      步骤胶囊被撑成整行、只剩第一个可见并出现横向滚动条。
      新增非 scoped 样式用更高特异性复位宽度,并压掉布局级背景与内边距。

实测(真实 Chrome,1000px 视口,与预览 iframe 同宽):
修复前 胶囊宽 952px x4、导航区 scrollWidth 3874/952(溢出);
修复后 214/169/199/200px、952/952(无溢出),与学生端外观一致。
12 hours ago
.cursor/skills/ink-training-theme style: 更新多个页面为教育蓝主题,调整样式以提升视觉一致性 3 weeks ago
.superpowers/sdd feat: add AI training evaluation frontend 3 months ago
.trae/skills style: 统一使用学生端字号变量替代硬编码字体大小 2 weeks ago
.workbuddy/memory fix(task-review): 评阅预览改用最新学生页并修复新版样式门控失配 12 hours ago
__pycache__ style: 统一项目UI配色风格,替换深色主题为浅色系主题 4 weeks ago
bin update registry source 5 years ago
docs feat(教师端): 完成教师端页面极简 SaaS 风格适配 3 weeks ago
html ruoyi 5 years ago
public 对图片进行压缩 2 years ago
src fix(task-review): 评阅预览改用最新学生页并修复新版样式门控失配 12 hours ago
tests Merge remote branch, resolve all conflicts using incoming version 4 weeks ago
vite/plugins 使用Pinia代替Vuex进行数据存储 4 years ago
.env.development Merge branch 'master' of http://118.31.7.2:3000/chenyuan1/dianshang-qianduan 1 month ago
.env.production chore: save current frontend training changes 3 months ago
.env.staging 提交项目 4 months ago
.gitignore merge: 合并dev-QQq按钮位置统一调整(工具栏带页面函数绑定+考试分页)到master;解决重复工具栏与重复import,保留保存当前进度按钮与超管浅色主题 2 weeks ago
.prettierrc 提交 2 years ago
PROJECT_CONTEXT.md fix: 修复导航栏下拉菜单白色背景问题 - 添加深色主题样式覆盖 1 month ago
README.md 提交 2 years ago
check-parse.ps1 style: 统一项目UI配色风格,替换深色主题为浅色系主题 4 weeks ago
convert-styles.ps1 style: 统一项目UI配色风格,替换深色主题为浅色系主题 4 weeks ago
convert-theme.ps1 style: 统一项目UI配色风格,替换深色主题为浅色系主题 4 weeks ago
dist.tar 提交项目 4 months ago
index.html feat: improve loading and student import 4 months ago
package.json 提交项目 4 months ago
score-index-full.png.jpg feat(teacher-end): 实现教师端亮色主题适配 4 weeks ago
score-index-viewport.png.jpg feat(teacher-end): 实现教师端亮色主题适配 4 weeks ago
vite.config.js fix: 学生端实训体验与一致性批量修复 1 week ago
按钮位置统一调整执行文档.md merge: 合并dev-QQq按钮位置统一调整(工具栏带页面函数绑定+考试分页)到master;解决重复工具栏与重复import,保留保存当前进度按钮与超管浅色主题 2 weeks ago

README.md

启动服务

yarn dev

构建测试环境 yarn build:stage

构建生产环境 yarn build:prod

前端访问地址 http://localhost:80