Replace approximate recipes with 27 source-matched component layouts
wiki CI and deployment / verify-and-deploy (push) Successful in 16m40s

This commit is contained in:
2026-10-26 16:02:03 +08:00
parent f81aed8ce8
commit a8515e575a
674 changed files with 18935 additions and 622 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 842 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

@@ -0,0 +1,16 @@
<!doctype html>
<html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>ref-24 · 斜排中文与倾斜装饰线框</title><style>body{margin:0;padding:20px;background:#e8e8e3;color:#222;font:15px/1.7 system-ui}main{display:grid;grid-template-columns:minmax(280px,560px) minmax(280px,1fr);gap:24px;max-width:1250px;margin:auto}.canvas{position:relative;isolation:isolate;aspect-ratio:113/172;background:#f4f3ee}.canvas img{position:absolute;display:block}.canvas .base{inset:0;width:100%;height:100%}.overlay{position:absolute;z-index:10;pointer-events:none;inset:0;width:100%;height:100%;display:none}label{display:inline-flex;gap:5px;margin-right:16px}button,a{color:#244f9d}table{width:100%;border-collapse:collapse}td,th{padding:7px;border-bottom:1px solid #bbb;text-align:left;font-size:13px}.muted{color:#666}#detail{padding:12px;background:#fff}tr{cursor:pointer}tr:focus,tr:hover{background:#fff}fieldset{border:1px solid #aaa;margin:0 0 16px}.canvas img[data-kind="text"]{z-index:3}.canvas img[data-kind="decoration"]{z-index:2}.canvas img[data-kind="image"]{z-index:1}@media(max-width:800px){main{display:block}.canvas{max-width:560px;margin:auto}aside{margin-top:24px}}</style></head><body><main><section><h1>ref-24 / 斜排中文与倾斜装饰线框</h1><div class="canvas" aria-label="按独立图层重建的原版面"><img class="base" src="/layout-reference/ref-24/background.png" alt="原图纸底与画框">
<img data-component="ref-24/T01" data-kind="text" src="/layout-reference/ref-24/T01.png" alt="蓝羽毛版式" style="left:2.6548672566371683%;top:0%;width:69.91150442477876%;height:18.023255813953487%">
<img data-component="ref-24/T02" data-kind="text" src="/layout-reference/ref-24/T02.png" alt="标题下方斜微字(未辨识原字形)" style="left:30.08849557522124%;top:15.69767441860465%;width:23.008849557522122%;height:5.813953488372093%">
<img data-component="ref-24/I01" data-kind="image" src="/layout-reference/ref-24/I01.png" alt="" style="left:18.58407079646018%;top:20.930232558139537%;width:60.17699115044248%;height:58.139534883720934%">
<img data-component="ref-24/D01" data-kind="decoration" src="/layout-reference/ref-24/D01.png" alt="" style="left:1.7699115044247788%;top:29.651162790697676%;width:12.389380530973451%;height:34.883720930232556%">
<img data-component="ref-24/D02" data-kind="decoration" src="/layout-reference/ref-24/D02.png" alt="" style="left:83.1858407079646%;top:8.720930232558139%;width:13.274336283185843%;height:69.18604651162791%">
<img data-component="ref-24/D03" data-kind="decoration" src="/layout-reference/ref-24/D03.png" alt="" style="left:11.504424778761061%;top:79.06976744186046%;width:50.442477876106196%;height:13.953488372093023%">
<img data-component="ref-24/D04" data-kind="decoration" src="/layout-reference/ref-24/D04.png" alt="" style="left:56.63716814159292%;top:86.62790697674419%;width:37.16814159292036%;height:13.372093023255813%">
<img data-component="ref-24/D05" data-kind="decoration" src="/layout-reference/ref-24/D05.png" alt="" style="left:0.8849557522123894%;top:97.67441860465115%;width:30.08849557522124%;height:1.744186046511628%">
<img class="overlay" src="/layout-reference/ref-24/annotated.png" alt="构件标注"></div><p class="muted">原图第 5 行、第 3 列;113×172 像素。显示为原始构件重组,无新生成图形。放大不增加细节。</p></section><aside><fieldset><legend>按类型检查</legend><label><input type="checkbox" data-toggle="text" checked>文字 T</label><label><input type="checkbox" data-toggle="image" checked>图片/色块 I</label><label><input type="checkbox" data-toggle="decoration" checked>装饰 D</label><label><input id="labels" type="checkbox">显示边界</label></fieldset><p id="detail">点击表格查看对应构件。蓝色 T 为文字、橙色 I 为图片占位/色块、绿色 D 为装饰;原图没有真实照片。</p><table><thead><tr><th>ID</th><th>分类与用途</th><th>文字内容</th></tr></thead><tbody><tr tabindex="0" data-key="T01"><td>T01</td><td>文字 / 上方斜排标题</td><td>蓝羽毛版式</td></tr><tr tabindex="0" data-key="T02"><td>T02</td><td>文字 / 标题下方斜微字</td><td>待核对,保留原字形</td></tr><tr tabindex="0" data-key="I01"><td>I01</td><td>图片占位/色块 / 中央竖向主图</td><td>—</td></tr><tr tabindex="0" data-key="D01"><td>D01</td><td>装饰 / 左侧斜长线</td><td>—</td></tr><tr tabindex="0" data-key="D02"><td>D02</td><td>装饰 / 右侧斜长线</td><td>—</td></tr><tr tabindex="0" data-key="D03"><td>D03</td><td>装饰 / 左下斜向线组</td><td>—</td></tr><tr tabindex="0" data-key="D04"><td>D04</td><td>装饰 / 右下斜贴条组</td><td>—</td></tr><tr tabindex="0" data-key="D05"><td>D05</td><td>装饰 / 底边线</td><td>—</td></tr></tbody></table><p><a href="/layout-reference/ref-24/manifest.json">构件 JSON</a> · <a href="/layout-reference/ref-24/source.png">原裁片</a> · <a href="/layout-reference/ref-24/annotated.png">标注图</a> · <a href="/layout-reference/index.html">27 张索引</a></p><p class="muted">修改文字会产生字体差异;替换图片会改变视觉内容。严格原图对应模式保持原字形与原颜色。构件坐标、方向与所属版面固定。</p></aside></main><script>
const manifest={"id":"ref-24","name":"斜排中文与倾斜装饰线框","source":{"url":"/layout-reference/source.png","sha256":"121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc","box":[256,775,113,172],"row":5,"column":3},"width":113,"height":172,"reference":"/layout-reference/ref-24/source.png","annotated":"/layout-reference/ref-24/annotated.png","background":"/layout-reference/ref-24/background.png","elements":[{"id":"T01","kind":"text","role":"上方斜排标题","box":[3,0,79,31],"text":"蓝羽毛版式","direction":"angled","reading":"verified","asset":"/layout-reference/ref-24/T01.png","pixels":725,"underlay":"/layout-reference/ref-24/T01-underlay.png"},{"id":"T02","kind":"text","role":"标题下方斜微字","box":[34,27,26,10],"text":null,"direction":"angled","reading":"unreadable","asset":"/layout-reference/ref-24/T02.png","pixels":91,"underlay":"/layout-reference/ref-24/T02-underlay.png"},{"id":"I01","kind":"image","role":"中央竖向主图","box":[21,36,68,100],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-24/I01.png","pixels":6799,"mask":"/layout-reference/ref-24/I01-mask.png"},{"id":"D01","kind":"decoration","role":"左侧斜长线","box":[2,51,14,60],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-24/D01.png","pixels":190},{"id":"D02","kind":"decoration","role":"右侧斜长线","box":[94,15,15,119],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-24/D02.png","pixels":624},{"id":"D03","kind":"decoration","role":"左下斜向线组","box":[13,136,57,24],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-24/D03.png","pixels":750},{"id":"D04","kind":"decoration","role":"右下斜贴条组","box":[64,149,42,23],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-24/D04.png","pixels":438},{"id":"D05","kind":"decoration","role":"底边线","box":[1,168,34,3],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-24/D05.png","pixels":68}],"ocr":[{"box":[0.02748666679407777,0.00811422680517071,0.6144820131735113,0.19655708194703103],"confidence":1,"text":"蓝羽毛版式"}],"verification":{"pixelIdentical":true,"pixels":19436,"unreadableText":1}};
for(const input of document.querySelectorAll('[data-toggle]'))input.addEventListener('change',()=>{for(const el of document.querySelectorAll('[data-kind="'+input.dataset.toggle+'"]'))el.style.visibility=input.checked?'visible':'hidden'});
document.getElementById('labels').addEventListener('change',event=>{document.querySelector('.overlay').style.display=event.target.checked?'block':'none'});
for(const row of document.querySelectorAll('[data-key]')){const select=()=>{const e=manifest.elements.find(e=>e.id===row.dataset.key);for(const el of document.querySelectorAll('[data-component]'))el.style.outline=el.dataset.component.endsWith('/'+e.id)?'2px solid #ed4433':'';document.getElementById('detail').textContent=manifest.id+'/'+e.id+' · '+e.kind+' · '+e.role+' · bbox ['+e.box.join(', ')+']'+(e.kind==='text'?' · '+(e.text||'内容未辨识,保留原字形'):'')};row.addEventListener('click',select);row.addEventListener('keydown',event=>{if(event.key==='Enter'||event.key===' '){event.preventDefault();select()}})}
</script></body></html>
@@ -0,0 +1,171 @@
{
"id": "ref-24",
"name": "斜排中文与倾斜装饰线框",
"source": {
"url": "/layout-reference/source.png",
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
"box": [
256,
775,
113,
172
],
"row": 5,
"column": 3
},
"width": 113,
"height": 172,
"reference": "/layout-reference/ref-24/source.png",
"annotated": "/layout-reference/ref-24/annotated.png",
"background": "/layout-reference/ref-24/background.png",
"elements": [
{
"id": "T01",
"kind": "text",
"role": "上方斜排标题",
"box": [
3,
0,
79,
31
],
"text": "蓝羽毛版式",
"direction": "angled",
"reading": "verified",
"asset": "/layout-reference/ref-24/T01.png",
"pixels": 725,
"underlay": "/layout-reference/ref-24/T01-underlay.png"
},
{
"id": "T02",
"kind": "text",
"role": "标题下方斜微字",
"box": [
34,
27,
26,
10
],
"text": null,
"direction": "angled",
"reading": "unreadable",
"asset": "/layout-reference/ref-24/T02.png",
"pixels": 91,
"underlay": "/layout-reference/ref-24/T02-underlay.png"
},
{
"id": "I01",
"kind": "image",
"role": "中央竖向主图",
"box": [
21,
36,
68,
100
],
"text": null,
"direction": "horizontal",
"reading": "not-text",
"asset": "/layout-reference/ref-24/I01.png",
"pixels": 6799,
"mask": "/layout-reference/ref-24/I01-mask.png"
},
{
"id": "D01",
"kind": "decoration",
"role": "左侧斜长线",
"box": [
2,
51,
14,
60
],
"text": null,
"direction": "horizontal",
"reading": "not-text",
"asset": "/layout-reference/ref-24/D01.png",
"pixels": 190
},
{
"id": "D02",
"kind": "decoration",
"role": "右侧斜长线",
"box": [
94,
15,
15,
119
],
"text": null,
"direction": "horizontal",
"reading": "not-text",
"asset": "/layout-reference/ref-24/D02.png",
"pixels": 624
},
{
"id": "D03",
"kind": "decoration",
"role": "左下斜向线组",
"box": [
13,
136,
57,
24
],
"text": null,
"direction": "horizontal",
"reading": "not-text",
"asset": "/layout-reference/ref-24/D03.png",
"pixels": 750
},
{
"id": "D04",
"kind": "decoration",
"role": "右下斜贴条组",
"box": [
64,
149,
42,
23
],
"text": null,
"direction": "horizontal",
"reading": "not-text",
"asset": "/layout-reference/ref-24/D04.png",
"pixels": 438
},
{
"id": "D05",
"kind": "decoration",
"role": "底边线",
"box": [
1,
168,
34,
3
],
"text": null,
"direction": "horizontal",
"reading": "not-text",
"asset": "/layout-reference/ref-24/D05.png",
"pixels": 68
}
],
"ocr": [
{
"box": [
0.02748666679407777,
0.00811422680517071,
0.6144820131735113,
0.19655708194703103
],
"confidence": 1,
"text": "蓝羽毛版式"
}
],
"verification": {
"pixelIdentical": true,
"pixels": 19436,
"unreadableText": 1
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB