Files
probably-rendering-one-more…/apps/wiki/public/layout-reference/ref-05/index.html
T
codex-bot a8515e575a
wiki CI and deployment / verify-and-deploy (push) Successful in 16m40s
Replace approximate recipes with 27 source-matched component layouts
2026-10-26 16:02:03 +08:00

17 lines
8.5 KiB
HTML

<!doctype html>
<html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>ref-05 · 五圆出血与右侧竖排大字</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:112/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-05 / 五圆出血与右侧竖排大字</h1><div class="canvas" aria-label="按独立图层重建的原版面"><img class="base" src="/layout-reference/ref-05/background.png" alt="原图纸底与画框">
<img data-component="ref-05/T01" data-kind="text" src="/layout-reference/ref-05/T01.png" alt="蓝羽毛" style="left:64.28571428571429%;top:41.27906976744186%;width:25%;height:57.55813953488372%">
<img data-component="ref-05/T02" data-kind="text" src="/layout-reference/ref-05/T02.png" alt="版式设计 设计灵感" style="left:89.28571428571429%;top:41.86046511627907%;width:9.821428571428571%;height:52.32558139534884%">
<img data-component="ref-05/I01" data-kind="image" src="/layout-reference/ref-05/I01.png" alt="" style="left:0.8928571428571428%;top:2.9069767441860463%;width:39.285714285714285%;height:33.13953488372093%">
<img data-component="ref-05/I02" data-kind="image" src="/layout-reference/ref-05/I02.png" alt="" style="left:50%;top:0.5813953488372093%;width:48.214285714285715%;height:25.581395348837212%">
<img data-component="ref-05/I03" data-kind="image" src="/layout-reference/ref-05/I03.png" alt="" style="left:41.07142857142857%;top:25.581395348837212%;width:37.5%;height:24.418604651162788%">
<img data-component="ref-05/I04" data-kind="image" src="/layout-reference/ref-05/I04.png" alt="" style="left:2.6785714285714284%;top:42.44186046511628%;width:33.92857142857143%;height:21.511627906976745%">
<img data-component="ref-05/I05" data-kind="image" src="/layout-reference/ref-05/I05.png" alt="" style="left:0.8928571428571428%;top:69.18604651162791%;width:58.92857142857143%;height:29.069767441860467%">
<img data-component="ref-05/D01" data-kind="decoration" src="/layout-reference/ref-05/D01.png" alt="" style="left:41.964285714285715%;top:61.627906976744185%;width:21.428571428571427%;height:25%">
<img class="overlay" src="/layout-reference/ref-05/annotated.png" alt="构件标注"></div><p class="muted">原图第 1 行、第 6 列;112×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="I02"><td>I02</td><td>图片占位/色块 / 右上出血圆</td><td>—</td></tr><tr tabindex="0" data-key="I03"><td>I03</td><td>图片占位/色块 / 中部圆</td><td>—</td></tr><tr tabindex="0" data-key="I04"><td>I04</td><td>图片占位/色块 / 左中小圆</td><td>—</td></tr><tr tabindex="0" data-key="I05"><td>I05</td><td>图片占位/色块 / 左下出血圆</td><td>—</td></tr><tr tabindex="0" data-key="D01"><td>D01</td><td>装饰 / 中下竖线组</td><td>—</td></tr></tbody></table><p><a href="/layout-reference/ref-05/manifest.json">构件 JSON</a> · <a href="/layout-reference/ref-05/source.png">原裁片</a> · <a href="/layout-reference/ref-05/annotated.png">标注图</a> · <a href="/layout-reference/index.html">27 张索引</a></p><p class="muted">修改文字会产生字体差异;替换图片会改变视觉内容。严格原图对应模式保持原字形与原颜色。构件坐标、方向与所属版面固定。</p></aside></main><script>
const manifest={"id":"ref-05","name":"五圆出血与右侧竖排大字","source":{"url":"/layout-reference/source.png","sha256":"121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc","box":[617,45,112,172],"row":1,"column":6},"width":112,"height":172,"reference":"/layout-reference/ref-05/source.png","annotated":"/layout-reference/ref-05/annotated.png","background":"/layout-reference/ref-05/background.png","elements":[{"id":"T01","kind":"text","role":"右侧大标题","box":[72,71,28,99],"text":"蓝羽毛","direction":"vertical","reading":"verified","asset":"/layout-reference/ref-05/T01.png","pixels":1148,"underlay":"/layout-reference/ref-05/T01-underlay.png"},{"id":"T02","kind":"text","role":"右侧细标题","box":[100,72,11,90],"text":"版式设计 设计灵感","direction":"vertical","reading":"verified","asset":"/layout-reference/ref-05/T02.png","pixels":487,"underlay":"/layout-reference/ref-05/T02-underlay.png"},{"id":"I01","kind":"image","role":"左上出血圆","box":[1,5,44,57],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-05/I01.png","pixels":2144,"mask":"/layout-reference/ref-05/I01-mask.png"},{"id":"I02","kind":"image","role":"右上出血圆","box":[56,1,54,44],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-05/I02.png","pixels":2070,"mask":"/layout-reference/ref-05/I02-mask.png"},{"id":"I03","kind":"image","role":"中部圆","box":[46,44,42,42],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-05/I03.png","pixels":1302,"mask":"/layout-reference/ref-05/I03-mask.png"},{"id":"I04","kind":"image","role":"左中小圆","box":[3,73,38,37],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-05/I04.png","pixels":1107,"mask":"/layout-reference/ref-05/I04-mask.png"},{"id":"I05","kind":"image","role":"左下出血圆","box":[1,119,66,50],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-05/I05.png","pixels":2892,"mask":"/layout-reference/ref-05/I05-mask.png"},{"id":"D01","kind":"decoration","role":"中下竖线组","box":[47,106,24,43],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-05/D01.png","pixels":286}],"ocr":[],"verification":{"pixelIdentical":true,"pixels":19264,"unreadableText":0}};
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>