Publish reference layouts as API-authored text and image notes
wiki CI and deployment / verify-and-deploy (push) Successful in 16m28s
@@ -0,0 +1,5 @@
|
||||
BEGIN;
|
||||
-- API-authored notes may retain a legacy 24-character public ID without code registration.
|
||||
ALTER TABLE posts ADD COLUMN public_id text UNIQUE CHECK(public_id ~ '^[0-9a-f]{24}$');
|
||||
INSERT INTO schema_migrations(version) VALUES('006_post_public_ids');
|
||||
COMMIT;
|
||||
@@ -10,7 +10,7 @@
|
||||
"build": "next build && esbuild src/worker.ts --bundle --platform=node --format=cjs --external:pg-native --external:playwright-core --outfile=dist/worker.cjs && esbuild scripts/bootstrap.ts --bundle --platform=node --format=cjs --external:pg-native --external:playwright-core --outfile=dist/bootstrap.cjs && esbuild scripts/publish-learning-series.ts --bundle --platform=node --format=cjs --external:pg-native --external:playwright-core --outfile=dist/publish-learning-series.cjs && node scripts/prepare-standalone.mjs",
|
||||
"start": "next start",
|
||||
"typecheck": "next typegen && tsc --noEmit",
|
||||
"test": "tsx --test tests/api-documentation.test.ts tests/health.test.ts tests/model.test.ts tests/learning-series.test.ts tests/skill-docs.test.ts tests/wiki.test.ts tests/explore.test.ts tests/preview.test.ts tests/note-markdown.test.tsx tests/layout-reference.test.tsx",
|
||||
"test": "tsx --test tests/api-documentation.test.ts tests/health.test.ts tests/model.test.ts tests/learning-series.test.ts tests/skill-docs.test.ts tests/wiki.test.ts tests/explore.test.ts tests/preview.test.ts tests/note-markdown.test.tsx tests/api-publication.test.ts",
|
||||
"test:smoke": "node scripts/smoke.mjs",
|
||||
"storage:prepare": "tsx scripts/bootstrap.ts",
|
||||
"content:publish-learning": "tsx scripts/publish-learning-series.ts",
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
import React from 'react';
|
||||
import type {CSSProperties} from 'react';
|
||||
import layouts from './manifest.json';
|
||||
export const layoutIds = ['ref-01','ref-02','ref-03','ref-04','ref-05','ref-06','ref-07','ref-08','ref-09','ref-10','ref-11','ref-12','ref-13','ref-14','ref-15','ref-16','ref-17','ref-18','ref-19','ref-20','ref-21','ref-22','ref-23','ref-24','ref-25','ref-26','ref-27'] as const;
|
||||
export type LayoutId=typeof layoutIds[number];
|
||||
export type Replacements={text?:Record<string,string>;images?:Record<string,string>};
|
||||
export function getLayout(id:string){return layouts.find(layout=>layout.id===id)}
|
||||
export function validateReplacements(id:string,replacements:Replacements){
|
||||
const layout=getLayout(id);if(!layout)throw Error(`Unknown layout ID: ${id}`);
|
||||
for(const[kind,values]of [['text',replacements.text],['image',replacements.images]] as const)for(const key of Object.keys(values||{})){
|
||||
if(!layout.elements.some(e=>key===id+'/'+e.id&&e.kind===kind))throw Error(`Component does not belong to ${id} or has the wrong kind: ${key}`);
|
||||
}return layout;
|
||||
}
|
||||
function textStyle(text:string,box:number[],width:number,direction:string):CSSProperties{
|
||||
const vertical=direction==='vertical'||direction==='rotated',lines=text.split('\n'),units=Math.max(...lines.map(line=>Array.from(line).reduce((n,c)=>n+(/[\u3400-\u9fff]/.test(c)?1:.56),0)),1);
|
||||
const size=vertical?Math.min(box[2],box[3]/Math.max(text.length,1)):Math.min(box[3]/(lines.length*1.1),box[2]/units);
|
||||
return {fontSize:`${size/width*100}cqw`,lineHeight:1.1,whiteSpace:'pre-wrap',writingMode:vertical?'vertical-rl':undefined,textOrientation:direction==='rotated'?'sideways':undefined,transform:direction==='angled'?'rotate(-12deg)':undefined,transformOrigin:'left center',color:'#222',fontFamily:'"Songti SC", "Noto Serif CJK SC", serif'};
|
||||
}
|
||||
/** Untouched mode reconstructs typed source layers; replacement mode keeps the exact preset geometry. */
|
||||
export default function ReferenceLayout({id,text={},images={},assetBase=''}:{id:LayoutId;text?:Record<string,string>;images?:Record<string,string>;assetBase?:string}){
|
||||
const layout=validateReplacements(id,{text,images}),src=(url:string)=>assetBase+url;
|
||||
return <figure data-layout-id={id} aria-label={`${id} ${layout.name}`} style={{margin:0,width:'min(100%, 672px)',containerType:'inline-size'}}>
|
||||
<div style={{position:'relative',width:'100%',aspectRatio:`${layout.width}/${layout.height}`,isolation:'isolate',background:'#f4f3ee'}}>
|
||||
<img src={src(layout.background)} alt="" width={layout.width} height={layout.height} style={{position:'absolute',inset:0,width:'100%',height:'100%'}}/>
|
||||
{layout.elements.map(e=>{
|
||||
const[x,y,w,h]=e.box,key=id+'/'+e.id,position:CSSProperties={position:'absolute',left:x/layout.width*100+'%',top:y/layout.height*100+'%',width:w/layout.width*100+'%',height:h/layout.height*100+'%',zIndex:e.kind==='text'?3:e.kind==='decoration'?2:1};
|
||||
if(e.kind==='text'&&Object.hasOwn(text,key)){
|
||||
if(e.direction==='curved')throw Error(`Curved text requires the source-specific SVG path: ${key}`);
|
||||
return <React.Fragment key={key}>
|
||||
{'underlay' in e&&<img src={src(String(e.underlay))} alt="" style={position}/>}
|
||||
<span data-component={key} data-kind="text" style={{...position,...textStyle(text[key],e.box,layout.width,e.direction)}}>{text[key]}</span>
|
||||
</React.Fragment>;
|
||||
}
|
||||
if(e.kind==='image'&&Object.hasOwn(images,key))return <img key={key} data-component={key} data-kind="image" src={images[key]} alt={e.role} style={{...position,objectFit:'cover',maskImage:'mask' in e?`url("${src(String(e.mask))}")`:undefined,maskSize:'100% 100%'}}/>;
|
||||
return <img key={key} data-component={key} data-kind={e.kind} src={src(e.asset)} alt={e.kind==='text'?e.text||`${e.role}:原字形保真,内容未辨识`:''} width={w} height={h} style={position}/>;
|
||||
})}
|
||||
</div>
|
||||
</figure>;
|
||||
}
|
||||
@@ -1,466 +0,0 @@
|
||||
{
|
||||
"version": 2,
|
||||
"sourceSha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"numbering": "row-major; exclude left title banner",
|
||||
"layouts": [
|
||||
{
|
||||
"id": "ref-01",
|
||||
"name": "双矩形错位与左下说明",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
135,
|
||||
46,
|
||||
113,
|
||||
171
|
||||
],
|
||||
"row": 1,
|
||||
"column": 2
|
||||
},
|
||||
"manifest": "/layout-reference/ref-01/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-02",
|
||||
"name": "四格图片列与双列竖题",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
256,
|
||||
46,
|
||||
112,
|
||||
171
|
||||
],
|
||||
"row": 1,
|
||||
"column": 3
|
||||
},
|
||||
"manifest": "/layout-reference/ref-02/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-03",
|
||||
"name": "左上标题与右下错位图",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
376,
|
||||
46,
|
||||
114,
|
||||
173
|
||||
],
|
||||
"row": 1,
|
||||
"column": 4
|
||||
},
|
||||
"manifest": "/layout-reference/ref-03/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-04",
|
||||
"name": "满版灰底椭圆与右侧白字",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
497,
|
||||
45,
|
||||
113,
|
||||
173
|
||||
],
|
||||
"row": 1,
|
||||
"column": 5
|
||||
},
|
||||
"manifest": "/layout-reference/ref-04/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-05",
|
||||
"name": "五圆出血与右侧竖排大字",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
617,
|
||||
45,
|
||||
112,
|
||||
172
|
||||
],
|
||||
"row": 1,
|
||||
"column": 6
|
||||
},
|
||||
"manifest": "/layout-reference/ref-05/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-06",
|
||||
"name": "满高左图与右侧窄栏",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
134,
|
||||
228,
|
||||
114,
|
||||
172
|
||||
],
|
||||
"row": 2,
|
||||
"column": 2
|
||||
},
|
||||
"manifest": "/layout-reference/ref-06/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-07",
|
||||
"name": "同心圆图位与底部年份",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
256,
|
||||
228,
|
||||
112,
|
||||
172
|
||||
],
|
||||
"row": 2,
|
||||
"column": 3
|
||||
},
|
||||
"manifest": "/layout-reference/ref-07/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-08",
|
||||
"name": "双层满宽图与字距横栏",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
376,
|
||||
227,
|
||||
113,
|
||||
173
|
||||
],
|
||||
"row": 2,
|
||||
"column": 4
|
||||
},
|
||||
"manifest": "/layout-reference/ref-08/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-09",
|
||||
"name": "左侧分字标题与右侧长图",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
497,
|
||||
227,
|
||||
113,
|
||||
173
|
||||
],
|
||||
"row": 2,
|
||||
"column": 5
|
||||
},
|
||||
"manifest": "/layout-reference/ref-09/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-10",
|
||||
"name": "半页深底与裁切英文 blue",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
616,
|
||||
227,
|
||||
113,
|
||||
173
|
||||
],
|
||||
"row": 2,
|
||||
"column": 6
|
||||
},
|
||||
"manifest": "/layout-reference/ref-10/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-11",
|
||||
"name": "左上双行标题与右下主图",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
135,
|
||||
410,
|
||||
114,
|
||||
173
|
||||
],
|
||||
"row": 3,
|
||||
"column": 2
|
||||
},
|
||||
"manifest": "/layout-reference/ref-11/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-12",
|
||||
"name": "三图模块与左侧分散字框",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
256,
|
||||
409,
|
||||
112,
|
||||
173
|
||||
],
|
||||
"row": 3,
|
||||
"column": 3
|
||||
},
|
||||
"manifest": "/layout-reference/ref-12/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-13",
|
||||
"name": "横题与右侧出血扁椭圆",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
376,
|
||||
410,
|
||||
114,
|
||||
173
|
||||
],
|
||||
"row": 3,
|
||||
"column": 4
|
||||
},
|
||||
"manifest": "/layout-reference/ref-13/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-14",
|
||||
"name": "大矩形与小方图及居中横题",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
497,
|
||||
409,
|
||||
113,
|
||||
174
|
||||
],
|
||||
"row": 3,
|
||||
"column": 5
|
||||
},
|
||||
"manifest": "/layout-reference/ref-14/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-15",
|
||||
"name": "英文双行刊头与四分之一圆图",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
617,
|
||||
409,
|
||||
112,
|
||||
173
|
||||
],
|
||||
"row": 3,
|
||||
"column": 6
|
||||
},
|
||||
"manifest": "/layout-reference/ref-15/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-16",
|
||||
"name": "上下灰阶色带与底部白区",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
15,
|
||||
592,
|
||||
113,
|
||||
173
|
||||
],
|
||||
"row": 4,
|
||||
"column": 1
|
||||
},
|
||||
"manifest": "/layout-reference/ref-16/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-17",
|
||||
"name": "英文刊头与圆形叠标及窄栏",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
135,
|
||||
591,
|
||||
113,
|
||||
174
|
||||
],
|
||||
"row": 4,
|
||||
"column": 2
|
||||
},
|
||||
"manifest": "/layout-reference/ref-17/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-18",
|
||||
"name": "上大图与下方英文双行",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
256,
|
||||
591,
|
||||
113,
|
||||
174
|
||||
],
|
||||
"row": 4,
|
||||
"column": 3
|
||||
},
|
||||
"manifest": "/layout-reference/ref-18/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-19",
|
||||
"name": "四角大字与中央双圆竖题",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
376,
|
||||
593,
|
||||
113,
|
||||
171
|
||||
],
|
||||
"row": 4,
|
||||
"column": 4
|
||||
},
|
||||
"manifest": "/layout-reference/ref-19/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-20",
|
||||
"name": "右上大弧面与左下圆形标题",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
496,
|
||||
592,
|
||||
114,
|
||||
173
|
||||
],
|
||||
"row": 4,
|
||||
"column": 5
|
||||
},
|
||||
"manifest": "/layout-reference/ref-20/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-21",
|
||||
"name": "右侧旋转英文与节点方图",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
616,
|
||||
592,
|
||||
114,
|
||||
173
|
||||
],
|
||||
"row": 4,
|
||||
"column": 6
|
||||
},
|
||||
"manifest": "/layout-reference/ref-21/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-22",
|
||||
"name": "三段斜切背景与右侧白字",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
15,
|
||||
774,
|
||||
113,
|
||||
173
|
||||
],
|
||||
"row": 5,
|
||||
"column": 1
|
||||
},
|
||||
"manifest": "/layout-reference/ref-22/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-23",
|
||||
"name": "上方方图与中部大写英文",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
134,
|
||||
775,
|
||||
114,
|
||||
172
|
||||
],
|
||||
"row": 5,
|
||||
"column": 2
|
||||
},
|
||||
"manifest": "/layout-reference/ref-23/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-24",
|
||||
"name": "斜排中文与倾斜装饰线框",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
256,
|
||||
775,
|
||||
113,
|
||||
172
|
||||
],
|
||||
"row": 5,
|
||||
"column": 3
|
||||
},
|
||||
"manifest": "/layout-reference/ref-24/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-25",
|
||||
"name": "左侧竖题与右下方形主图",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
376,
|
||||
774,
|
||||
113,
|
||||
173
|
||||
],
|
||||
"row": 5,
|
||||
"column": 4
|
||||
},
|
||||
"manifest": "/layout-reference/ref-25/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-26",
|
||||
"name": "三行英文与曲线指引小图",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
496,
|
||||
774,
|
||||
114,
|
||||
173
|
||||
],
|
||||
"row": 5,
|
||||
"column": 5
|
||||
},
|
||||
"manifest": "/layout-reference/ref-26/manifest.json"
|
||||
},
|
||||
{
|
||||
"id": "ref-27",
|
||||
"name": "对角双区与斜向文字带",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
618,
|
||||
774,
|
||||
112,
|
||||
172
|
||||
],
|
||||
"row": 5,
|
||||
"column": 6
|
||||
},
|
||||
"manifest": "/layout-reference/ref-27/manifest.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 468 KiB |
|
Before Width: | Height: | Size: 182 B |
|
Before Width: | Height: | Size: 282 B |
|
Before Width: | Height: | Size: 322 B |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 234 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 759 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 917 B |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 14 KiB |
@@ -1,14 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>ref-01 · 双矩形错位与左下说明</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/171;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-01 / 双矩形错位与左下说明</h1><div class="canvas" aria-label="按独立图层重建的原版面"><img class="base" src="/layout-reference/ref-01/background.png" alt="原图纸底与画框">
|
||||
<img data-component="ref-01/T01" data-kind="text" src="/layout-reference/ref-01/T01.png" alt="BULUBLUE" style="left:7.079646017699115%;top:11.695906432748536%;width:31.858407079646017%;height:8.771929824561402%">
|
||||
<img data-component="ref-01/T02" data-kind="text" src="/layout-reference/ref-01/T02.png" alt="左下说明(未辨识原字形)" style="left:6.1946902654867255%;top:70.76023391812866%;width:38.93805309734513%;height:19.883040935672515%">
|
||||
<img data-component="ref-01/I01" data-kind="image" src="/layout-reference/ref-01/I01.png" alt="" style="left:21.238938053097346%;top:8.187134502923977%;width:68.14159292035397%;height:41.52046783625731%">
|
||||
<img data-component="ref-01/I02" data-kind="image" src="/layout-reference/ref-01/I02.png" alt="" style="left:37.16814159292036%;top:52.046783625730995%;width:52.21238938053098%;height:40.93567251461988%">
|
||||
<img data-component="ref-01/D01" data-kind="decoration" src="/layout-reference/ref-01/D01.png" alt="" style="left:36.283185840707965%;top:2.3391812865497075%;width:25.663716814159294%;height:1.7543859649122806%">
|
||||
<img data-component="ref-01/D02" data-kind="decoration" src="/layout-reference/ref-01/D02.png" alt="" style="left:25.663716814159294%;top:92.39766081871345%;width:51.32743362831859%;height:4.678362573099415%">
|
||||
<img class="overlay" src="/layout-reference/ref-01/annotated.png" alt="构件标注"></div><p class="muted">原图第 1 行、第 2 列;113×171 像素。显示为原始构件重组,无新生成图形。放大不增加细节。</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>BULUBLUE</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="D01"><td>D01</td><td>装饰 / 顶部短线</td><td>—</td></tr><tr tabindex="0" data-key="D02"><td>D02</td><td>装饰 / 底部横线</td><td>—</td></tr></tbody></table><p><a href="/layout-reference/ref-01/manifest.json">构件 JSON</a> · <a href="/layout-reference/ref-01/source.png">原裁片</a> · <a href="/layout-reference/ref-01/annotated.png">标注图</a> · <a href="/layout-reference/index.html">27 张索引</a></p><p class="muted">修改文字会产生字体差异;替换图片会改变视觉内容。严格原图对应模式保持原字形与原颜色。构件坐标、方向与所属版面固定。</p></aside></main><script>
|
||||
const manifest={"id":"ref-01","name":"双矩形错位与左下说明","source":{"url":"/layout-reference/source.png","sha256":"121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc","box":[135,46,113,171],"row":1,"column":2},"width":113,"height":171,"reference":"/layout-reference/ref-01/source.png","annotated":"/layout-reference/ref-01/annotated.png","background":"/layout-reference/ref-01/background.png","elements":[{"id":"T01","kind":"text","role":"品牌字标","box":[8,20,36,15],"text":"BULUBLUE","direction":"horizontal","reading":"verified","asset":"/layout-reference/ref-01/T01.png","pixels":274,"underlay":"/layout-reference/ref-01/T01-underlay.png"},{"id":"T02","kind":"text","role":"左下说明","box":[7,121,44,34],"text":null,"direction":"horizontal","reading":"unreadable","asset":"/layout-reference/ref-01/T02.png","pixels":468,"underlay":"/layout-reference/ref-01/T02-underlay.png"},{"id":"I01","kind":"image","role":"上方主图","box":[24,14,77,71],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-01/I01.png","pixels":5259,"mask":"/layout-reference/ref-01/I01-mask.png"},{"id":"I02","kind":"image","role":"下方副图","box":[42,89,59,70],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-01/I02.png","pixels":4097,"mask":"/layout-reference/ref-01/I02-mask.png"},{"id":"D01","kind":"decoration","role":"顶部短线","box":[41,4,29,3],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-01/D01.png","pixels":55},{"id":"D02","kind":"decoration","role":"底部横线","box":[29,158,58,8],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-01/D02.png","pixels":167}],"ocr":[{"box":[0.07374631491782553,0.12865497059314956,0.31268436578171094,0.06237816764132553],"confidence":0.5,"text":"BULUBLUE"}],"verification":{"pixelIdentical":true,"pixels":19323,"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>
|
||||
@@ -1,140 +0,0 @@
|
||||
{
|
||||
"id": "ref-01",
|
||||
"name": "双矩形错位与左下说明",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
135,
|
||||
46,
|
||||
113,
|
||||
171
|
||||
],
|
||||
"row": 1,
|
||||
"column": 2
|
||||
},
|
||||
"width": 113,
|
||||
"height": 171,
|
||||
"reference": "/layout-reference/ref-01/source.png",
|
||||
"annotated": "/layout-reference/ref-01/annotated.png",
|
||||
"background": "/layout-reference/ref-01/background.png",
|
||||
"elements": [
|
||||
{
|
||||
"id": "T01",
|
||||
"kind": "text",
|
||||
"role": "品牌字标",
|
||||
"box": [
|
||||
8,
|
||||
20,
|
||||
36,
|
||||
15
|
||||
],
|
||||
"text": "BULUBLUE",
|
||||
"direction": "horizontal",
|
||||
"reading": "verified",
|
||||
"asset": "/layout-reference/ref-01/T01.png",
|
||||
"pixels": 274,
|
||||
"underlay": "/layout-reference/ref-01/T01-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "T02",
|
||||
"kind": "text",
|
||||
"role": "左下说明",
|
||||
"box": [
|
||||
7,
|
||||
121,
|
||||
44,
|
||||
34
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "unreadable",
|
||||
"asset": "/layout-reference/ref-01/T02.png",
|
||||
"pixels": 468,
|
||||
"underlay": "/layout-reference/ref-01/T02-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "I01",
|
||||
"kind": "image",
|
||||
"role": "上方主图",
|
||||
"box": [
|
||||
24,
|
||||
14,
|
||||
77,
|
||||
71
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-01/I01.png",
|
||||
"pixels": 5259,
|
||||
"mask": "/layout-reference/ref-01/I01-mask.png"
|
||||
},
|
||||
{
|
||||
"id": "I02",
|
||||
"kind": "image",
|
||||
"role": "下方副图",
|
||||
"box": [
|
||||
42,
|
||||
89,
|
||||
59,
|
||||
70
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-01/I02.png",
|
||||
"pixels": 4097,
|
||||
"mask": "/layout-reference/ref-01/I02-mask.png"
|
||||
},
|
||||
{
|
||||
"id": "D01",
|
||||
"kind": "decoration",
|
||||
"role": "顶部短线",
|
||||
"box": [
|
||||
41,
|
||||
4,
|
||||
29,
|
||||
3
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-01/D01.png",
|
||||
"pixels": 55
|
||||
},
|
||||
{
|
||||
"id": "D02",
|
||||
"kind": "decoration",
|
||||
"role": "底部横线",
|
||||
"box": [
|
||||
29,
|
||||
158,
|
||||
58,
|
||||
8
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-01/D02.png",
|
||||
"pixels": 167
|
||||
}
|
||||
],
|
||||
"ocr": [
|
||||
{
|
||||
"box": [
|
||||
0.07374631491782553,
|
||||
0.12865497059314956,
|
||||
0.31268436578171094,
|
||||
0.06237816764132553
|
||||
],
|
||||
"confidence": 0.5,
|
||||
"text": "BULUBLUE"
|
||||
}
|
||||
],
|
||||
"verification": {
|
||||
"pixelIdentical": true,
|
||||
"pixels": 19323,
|
||||
"unreadableText": 1
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 238 B |
|
Before Width: | Height: | Size: 775 B |
|
Before Width: | Height: | Size: 151 B |
|
Before Width: | Height: | Size: 835 B |
|
Before Width: | Height: | Size: 170 B |
|
Before Width: | Height: | Size: 893 B |
|
Before Width: | Height: | Size: 191 B |
|
Before Width: | Height: | Size: 900 B |
|
Before Width: | Height: | Size: 147 B |
|
Before Width: | Height: | Size: 766 B |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 187 B |
|
Before Width: | Height: | Size: 183 B |
|
Before Width: | Height: | Size: 262 B |
|
Before Width: | Height: | Size: 249 B |
|
Before Width: | Height: | Size: 185 B |
|
Before Width: | Height: | Size: 193 B |
|
Before Width: | Height: | Size: 570 B |
|
Before Width: | Height: | Size: 842 B |
|
Before Width: | Height: | Size: 864 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 11 KiB |
@@ -1,21 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>ref-02 · 四格图片列与双列竖题</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/171;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-02 / 四格图片列与双列竖题</h1><div class="canvas" aria-label="按独立图层重建的原版面"><img class="base" src="/layout-reference/ref-02/background.png" alt="原图纸底与画框">
|
||||
<img data-component="ref-02/T01" data-kind="text" src="/layout-reference/ref-02/T01.png" alt="蓝羽毛版式设计系列" style="left:81.25%;top:0%;width:17.857142857142858%;height:73.68421052631578%">
|
||||
<img data-component="ref-02/T02" data-kind="text" src="/layout-reference/ref-02/T02.png" alt="版式灵感收藏" style="left:62.5%;top:0%;width:16.964285714285715%;height:49.122807017543856%">
|
||||
<img data-component="ref-02/T03" data-kind="text" src="/layout-reference/ref-02/T03.png" alt="图片一图注(未辨识原字形)" style="left:0%;top:19.883040935672515%;width:17.857142857142858%;height:2.3391812865497075%">
|
||||
<img data-component="ref-02/T04" data-kind="text" src="/layout-reference/ref-02/T04.png" alt="图片二图注(未辨识原字形)" style="left:0%;top:41.52046783625731%;width:25.892857142857146%;height:2.3391812865497075%">
|
||||
<img data-component="ref-02/T05" data-kind="text" src="/layout-reference/ref-02/T05.png" alt="图片三图注(未辨识原字形)" style="left:1.7857142857142856%;top:77.19298245614034%;width:33.035714285714285%;height:1.7543859649122806%">
|
||||
<img data-component="ref-02/T06" data-kind="text" src="/layout-reference/ref-02/T06.png" alt="右下说明(未辨识原字形)" style="left:44.642857142857146%;top:47.368421052631575%;width:28.57142857142857%;height:33.33333333333333%">
|
||||
<img data-component="ref-02/T07" data-kind="text" src="/layout-reference/ref-02/T07.png" alt="右下品牌与说明(未辨识原字形)" style="left:45.535714285714285%;top:83.62573099415205%;width:45.535714285714285%;height:8.187134502923977%">
|
||||
<img data-component="ref-02/I01" data-kind="image" src="/layout-reference/ref-02/I01.png" alt="" style="left:3.571428571428571%;top:1.7543859649122806%;width:35.714285714285715%;height:17.543859649122805%">
|
||||
<img data-component="ref-02/I02" data-kind="image" src="/layout-reference/ref-02/I02.png" alt="" style="left:1.7857142857142856%;top:22.22222222222222%;width:39.285714285714285%;height:19.298245614035086%">
|
||||
<img data-component="ref-02/I03" data-kind="image" src="/layout-reference/ref-02/I03.png" alt="" style="left:1.7857142857142856%;top:43.27485380116959%;width:39.285714285714285%;height:32.748538011695906%">
|
||||
<img data-component="ref-02/I04" data-kind="image" src="/layout-reference/ref-02/I04.png" alt="" style="left:1.7857142857142856%;top:78.94736842105263%;width:39.285714285714285%;height:16.95906432748538%">
|
||||
<img data-component="ref-02/D01" data-kind="decoration" src="/layout-reference/ref-02/D01.png" alt="" style="left:58.03571428571429%;top:1.1695906432748537%;width:1.7857142857142856%;height:42.10526315789473%">
|
||||
<img data-component="ref-02/D02" data-kind="decoration" src="/layout-reference/ref-02/D02.png" alt="" style="left:44.642857142857146%;top:92.39766081871345%;width:50.89285714285714%;height:7.017543859649122%">
|
||||
<img class="overlay" src="/layout-reference/ref-02/annotated.png" alt="构件标注"></div><p class="muted">原图第 1 行、第 3 列;112×171 像素。显示为原始构件重组,无新生成图形。放大不增加细节。</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="T03"><td>T03</td><td>文字 / 图片一图注</td><td>待核对,保留原字形</td></tr><tr tabindex="0" data-key="T04"><td>T04</td><td>文字 / 图片二图注</td><td>待核对,保留原字形</td></tr><tr tabindex="0" data-key="T05"><td>T05</td><td>文字 / 图片三图注</td><td>待核对,保留原字形</td></tr><tr tabindex="0" data-key="T06"><td>T06</td><td>文字 / 右下说明</td><td>待核对,保留原字形</td></tr><tr tabindex="0" data-key="T07"><td>T07</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="D01"><td>D01</td><td>装饰 / 分栏细线</td><td>—</td></tr><tr tabindex="0" data-key="D02"><td>D02</td><td>装饰 / 右下横线组</td><td>—</td></tr></tbody></table><p><a href="/layout-reference/ref-02/manifest.json">构件 JSON</a> · <a href="/layout-reference/ref-02/source.png">原裁片</a> · <a href="/layout-reference/ref-02/annotated.png">标注图</a> · <a href="/layout-reference/index.html">27 张索引</a></p><p class="muted">修改文字会产生字体差异;替换图片会改变视觉内容。严格原图对应模式保持原字形与原颜色。构件坐标、方向与所属版面固定。</p></aside></main><script>
|
||||
const manifest={"id":"ref-02","name":"四格图片列与双列竖题","source":{"url":"/layout-reference/source.png","sha256":"121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc","box":[256,46,112,171],"row":1,"column":3},"width":112,"height":171,"reference":"/layout-reference/ref-02/source.png","annotated":"/layout-reference/ref-02/annotated.png","background":"/layout-reference/ref-02/background.png","elements":[{"id":"T01","kind":"text","role":"右侧主标题","box":[91,0,20,126],"text":"蓝羽毛版式设计系列","direction":"vertical","reading":"verified","asset":"/layout-reference/ref-02/T01.png","pixels":1348,"underlay":"/layout-reference/ref-02/T01-underlay.png"},{"id":"T02","kind":"text","role":"中间副标题","box":[70,0,19,84],"text":"版式灵感收藏","direction":"vertical","reading":"verified","asset":"/layout-reference/ref-02/T02.png","pixels":776,"underlay":"/layout-reference/ref-02/T02-underlay.png"},{"id":"T03","kind":"text","role":"图片一图注","box":[0,34,20,4],"text":null,"direction":"horizontal","reading":"unreadable","asset":"/layout-reference/ref-02/T03.png","pixels":28,"underlay":"/layout-reference/ref-02/T03-underlay.png"},{"id":"T04","kind":"text","role":"图片二图注","box":[0,71,29,4],"text":null,"direction":"horizontal","reading":"unreadable","asset":"/layout-reference/ref-02/T04.png","pixels":74,"underlay":"/layout-reference/ref-02/T04-underlay.png"},{"id":"T05","kind":"text","role":"图片三图注","box":[2,132,37,3],"text":null,"direction":"horizontal","reading":"unreadable","asset":"/layout-reference/ref-02/T05.png","pixels":39,"underlay":"/layout-reference/ref-02/T05-underlay.png"},{"id":"T06","kind":"text","role":"右下说明","box":[50,81,32,57],"text":null,"direction":"horizontal","reading":"unreadable","asset":"/layout-reference/ref-02/T06.png","pixels":348,"underlay":"/layout-reference/ref-02/T06-underlay.png"},{"id":"T07","kind":"text","role":"右下品牌与说明","box":[51,143,51,14],"text":null,"direction":"horizontal","reading":"unreadable","asset":"/layout-reference/ref-02/T07.png","pixels":483,"underlay":"/layout-reference/ref-02/T07-underlay.png"},{"id":"I01","kind":"image","role":"图片一","box":[4,3,40,30],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-02/I01.png","pixels":1198,"mask":"/layout-reference/ref-02/I01-mask.png"},{"id":"I02","kind":"image","role":"图片二","box":[2,38,44,33],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-02/I02.png","pixels":1443,"mask":"/layout-reference/ref-02/I02-mask.png"},{"id":"I03","kind":"image","role":"图片三","box":[2,74,44,56],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-02/I03.png","pixels":2421,"mask":"/layout-reference/ref-02/I03-mask.png"},{"id":"I04","kind":"image","role":"图片四","box":[2,135,44,29],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-02/I04.png","pixels":1276,"mask":"/layout-reference/ref-02/I04-mask.png"},{"id":"D01","kind":"decoration","role":"分栏细线","box":[65,2,2,72],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-02/D01.png","pixels":143},{"id":"D02","kind":"decoration","role":"右下横线组","box":[50,158,57,12],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-02/D02.png","pixels":407}],"ocr":[],"verification":{"pixelIdentical":true,"pixels":19152,"unreadableText":5}};
|
||||
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>
|
||||
@@ -1,248 +0,0 @@
|
||||
{
|
||||
"id": "ref-02",
|
||||
"name": "四格图片列与双列竖题",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
256,
|
||||
46,
|
||||
112,
|
||||
171
|
||||
],
|
||||
"row": 1,
|
||||
"column": 3
|
||||
},
|
||||
"width": 112,
|
||||
"height": 171,
|
||||
"reference": "/layout-reference/ref-02/source.png",
|
||||
"annotated": "/layout-reference/ref-02/annotated.png",
|
||||
"background": "/layout-reference/ref-02/background.png",
|
||||
"elements": [
|
||||
{
|
||||
"id": "T01",
|
||||
"kind": "text",
|
||||
"role": "右侧主标题",
|
||||
"box": [
|
||||
91,
|
||||
0,
|
||||
20,
|
||||
126
|
||||
],
|
||||
"text": "蓝羽毛版式设计系列",
|
||||
"direction": "vertical",
|
||||
"reading": "verified",
|
||||
"asset": "/layout-reference/ref-02/T01.png",
|
||||
"pixels": 1348,
|
||||
"underlay": "/layout-reference/ref-02/T01-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "T02",
|
||||
"kind": "text",
|
||||
"role": "中间副标题",
|
||||
"box": [
|
||||
70,
|
||||
0,
|
||||
19,
|
||||
84
|
||||
],
|
||||
"text": "版式灵感收藏",
|
||||
"direction": "vertical",
|
||||
"reading": "verified",
|
||||
"asset": "/layout-reference/ref-02/T02.png",
|
||||
"pixels": 776,
|
||||
"underlay": "/layout-reference/ref-02/T02-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "T03",
|
||||
"kind": "text",
|
||||
"role": "图片一图注",
|
||||
"box": [
|
||||
0,
|
||||
34,
|
||||
20,
|
||||
4
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "unreadable",
|
||||
"asset": "/layout-reference/ref-02/T03.png",
|
||||
"pixels": 28,
|
||||
"underlay": "/layout-reference/ref-02/T03-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "T04",
|
||||
"kind": "text",
|
||||
"role": "图片二图注",
|
||||
"box": [
|
||||
0,
|
||||
71,
|
||||
29,
|
||||
4
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "unreadable",
|
||||
"asset": "/layout-reference/ref-02/T04.png",
|
||||
"pixels": 74,
|
||||
"underlay": "/layout-reference/ref-02/T04-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "T05",
|
||||
"kind": "text",
|
||||
"role": "图片三图注",
|
||||
"box": [
|
||||
2,
|
||||
132,
|
||||
37,
|
||||
3
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "unreadable",
|
||||
"asset": "/layout-reference/ref-02/T05.png",
|
||||
"pixels": 39,
|
||||
"underlay": "/layout-reference/ref-02/T05-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "T06",
|
||||
"kind": "text",
|
||||
"role": "右下说明",
|
||||
"box": [
|
||||
50,
|
||||
81,
|
||||
32,
|
||||
57
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "unreadable",
|
||||
"asset": "/layout-reference/ref-02/T06.png",
|
||||
"pixels": 348,
|
||||
"underlay": "/layout-reference/ref-02/T06-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "T07",
|
||||
"kind": "text",
|
||||
"role": "右下品牌与说明",
|
||||
"box": [
|
||||
51,
|
||||
143,
|
||||
51,
|
||||
14
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "unreadable",
|
||||
"asset": "/layout-reference/ref-02/T07.png",
|
||||
"pixels": 483,
|
||||
"underlay": "/layout-reference/ref-02/T07-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "I01",
|
||||
"kind": "image",
|
||||
"role": "图片一",
|
||||
"box": [
|
||||
4,
|
||||
3,
|
||||
40,
|
||||
30
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-02/I01.png",
|
||||
"pixels": 1198,
|
||||
"mask": "/layout-reference/ref-02/I01-mask.png"
|
||||
},
|
||||
{
|
||||
"id": "I02",
|
||||
"kind": "image",
|
||||
"role": "图片二",
|
||||
"box": [
|
||||
2,
|
||||
38,
|
||||
44,
|
||||
33
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-02/I02.png",
|
||||
"pixels": 1443,
|
||||
"mask": "/layout-reference/ref-02/I02-mask.png"
|
||||
},
|
||||
{
|
||||
"id": "I03",
|
||||
"kind": "image",
|
||||
"role": "图片三",
|
||||
"box": [
|
||||
2,
|
||||
74,
|
||||
44,
|
||||
56
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-02/I03.png",
|
||||
"pixels": 2421,
|
||||
"mask": "/layout-reference/ref-02/I03-mask.png"
|
||||
},
|
||||
{
|
||||
"id": "I04",
|
||||
"kind": "image",
|
||||
"role": "图片四",
|
||||
"box": [
|
||||
2,
|
||||
135,
|
||||
44,
|
||||
29
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-02/I04.png",
|
||||
"pixels": 1276,
|
||||
"mask": "/layout-reference/ref-02/I04-mask.png"
|
||||
},
|
||||
{
|
||||
"id": "D01",
|
||||
"kind": "decoration",
|
||||
"role": "分栏细线",
|
||||
"box": [
|
||||
65,
|
||||
2,
|
||||
2,
|
||||
72
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-02/D01.png",
|
||||
"pixels": 143
|
||||
},
|
||||
{
|
||||
"id": "D02",
|
||||
"kind": "decoration",
|
||||
"role": "右下横线组",
|
||||
"box": [
|
||||
50,
|
||||
158,
|
||||
57,
|
||||
12
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-02/D02.png",
|
||||
"pixels": 407
|
||||
}
|
||||
],
|
||||
"ocr": [],
|
||||
"verification": {
|
||||
"pixelIdentical": true,
|
||||
"pixels": 19152,
|
||||
"unreadableText": 5
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 243 B |
|
Before Width: | Height: | Size: 231 B |
|
Before Width: | Height: | Size: 193 B |
|
Before Width: | Height: | Size: 298 B |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 175 B |
|
Before Width: | Height: | Size: 965 B |
|
Before Width: | Height: | Size: 770 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 758 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 189 B |
|
Before Width: | Height: | Size: 257 B |
|
Before Width: | Height: | Size: 527 B |
|
Before Width: | Height: | Size: 715 B |
|
Before Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 13 KiB |
@@ -1,17 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>ref-03 · 左上标题与右下错位图</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:114/173;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-03 / 左上标题与右下错位图</h1><div class="canvas" aria-label="按独立图层重建的原版面"><img class="base" src="/layout-reference/ref-03/background.png" alt="原图纸底与画框">
|
||||
<img data-component="ref-03/T01" data-kind="text" src="/layout-reference/ref-03/T01.png" alt="蓝羽毛" style="left:0%;top:0%;width:39.473684210526315%;height:11.560693641618498%">
|
||||
<img data-component="ref-03/T02" data-kind="text" src="/layout-reference/ref-03/T02.png" alt="右上说明(未辨识原字形)" style="left:70.17543859649122%;top:12.716763005780345%;width:25.438596491228072%;height:13.294797687861271%">
|
||||
<img data-component="ref-03/T03" data-kind="text" src="/layout-reference/ref-03/T03.png" alt="01" style="left:87.71929824561403%;top:27.74566473988439%;width:7.017543859649122%;height:4.046242774566474%">
|
||||
<img data-component="ref-03/T04" data-kind="text" src="/layout-reference/ref-03/T04.png" alt="左下信息两列(未辨识原字形)" style="left:3.508771929824561%;top:68.20809248554913%;width:32.45614035087719%;height:19.07514450867052%">
|
||||
<img data-component="ref-03/I01" data-kind="image" src="/layout-reference/ref-03/I01.png" alt="" style="left:3.508771929824561%;top:12.716763005780345%;width:65.78947368421053%;height:47.398843930635834%">
|
||||
<img data-component="ref-03/I02" data-kind="image" src="/layout-reference/ref-03/I02.png" alt="" style="left:39.473684210526315%;top:61.849710982658955%;width:55.26315789473685%;height:27.74566473988439%">
|
||||
<img data-component="ref-03/D01" data-kind="decoration" src="/layout-reference/ref-03/D01.png" alt="" style="left:70.17543859649122%;top:28.32369942196532%;width:15.789473684210526%;height:3.4682080924855487%">
|
||||
<img data-component="ref-03/D02" data-kind="decoration" src="/layout-reference/ref-03/D02.png" alt="" style="left:21.052631578947366%;top:94.79768786127167%;width:11.403508771929824%;height:2.312138728323699%">
|
||||
<img data-component="ref-03/D03" data-kind="decoration" src="/layout-reference/ref-03/D03.png" alt="" style="left:69.2982456140351%;top:94.21965317919076%;width:14.035087719298245%;height:2.8901734104046244%">
|
||||
<img class="overlay" src="/layout-reference/ref-03/annotated.png" alt="构件标注"></div><p class="muted">原图第 1 行、第 4 列;114×173 像素。显示为原始构件重组,无新生成图形。放大不增加细节。</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="T03"><td>T03</td><td>文字 / 编号</td><td>01</td></tr><tr tabindex="0" data-key="T04"><td>T04</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="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></tbody></table><p><a href="/layout-reference/ref-03/manifest.json">构件 JSON</a> · <a href="/layout-reference/ref-03/source.png">原裁片</a> · <a href="/layout-reference/ref-03/annotated.png">标注图</a> · <a href="/layout-reference/index.html">27 张索引</a></p><p class="muted">修改文字会产生字体差异;替换图片会改变视觉内容。严格原图对应模式保持原字形与原颜色。构件坐标、方向与所属版面固定。</p></aside></main><script>
|
||||
const manifest={"id":"ref-03","name":"左上标题与右下错位图","source":{"url":"/layout-reference/source.png","sha256":"121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc","box":[376,46,114,173],"row":1,"column":4},"width":114,"height":173,"reference":"/layout-reference/ref-03/source.png","annotated":"/layout-reference/ref-03/annotated.png","background":"/layout-reference/ref-03/background.png","elements":[{"id":"T01","kind":"text","role":"主标题","box":[0,0,45,20],"text":"蓝羽毛","direction":"horizontal","reading":"verified","asset":"/layout-reference/ref-03/T01.png","pixels":372,"underlay":"/layout-reference/ref-03/T01-underlay.png"},{"id":"T02","kind":"text","role":"右上说明","box":[80,22,29,23],"text":null,"direction":"horizontal","reading":"unreadable","asset":"/layout-reference/ref-03/T02.png","pixels":359,"underlay":"/layout-reference/ref-03/T02-underlay.png"},{"id":"T03","kind":"text","role":"编号","box":[100,48,8,7],"text":"01","direction":"horizontal","reading":"verified","asset":"/layout-reference/ref-03/T03.png","pixels":39,"underlay":"/layout-reference/ref-03/T03-underlay.png"},{"id":"T04","kind":"text","role":"左下信息两列","box":[4,118,37,33],"text":null,"direction":"horizontal","reading":"unreadable","asset":"/layout-reference/ref-03/T04.png","pixels":353,"underlay":"/layout-reference/ref-03/T04-underlay.png"},{"id":"I01","kind":"image","role":"左上主图","box":[4,22,75,82],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-03/I01.png","pixels":6006,"mask":"/layout-reference/ref-03/I01-mask.png"},{"id":"I02","kind":"image","role":"右下副图","box":[45,107,63,48],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-03/I02.png","pixels":3004,"mask":"/layout-reference/ref-03/I02-mask.png"},{"id":"D01","kind":"decoration","role":"斜引线","box":[80,49,18,6],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-03/D01.png","pixels":38},{"id":"D02","kind":"decoration","role":"底部左短线","box":[24,164,13,4],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-03/D02.png","pixels":52},{"id":"D03","kind":"decoration","role":"底部右短线","box":[79,163,16,5],"text":null,"direction":"horizontal","reading":"not-text","asset":"/layout-reference/ref-03/D03.png","pixels":65}],"ocr":[{"box":[0.0221329192553819,0.02865017716183693,0.3329271461531433,0.08913510199456776],"confidence":0.5,"text":"蓝羽毛"}],"verification":{"pixelIdentical":true,"pixels":19722,"unreadableText":2}};
|
||||
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>
|
||||
@@ -1,190 +0,0 @@
|
||||
{
|
||||
"id": "ref-03",
|
||||
"name": "左上标题与右下错位图",
|
||||
"source": {
|
||||
"url": "/layout-reference/source.png",
|
||||
"sha256": "121ab8a362c45eee86281ca5dfbbe33577cfcd255579a16c3542530484b9f1dc",
|
||||
"box": [
|
||||
376,
|
||||
46,
|
||||
114,
|
||||
173
|
||||
],
|
||||
"row": 1,
|
||||
"column": 4
|
||||
},
|
||||
"width": 114,
|
||||
"height": 173,
|
||||
"reference": "/layout-reference/ref-03/source.png",
|
||||
"annotated": "/layout-reference/ref-03/annotated.png",
|
||||
"background": "/layout-reference/ref-03/background.png",
|
||||
"elements": [
|
||||
{
|
||||
"id": "T01",
|
||||
"kind": "text",
|
||||
"role": "主标题",
|
||||
"box": [
|
||||
0,
|
||||
0,
|
||||
45,
|
||||
20
|
||||
],
|
||||
"text": "蓝羽毛",
|
||||
"direction": "horizontal",
|
||||
"reading": "verified",
|
||||
"asset": "/layout-reference/ref-03/T01.png",
|
||||
"pixels": 372,
|
||||
"underlay": "/layout-reference/ref-03/T01-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "T02",
|
||||
"kind": "text",
|
||||
"role": "右上说明",
|
||||
"box": [
|
||||
80,
|
||||
22,
|
||||
29,
|
||||
23
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "unreadable",
|
||||
"asset": "/layout-reference/ref-03/T02.png",
|
||||
"pixels": 359,
|
||||
"underlay": "/layout-reference/ref-03/T02-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "T03",
|
||||
"kind": "text",
|
||||
"role": "编号",
|
||||
"box": [
|
||||
100,
|
||||
48,
|
||||
8,
|
||||
7
|
||||
],
|
||||
"text": "01",
|
||||
"direction": "horizontal",
|
||||
"reading": "verified",
|
||||
"asset": "/layout-reference/ref-03/T03.png",
|
||||
"pixels": 39,
|
||||
"underlay": "/layout-reference/ref-03/T03-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "T04",
|
||||
"kind": "text",
|
||||
"role": "左下信息两列",
|
||||
"box": [
|
||||
4,
|
||||
118,
|
||||
37,
|
||||
33
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "unreadable",
|
||||
"asset": "/layout-reference/ref-03/T04.png",
|
||||
"pixels": 353,
|
||||
"underlay": "/layout-reference/ref-03/T04-underlay.png"
|
||||
},
|
||||
{
|
||||
"id": "I01",
|
||||
"kind": "image",
|
||||
"role": "左上主图",
|
||||
"box": [
|
||||
4,
|
||||
22,
|
||||
75,
|
||||
82
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-03/I01.png",
|
||||
"pixels": 6006,
|
||||
"mask": "/layout-reference/ref-03/I01-mask.png"
|
||||
},
|
||||
{
|
||||
"id": "I02",
|
||||
"kind": "image",
|
||||
"role": "右下副图",
|
||||
"box": [
|
||||
45,
|
||||
107,
|
||||
63,
|
||||
48
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-03/I02.png",
|
||||
"pixels": 3004,
|
||||
"mask": "/layout-reference/ref-03/I02-mask.png"
|
||||
},
|
||||
{
|
||||
"id": "D01",
|
||||
"kind": "decoration",
|
||||
"role": "斜引线",
|
||||
"box": [
|
||||
80,
|
||||
49,
|
||||
18,
|
||||
6
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-03/D01.png",
|
||||
"pixels": 38
|
||||
},
|
||||
{
|
||||
"id": "D02",
|
||||
"kind": "decoration",
|
||||
"role": "底部左短线",
|
||||
"box": [
|
||||
24,
|
||||
164,
|
||||
13,
|
||||
4
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-03/D02.png",
|
||||
"pixels": 52
|
||||
},
|
||||
{
|
||||
"id": "D03",
|
||||
"kind": "decoration",
|
||||
"role": "底部右短线",
|
||||
"box": [
|
||||
79,
|
||||
163,
|
||||
16,
|
||||
5
|
||||
],
|
||||
"text": null,
|
||||
"direction": "horizontal",
|
||||
"reading": "not-text",
|
||||
"asset": "/layout-reference/ref-03/D03.png",
|
||||
"pixels": 65
|
||||
}
|
||||
],
|
||||
"ocr": [
|
||||
{
|
||||
"box": [
|
||||
0.0221329192553819,
|
||||
0.02865017716183693,
|
||||
0.3329271461531433,
|
||||
0.08913510199456776
|
||||
],
|
||||
"confidence": 0.5,
|
||||
"text": "蓝羽毛"
|
||||
}
|
||||
],
|
||||
"verification": {
|
||||
"pixelIdentical": true,
|
||||
"pixels": 19722,
|
||||
"unreadableText": 2
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 280 B |
|
Before Width: | Height: | Size: 514 B |
|
Before Width: | Height: | Size: 131 B |
|
Before Width: | Height: | Size: 680 B |
|
Before Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 242 B |
|
Before Width: | Height: | Size: 236 B |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 5.5 KiB |