Compare commits

..
3 Commits
Author SHA1 Message Date
xuyueandClaude Opus 5.5 3fa897bec1 revert(流程图): 去掉「显示时自动认老参考图的框」——线上 36 张参考图已经全部转成结构树
Deploy / deploy (push) Canceled after 0s
c4306b0 是给手写 Mermaid 的老参考图兜底的;36 张已经在线上逐题转成画布格式(自动转 19 张、
照原图手工画 10 张,重复的比赛题 7 张),回读核对过其余字段没变,线上不再有没标种类的图。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 22:27:46 +08:00
xuyueandClaude Opus 5.5 e91f7cabc4 style(题目): 「你画的流程图」缩略图从 150px 加高到 260px,框里的字看得清
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 22:18:28 +08:00
xuyueandClaude Opus 5.5 c4306b092d fix(流程图): 老师给的参考流程图是一堆彩色方框,和学生画的标准符号对不上
题面里的 36 张参考图都是 2026-10 之前手写的 Mermaid,一个框的种类都没标,只能按字分彩色。
显示前按写法和字认框(花括号是判断、开始结束是起止、以输入 / 输出 / 打印开头或写着
input( / print( 的是输入输出框,其余是处理框),换成标准形状和配色。数据不动;
学生的老提交都标了种类,不受影响。36 张全部渲染过,框数不变。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 22:18:28 +08:00
2 changed files with 4 additions and 7 deletions

No files matched your search

@@ -491,10 +491,6 @@ function goCode() {
padding: 8px;
}
.version-chart :deep(.flowchart-container.compact) {
height: 180px;
}
.score-line {
display: flex;
align-items: baseline;
@@ -55,15 +55,16 @@ watch(
.flowchart-container.compact {
min-height: 0;
height: 150px;
height: 260px;
align-items: center;
overflow: hidden;
}
/*
* 缩略图按高度缩:流程图一般是竖长的,按宽度铺满的话 150px 里只看得见开头两个框。
* 缩略图按高度缩:流程图一般是竖长的,按宽度铺满的话只看得见开头两个框。
* 原来 150px 高,整张图放进去框里的字只剩三四像素,加到 260。
* 要 !important:pele 在 <svg> 上写了内联的 max-width: 100%; height: auto,不压住的话图按原尺寸
* (比大小那张 581px 高)塞进 150px 的框里,只露出中间一截
* (比大小那张 581px 高)塞进缩略图的框里,只露出中间一截
*/
:deep(.flowchart-container.compact > svg) {
width: auto !important;