cardbuddy 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/README.md +211 -0
  2. package/dist/cli.js +76 -0
  3. package/dist/config.js +63 -0
  4. package/dist/core.js +2 -0
  5. package/dist/preview-editor/assets/apple-touch-icon-BQcES9QK.png +0 -0
  6. package/dist/preview-editor/assets/default-image-wzZYQ86K.png +0 -0
  7. package/dist/preview-editor/assets/favicon-16-Cg6Nrosk.png +0 -0
  8. package/dist/preview-editor/assets/favicon-32-B_1744sp.png +0 -0
  9. package/dist/preview-editor/assets/index-BYB0hngG.js +72 -0
  10. package/dist/preview-editor/assets/index-CpBZEQDy.css +1 -0
  11. package/dist/preview-editor/assets/site-icon-CFMif8z4.png +0 -0
  12. package/dist/preview-editor/assets/svg-symbols-B2exBrAr.svg +118 -0
  13. package/dist/preview-editor/index.html +17 -0
  14. package/dist/server-core/_vendor/finmall-env.mjs +96 -0
  15. package/dist/server-core/assetProxy.js +154 -0
  16. package/dist/server-core/bbox.js +153 -0
  17. package/dist/server-core/browser.js +108 -0
  18. package/dist/server-core/buildDataFromSchema.js +50 -0
  19. package/dist/server-core/cardFiles.js +188 -0
  20. package/dist/server-core/cardHistory.js +156 -0
  21. package/dist/server-core/cardImage.js +85 -0
  22. package/dist/server-core/cardImportMeta.js +139 -0
  23. package/dist/server-core/cardListCache.js +68 -0
  24. package/dist/server-core/cardOpenFolder.js +135 -0
  25. package/dist/server-core/cardSave.js +127 -0
  26. package/dist/server-core/cardSidecar.js +72 -0
  27. package/dist/server-core/cardSync.js +259 -0
  28. package/dist/server-core/cardValidate.js +134 -0
  29. package/dist/server-core/index.js +82 -0
  30. package/dist/server-core/logger.js +241 -0
  31. package/dist/server-core/nodeModels.js +52 -0
  32. package/dist/server-core/renderStatus.js +207 -0
  33. package/dist/server-core/screenshot.js +123 -0
  34. package/dist/server-core/sliceStatic.js +44 -0
  35. package/dist/standalone.js +447 -0
  36. package/dist/vendored/App.vue +2330 -0
  37. package/dist/vendored/api.js +142 -0
  38. package/dist/vendored/assets/apple-touch-icon.png +0 -0
  39. package/dist/vendored/assets/default-image.png +0 -0
  40. package/dist/vendored/assets/favicon-16.png +0 -0
  41. package/dist/vendored/assets/favicon-32.png +0 -0
  42. package/dist/vendored/assets/logo.png +0 -0
  43. package/dist/vendored/assets/site-icon.png +0 -0
  44. package/dist/vendored/assets/svg-symbols.svg +118 -0
  45. package/dist/vendored/assets/svgIcons/icons.svg +54 -0
  46. package/dist/vendored/assets/svgIcons/index.js +39 -0
  47. package/dist/vendored/components/AbsoluteLayout.vue +42 -0
  48. package/dist/vendored/components/AlertCardInstance.vue +58 -0
  49. package/dist/vendored/components/AlertCardLayer.vue +59 -0
  50. package/dist/vendored/components/ApiPayloadTree.vue +168 -0
  51. package/dist/vendored/components/AppToast.vue +37 -0
  52. package/dist/vendored/components/Button.vue +37 -0
  53. package/dist/vendored/components/Canvas.vue +65 -0
  54. package/dist/vendored/components/CardGallery.vue +243 -0
  55. package/dist/vendored/components/CardPreview.vue +72 -0
  56. package/dist/vendored/components/CardSelect.vue +200 -0
  57. package/dist/vendored/components/CheckGroup.vue +131 -0
  58. package/dist/vendored/components/Column.vue +25 -0
  59. package/dist/vendored/components/ComponentPalette.vue +294 -0
  60. package/dist/vendored/components/ConfirmDialog.vue +39 -0
  61. package/dist/vendored/components/CustomPlaceholder.vue +33 -0
  62. package/dist/vendored/components/DatePickerOverlay.vue +345 -0
  63. package/dist/vendored/components/DebugPanel.vue +806 -0
  64. package/dist/vendored/components/DeviceOverlay.vue +70 -0
  65. package/dist/vendored/components/Divider.vue +22 -0
  66. package/dist/vendored/components/Dropdown.vue +191 -0
  67. package/dist/vendored/components/EventEditor.vue +247 -0
  68. package/dist/vendored/components/GridLayout.vue +67 -0
  69. package/dist/vendored/components/HoverGuides.vue +122 -0
  70. package/dist/vendored/components/Icon.vue +34 -0
  71. package/dist/vendored/components/Image.vue +34 -0
  72. package/dist/vendored/components/Input.vue +90 -0
  73. package/dist/vendored/components/JsonTree.vue +516 -0
  74. package/dist/vendored/components/ListLayout.vue +68 -0
  75. package/dist/vendored/components/LogValue.vue +51 -0
  76. package/dist/vendored/components/Map.vue +110 -0
  77. package/dist/vendored/components/MultiColumn.vue +49 -0
  78. package/dist/vendored/components/MultiText.vue +58 -0
  79. package/dist/vendored/components/NodeInspector.vue +295 -0
  80. package/dist/vendored/components/PickerOverlay.vue +131 -0
  81. package/dist/vendored/components/ProgressSlider.vue +167 -0
  82. package/dist/vendored/components/PropControl.vue +241 -0
  83. package/dist/vendored/components/PropTree.vue +128 -0
  84. package/dist/vendored/components/RadioButton.vue +74 -0
  85. package/dist/vendored/components/RemotePreview.vue +171 -0
  86. package/dist/vendored/components/RenderTree.vue +437 -0
  87. package/dist/vendored/components/Root.vue +30 -0
  88. package/dist/vendored/components/Row.vue +25 -0
  89. package/dist/vendored/components/SelectionOverlay.vue +105 -0
  90. package/dist/vendored/components/StructureTree.vue +949 -0
  91. package/dist/vendored/components/SvgCode.vue +19 -0
  92. package/dist/vendored/components/SvgSymbols.vue +30 -0
  93. package/dist/vendored/components/Switch.vue +38 -0
  94. package/dist/vendored/components/Text.vue +32 -0
  95. package/dist/vendored/components/Video.vue +70 -0
  96. package/dist/vendored/components/ViewContainer.vue +52 -0
  97. package/dist/vendored/components/base.js +12 -0
  98. package/dist/vendored/components/icons.js +47 -0
  99. package/dist/vendored/components/index.js +58 -0
  100. package/dist/vendored/components/setters/SetBgPosition.vue +64 -0
  101. package/dist/vendored/components/setters/SetBgSize.vue +90 -0
  102. package/dist/vendored/components/setters/SetCode.vue +90 -0
  103. package/dist/vendored/components/setters/SetColor.vue +244 -0
  104. package/dist/vendored/components/setters/SetCustomSelect.vue +58 -0
  105. package/dist/vendored/components/setters/SetExpr.vue +107 -0
  106. package/dist/vendored/components/setters/SetGradient.vue +125 -0
  107. package/dist/vendored/components/setters/SetGrid9.vue +68 -0
  108. package/dist/vendored/components/setters/SetIconSelect.vue +67 -0
  109. package/dist/vendored/components/setters/SetIfForm.vue +61 -0
  110. package/dist/vendored/components/setters/SetImage.vue +43 -0
  111. package/dist/vendored/components/setters/SetList.vue +139 -0
  112. package/dist/vendored/components/setters/SetNumber.vue +118 -0
  113. package/dist/vendored/components/setters/SetNumberStyle.vue +113 -0
  114. package/dist/vendored/components/setters/SetPadding.vue +77 -0
  115. package/dist/vendored/components/setters/SetSegment.vue +160 -0
  116. package/dist/vendored/components/setters/SetSelect.vue +51 -0
  117. package/dist/vendored/components/setters/SetSwitch.vue +49 -0
  118. package/dist/vendored/components/setters/SetText.vue +52 -0
  119. package/dist/vendored/components/setters/props.js +23 -0
  120. package/dist/vendored/fidelity/baseline-messageOverview.json +87 -0
  121. package/dist/vendored/fidelity/calibration.json +29 -0
  122. package/dist/vendored/fidelity/fidelity-messageOverview-after.html +114 -0
  123. package/dist/vendored/fidelity/fidelity-messageOverview-after.json +272 -0
  124. package/dist/vendored/fidelity/fidelity-messageOverview.html +185 -0
  125. package/dist/vendored/fidelity/fidelity-messageOverview.json +336 -0
  126. package/dist/vendored/fidelity/fidelity-messageOverview_v2.html +262 -0
  127. package/dist/vendored/fidelity/fidelity-messageOverview_v2.json +502 -0
  128. package/dist/vendored/fidelity/fidelity-messageOverview_v3.html +201 -0
  129. package/dist/vendored/fidelity/fidelity-messageOverview_v3.json +417 -0
  130. package/dist/vendored/fidelity/fidelity-messageOverview_visual.html +125 -0
  131. package/dist/vendored/fidelity/fidelity-messageOverview_visual.json +338 -0
  132. package/dist/vendored/index.html +16 -0
  133. package/dist/vendored/main.js +36 -0
  134. package/dist/vendored/meta/action-meta.json +141 -0
  135. package/dist/vendored/meta/component-meta.json +2714 -0
  136. package/dist/vendored/meta/directive-meta.json +40 -0
  137. package/dist/vendored/meta/style-meta.json +1086 -0
  138. package/dist/vendored/runtime/StyleParser.js +179 -0
  139. package/dist/vendored/runtime/adapter.js +166 -0
  140. package/dist/vendored/runtime/alert-card.js +125 -0
  141. package/dist/vendored/runtime/app-toast.js +33 -0
  142. package/dist/vendored/runtime/assets.js +16 -0
  143. package/dist/vendored/runtime/canvas-context.js +141 -0
  144. package/dist/vendored/runtime/card-runtime.js +289 -0
  145. package/dist/vendored/runtime/clipboard-node.js +83 -0
  146. package/dist/vendored/runtime/clipboard.js +29 -0
  147. package/dist/vendored/runtime/evaluate.js +152 -0
  148. package/dist/vendored/runtime/event-model.js +300 -0
  149. package/dist/vendored/runtime/hoverGuide.js +31 -0
  150. package/dist/vendored/runtime/jsapi-mock.js +256 -0
  151. package/dist/vendored/runtime/node-model.js +217 -0
  152. package/dist/vendored/runtime/property.js +364 -0
  153. package/dist/vendored/runtime/selectionOverlay.js +53 -0
  154. package/dist/vendored/runtime/toPreview.js +648 -0
  155. package/dist/vendored/standalone-main.js +36 -0
  156. package/dist/vendored/standalone.html +12 -0
  157. package/dist/vendored/styles/app.css +2565 -0
  158. package/dist/vendored/styles/card-gallery.css +234 -0
  159. package/dist/vendored/styles/card-select.css +281 -0
  160. package/dist/vendored/styles/components.css +383 -0
  161. package/dist/vendored/styles/dropdown.css +337 -0
  162. package/dist/vendored/styles/json-tree.css +308 -0
  163. package/dist/vendored/styles/node-inspector.css +1003 -0
  164. package/dist/vendored/styles/setters.css +962 -0
  165. package/dist/vendored/styles/standalone.css +27 -0
  166. package/dist/vendored/styles/structure-tree.css +320 -0
  167. package/package.json +42 -0
@@ -0,0 +1,201 @@
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN"><head><meta charset="utf-8"><title>UI 还原度对拍 · messageOverview_v3</title>
3
+ <style>
4
+ body{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;margin:0;background:#f5f6f8;color:#1f2329}
5
+ .wrap{max-width:1080px;margin:0 auto;padding:24px 20px 60px}
6
+ h1{font-size:20px;margin:0 0 4px}
7
+ .sub{color:#666;font-size:12px;margin-bottom:18px}
8
+ .cards{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}
9
+ .card{flex:1;min-width:150px;background:#fff;border:1px solid #e5e6eb;border-radius:8px;padding:14px 16px}
10
+ .card .num{font-size:26px;font-weight:700}
11
+ .card .lbl{font-size:12px;color:#666;margin-top:2px}
12
+ table{border-collapse:collapse;width:100%;background:#fff;font-size:13px;border:1px solid #e5e6eb;border-radius:8px;overflow:hidden}
13
+ th,td{padding:7px 10px;border-bottom:1px solid #f0f1f3;text-align:left;white-space:nowrap}
14
+ th{background:#fafbfc;color:#333;font-weight:600}
15
+ tr:last-child td{border-bottom:none}
16
+ .sec{margin-top:22px;font-size:15px;font-weight:600}
17
+ .tips{background:#fff;border:1px solid #e5e6eb;border-radius:8px;padding:12px 16px 12px 34px;font-size:13px;line-height:1.8}
18
+ .muted{color:#999}
19
+ </style></head><body><div class="wrap">
20
+ <h1>UI 还原度对拍报告 · messageOverview_v3</h1>
21
+ <div class="sub">spec: UI/01、泛化消息-有未读消息-没有待办/spec.json · 阈值 ±2px · 2026/8/19 17:45:23 · 生成:fidelity_report.mjs</div>
22
+ <div style="display:flex;gap:16px;align-items:stretch;margin-bottom:16px">
23
+ <div style="min-width:150px;background:#fff;border:1px solid #e5e6eb;border-radius:8px;padding:14px 18px;display:flex;flex-direction:column;justify-content:center;text-align:center">
24
+ <div style="font-size:44px;font-weight:800;line-height:1;color:#c62828">31</div>
25
+ <div style="font-size:13px;color:#666;margin-top:6px">还原度 · 需修复</div>
26
+ </div>
27
+ <div style="flex:1;background:#fff;border:1px solid #e5e6eb;border-radius:8px;padding:12px 16px"><div style="display:flex;align-items:center;gap:8px;margin:3px 0">
28
+ <span style="width:64px;font-size:12px;color:#666">覆盖率</span>
29
+ <div style="flex:1;height:8px;background:#eef0f3;border-radius:4px;overflow:hidden">
30
+ <div style="width:45%;height:100%;background:#c62828"></div>
31
+ </div>
32
+ <span style="width:34px;text-align:right;font-size:12px;color:#666">45</span>
33
+ </div><div style="display:flex;align-items:center;gap:8px;margin:3px 0">
34
+ <span style="width:64px;font-size:12px;color:#666">位置</span>
35
+ <div style="flex:1;height:8px;background:#eef0f3;border-radius:4px;overflow:hidden">
36
+ <div style="width:20%;height:100%;background:#c62828"></div>
37
+ </div>
38
+ <span style="width:34px;text-align:right;font-size:12px;color:#666">20</span>
39
+ </div><div style="display:flex;align-items:center;gap:8px;margin:3px 0">
40
+ <span style="width:64px;font-size:12px;color:#666">尺寸</span>
41
+ <div style="flex:1;height:8px;background:#eef0f3;border-radius:4px;overflow:hidden">
42
+ <div style="width:39%;height:100%;background:#c62828"></div>
43
+ </div>
44
+ <span style="width:34px;text-align:right;font-size:12px;color:#666">39</span>
45
+ </div><div style="display:flex;align-items:center;gap:8px;margin:3px 0">
46
+ <span style="width:64px;font-size:12px;color:#666">文本</span>
47
+ <div style="flex:1;height:8px;background:#eef0f3;border-radius:4px;overflow:hidden">
48
+ <div style="width:41%;height:100%;background:#c62828"></div>
49
+ </div>
50
+ <span style="width:34px;text-align:right;font-size:12px;color:#666">41</span>
51
+ </div><div style="display:flex;align-items:center;gap:8px;margin:3px 0">
52
+ <span style="width:64px;font-size:12px;color:#666">一致性</span>
53
+ <div style="flex:1;height:8px;background:#eef0f3;border-radius:4px;overflow:hidden">
54
+ <div style="width:0%;height:100%;background:#c62828"></div>
55
+ </div>
56
+ <span style="width:34px;text-align:right;font-size:12px;color:#666">0</span>
57
+ </div></div>
58
+ </div>
59
+ <div class="cards">
60
+ <div class="card"><div class="num">9</div><div class="lbl">已匹配元素</div></div>
61
+ <div class="card"><div class="num" style="color:#c62828">7</div><div class="lbl">超差(&gt;4px)</div></div>
62
+ <div class="card"><div class="num" style="color:#b26a00">1</div><div class="lbl">偏差(&gt;2px)</div></div>
63
+ <div class="card"><div class="num">11</div><div class="lbl">未匹配(设计稿)</div></div>
64
+ <div class="card"><div class="num">-42.0</div><div class="lbl">公共偏移 Δx</div></div>
65
+ <div class="card"><div class="num">-332.5</div><div class="lbl">公共偏移 Δy</div></div>
66
+ <div class="card"><div class="num" style="color:#888">0</div><div class="lbl">chrome 裁剪(不参与对拍)</div></div>
67
+ </div>
68
+ <div class="sec">系统性误差(按组件类中位数,≥2 样本;供生成器补偿校准)</div>
69
+ <table>
70
+ <tr><th>组件类</th><th>Δx</th><th>Δy</th><th>Δw</th><th>Δh</th><th>最大偏差</th></tr>
71
+ <tr>
72
+ <td><b>Text</b> ×8</td>
73
+ <td>0.0</td><td>+8.3</td><td>0.0</td><td>+1.0</td>
74
+ <td style="color:#666">61.1</td>
75
+ </tr>
76
+ </table>
77
+ <div class="sec">归因建议</div>
78
+ <ul class="tips"><li>整卡水平偏移 -42.0px(公共偏移已扣除,不影响逐元素评估;若渲染卡含外层留白/容器 padding 请检查根容器)</li>
79
+ <li>整卡垂直偏移 -332.5px(通常来自设计稿含状态栏/导航而渲染卡仅卡片主体;若渲染卡内确有同类元素整体偏移,请检查根容器 padding)</li>
80
+ <li>[Text×8] 垂直系统性偏移 +8.3px → 疑似父容器 padding 或行高 lineHeight/间距配置</li>
81
+ <li>单元素离群:「12」(Text)偏离同类中位 22.3px → 检查该元素自身 align/padding/fontSize</li>
82
+ <li>单元素离群:「今日有一笔支出动账」(Text)偏离同类中位 12.3px → 检查该元素自身 align/padding/fontSize</li>
83
+ <li>单元素离群:「金额1,280.00元,建议核对」(Text)偏离同类中位 8.3px → 检查该元素自身 align/padding/fontSize</li>
84
+ <li>单元素离群:「一笔转账正在处理中」(Text)偏离同类中位 10.3px → 检查该元素自身 align/padding/fontSize</li>
85
+ <li>单元素离群:「状态未完成,可进入详情查看处理进」(Text)偏离同类中位 10.3px → 检查该元素自身 align/padding/fontSize</li>
86
+ <li>单元素离群:「有一条站内消息待查看」(Text)偏离同类中位 8.3px → 检查该元素自身 align/padding/fontSize</li>
87
+ <li>单元素离群:「可能涉及账户服务提醒,请查看确认」(Text)偏离同类中位 12.3px → 检查该元素自身 align/padding/fontSize</li>
88
+ <li>单元素离群:「欢迎向米宝提问~」(Text)偏离同类中位 20.0px → 检查该元素自身 align/padding/fontSize</li></ul>
89
+ <div class="sec">逐元素差异(局部 Δ = 已扣除公共偏移)</div>
90
+ <table>
91
+ <tr><th>状态</th><th>文本/元素</th><th>组件类</th><th>匹配</th><th>期望 rect</th><th>实际 rect</th><th>Δx</th><th>Δy</th><th>Δw</th><th>Δh</th></tr>
92
+ <tr style="background:#fdecea">
93
+ <td style="color:#c62828;font-weight:600">超差</td>
94
+ <td title="12">12</td>
95
+ <td>Text</td>
96
+ <td title="通过 text-far">文本远</td>
97
+ <td style="color:#666">32, 314 · 31×42</td>
98
+ <td style="color:#666">12, 12 · 31.8×45</td>
99
+ <td style="color:#c62828">+22.0</td>
100
+ <td style="color:#c62828">+30.5</td>
101
+ <td style="color:#666">+0.8</td>
102
+ <td style="color:#c62828">+3.0</td>
103
+ </tr>
104
+ <tr style="background:#fdecea">
105
+ <td style="color:#c62828;font-weight:600">超差</td>
106
+ <td title="金额1,280.00元,建议核对资金变动。">金额1,280.00元,建议核对资金变动。</td>
107
+ <td>Text</td>
108
+ <td title="通过 text">文本</td>
109
+ <td style="color:#666">58, 490 · 254×18</td>
110
+ <td style="color:#666">16, 174 · 221.3×19.5</td>
111
+ <td style="color:#666">0.0</td>
112
+ <td style="color:#c62828">+16.5</td>
113
+ <td style="color:#c62828">-32.7</td>
114
+ <td style="color:#666">+1.5</td>
115
+ </tr>
116
+ <tr style="background:#fdecea">
117
+ <td style="color:#c62828;font-weight:600">超差</td>
118
+ <td title="状态未完成,可进入详情查看处理进度。">状态未完成,可进入详情查看处理进度。</td>
119
+ <td>Text</td>
120
+ <td title="通过 text">文本</td>
121
+ <td style="color:#666">58, 578 · 254×18</td>
122
+ <td style="color:#666">16, 264 · 234×19.5</td>
123
+ <td style="color:#666">0.0</td>
124
+ <td style="color:#c62828">+18.5</td>
125
+ <td style="color:#c62828">-20.0</td>
126
+ <td style="color:#666">+1.5</td>
127
+ </tr>
128
+ <tr style="background:#fdecea">
129
+ <td style="color:#c62828;font-weight:600">超差</td>
130
+ <td title="有一条站内消息待查看">有一条站内消息待查看</td>
131
+ <td>Text</td>
132
+ <td title="通过 text">文本</td>
133
+ <td style="color:#666">64, 640 · 150×22</td>
134
+ <td style="color:#666">16, 307.5 · 150×22.5</td>
135
+ <td style="color:#c62828">-6.0</td>
136
+ <td style="color:#666">0.0</td>
137
+ <td style="color:#666">0.0</td>
138
+ <td style="color:#666">+0.5</td>
139
+ </tr>
140
+ <tr style="background:#fdecea">
141
+ <td style="color:#c62828;font-weight:600">超差</td>
142
+ <td title="可能涉及账户服务提醒,请查看确认。">可能涉及账户服务提醒,请查看确认。</td>
143
+ <td>Text</td>
144
+ <td title="通过 text">文本</td>
145
+ <td style="color:#666">64, 666 · 254×18</td>
146
+ <td style="color:#666">16, 354 · 221×19.5</td>
147
+ <td style="color:#c62828">-6.0</td>
148
+ <td style="color:#c62828">+20.5</td>
149
+ <td style="color:#c62828">-33.0</td>
150
+ <td style="color:#666">+1.5</td>
151
+ </tr>
152
+ <tr style="background:#fdecea">
153
+ <td style="color:#c62828;font-weight:600">超差</td>
154
+ <td title="全部设为已读">全部设为已读</td>
155
+ <td>Row</td>
156
+ <td title="通过 text-far">文本远</td>
157
+ <td style="color:#666">142.95, 723.5 · 90×21</td>
158
+ <td style="color:#666">0, 385.5 · 375×60</td>
159
+ <td style="color:#c62828">-100.9</td>
160
+ <td style="color:#c62828">-5.5</td>
161
+ <td style="color:#c62828">+285.0</td>
162
+ <td style="color:#c62828">+39.0</td>
163
+ </tr>
164
+ <tr style="background:#fdecea">
165
+ <td style="color:#c62828;font-weight:600">超差</td>
166
+ <td title="动账 5 · 转账 2 · 站内 1 · 其他 4">欢迎向米宝提问~</td>
167
+ <td>Text</td>
168
+ <td title="通过 geometry">几何</td>
169
+ <td style="color:#666">62, 808 · 120×20</td>
170
+ <td style="color:#666">0, 474.5 · 181.1×19.5</td>
171
+ <td style="color:#c62828">-20.0</td>
172
+ <td style="color:#666">-1.0</td>
173
+ <td style="color:#c62828">+61.1</td>
174
+ <td style="color:#666">-0.5</td>
175
+ </tr>
176
+ <tr style="background:#fdf3e3">
177
+ <td style="color:#b26a00;font-weight:600">偏差</td>
178
+ <td title="今日有一笔支出动账">今日有一笔支出动账</td>
179
+ <td>Text</td>
180
+ <td title="通过 text">文本</td>
181
+ <td style="color:#666">58, 464 · 135×22</td>
182
+ <td style="color:#666">16, 127.5 · 135×22.5</td>
183
+ <td style="color:#666">0.0</td>
184
+ <td style="color:#b26a00">-4.0</td>
185
+ <td style="color:#666">0.0</td>
186
+ <td style="color:#666">+0.5</td>
187
+ </tr>
188
+ <tr style="background:#e7f6ec">
189
+ <td style="color:#0a7a2f;font-weight:600">OK</td>
190
+ <td title="一笔转账正在处理中">一笔转账正在处理中</td>
191
+ <td>Text</td>
192
+ <td title="通过 text">文本</td>
193
+ <td style="color:#666">58, 552 · 135×22</td>
194
+ <td style="color:#666">16, 217.5 · 135×22.5</td>
195
+ <td style="color:#666">0.0</td>
196
+ <td style="color:#666">-2.0</td>
197
+ <td style="color:#666">0.0</td>
198
+ <td style="color:#666">+0.5</td>
199
+ </tr>
200
+ </table>
201
+ </div></body></html>
@@ -0,0 +1,417 @@
1
+ {
2
+ "cardId": "messageOverview_v3",
3
+ "specFile": "UI/01、泛化消息-有未读消息-没有待办/spec.json",
4
+ "generatedAt": "2026-08-19T09:45:23.686Z",
5
+ "tolerance": 2,
6
+ "matchRadius": 30,
7
+ "fidelityScore": 31,
8
+ "grade": "需修复",
9
+ "scoreDims": {
10
+ "coverage": 0.45,
11
+ "position": 0.19999999999999996,
12
+ "size": 0.3944444444444444,
13
+ "typography": 0.40625,
14
+ "alignment": 0
15
+ },
16
+ "commonOffset": {
17
+ "dx": -42,
18
+ "dy": -332.5
19
+ },
20
+ "classStats": {
21
+ "Text": {
22
+ "samples": 8,
23
+ "dxL": 0,
24
+ "dyL": 8.25,
25
+ "dw": 0,
26
+ "dh": 1,
27
+ "maxAbs": 61.1
28
+ }
29
+ },
30
+ "env": {
31
+ "screen": {
32
+ "width": 375,
33
+ "height": 800
34
+ },
35
+ "renderCardWidth": 375,
36
+ "renderCardHeight": 997,
37
+ "specCanvasHeight": 874
38
+ },
39
+ "counts": {
40
+ "expected": 20,
41
+ "chromeSkipped": 0,
42
+ "actual": 33,
43
+ "matched": 9,
44
+ "unmatchedSpec": 11,
45
+ "unmatchedActual": 24
46
+ },
47
+ "rows": [
48
+ {
49
+ "idx": 3,
50
+ "type": "text",
51
+ "cid": "comp_3",
52
+ "className": "Text",
53
+ "expectText": "12",
54
+ "actualText": "12",
55
+ "via": "text-far",
56
+ "expRect": {
57
+ "x": 32,
58
+ "y": 314,
59
+ "width": 31,
60
+ "height": 42
61
+ },
62
+ "actRect": {
63
+ "x": 12,
64
+ "y": 12,
65
+ "width": 31.8,
66
+ "height": 45
67
+ },
68
+ "dx": -20,
69
+ "dy": -302,
70
+ "dw": 0.8,
71
+ "dh": 3,
72
+ "dxL": 22,
73
+ "dyL": 30.5
74
+ },
75
+ {
76
+ "idx": 6,
77
+ "type": "text",
78
+ "cid": "comp_11",
79
+ "className": "Text",
80
+ "expectText": "今日有一笔支出动账",
81
+ "actualText": "今日有一笔支出动账",
82
+ "via": "text",
83
+ "expRect": {
84
+ "x": 58,
85
+ "y": 464,
86
+ "width": 135,
87
+ "height": 22
88
+ },
89
+ "actRect": {
90
+ "x": 16,
91
+ "y": 127.5,
92
+ "width": 135,
93
+ "height": 22.5
94
+ },
95
+ "dx": -42,
96
+ "dy": -336.5,
97
+ "dw": 0,
98
+ "dh": 0.5,
99
+ "dxL": 0,
100
+ "dyL": -4
101
+ },
102
+ {
103
+ "idx": 7,
104
+ "type": "text",
105
+ "cid": "comp_15",
106
+ "className": "Text",
107
+ "expectText": "金额1,280.00元,建议核对资金变动。",
108
+ "actualText": "金额1,280.00元,建议核对资金变动。",
109
+ "via": "text",
110
+ "expRect": {
111
+ "x": 58,
112
+ "y": 490,
113
+ "width": 254,
114
+ "height": 18
115
+ },
116
+ "actRect": {
117
+ "x": 16,
118
+ "y": 174,
119
+ "width": 221.3,
120
+ "height": 19.5
121
+ },
122
+ "dx": -42,
123
+ "dy": -316,
124
+ "dw": -32.7,
125
+ "dh": 1.5,
126
+ "dxL": 0,
127
+ "dyL": 16.5
128
+ },
129
+ {
130
+ "idx": 8,
131
+ "type": "text",
132
+ "cid": "comp_19",
133
+ "className": "Text",
134
+ "expectText": "一笔转账正在处理中",
135
+ "actualText": "一笔转账正在处理中",
136
+ "via": "text",
137
+ "expRect": {
138
+ "x": 58,
139
+ "y": 552,
140
+ "width": 135,
141
+ "height": 22
142
+ },
143
+ "actRect": {
144
+ "x": 16,
145
+ "y": 217.5,
146
+ "width": 135,
147
+ "height": 22.5
148
+ },
149
+ "dx": -42,
150
+ "dy": -334.5,
151
+ "dw": 0,
152
+ "dh": 0.5,
153
+ "dxL": 0,
154
+ "dyL": -2
155
+ },
156
+ {
157
+ "idx": 9,
158
+ "type": "text",
159
+ "cid": "comp_23",
160
+ "className": "Text",
161
+ "expectText": "状态未完成,可进入详情查看处理进度。",
162
+ "actualText": "状态未完成,可进入详情查看处理进度。",
163
+ "via": "text",
164
+ "expRect": {
165
+ "x": 58,
166
+ "y": 578,
167
+ "width": 254,
168
+ "height": 18
169
+ },
170
+ "actRect": {
171
+ "x": 16,
172
+ "y": 264,
173
+ "width": 234,
174
+ "height": 19.5
175
+ },
176
+ "dx": -42,
177
+ "dy": -314,
178
+ "dw": -20,
179
+ "dh": 1.5,
180
+ "dxL": 0,
181
+ "dyL": 18.5
182
+ },
183
+ {
184
+ "idx": 10,
185
+ "type": "text",
186
+ "cid": "comp_27",
187
+ "className": "Text",
188
+ "expectText": "有一条站内消息待查看",
189
+ "actualText": "有一条站内消息待查看",
190
+ "via": "text",
191
+ "expRect": {
192
+ "x": 64,
193
+ "y": 640,
194
+ "width": 150,
195
+ "height": 22
196
+ },
197
+ "actRect": {
198
+ "x": 16,
199
+ "y": 307.5,
200
+ "width": 150,
201
+ "height": 22.5
202
+ },
203
+ "dx": -48,
204
+ "dy": -332.5,
205
+ "dw": 0,
206
+ "dh": 0.5,
207
+ "dxL": -6,
208
+ "dyL": 0
209
+ },
210
+ {
211
+ "idx": 11,
212
+ "type": "text",
213
+ "cid": "comp_31",
214
+ "className": "Text",
215
+ "expectText": "可能涉及账户服务提醒,请查看确认。",
216
+ "actualText": "可能涉及账户服务提醒,请查看确认。",
217
+ "via": "text",
218
+ "expRect": {
219
+ "x": 64,
220
+ "y": 666,
221
+ "width": 254,
222
+ "height": 18
223
+ },
224
+ "actRect": {
225
+ "x": 16,
226
+ "y": 354,
227
+ "width": 221,
228
+ "height": 19.5
229
+ },
230
+ "dx": -48,
231
+ "dy": -312,
232
+ "dw": -33,
233
+ "dh": 1.5,
234
+ "dxL": -6,
235
+ "dyL": 20.5
236
+ },
237
+ {
238
+ "idx": 12,
239
+ "type": "text",
240
+ "cid": "comp_34",
241
+ "className": "Row",
242
+ "expectText": "全部设为已读",
243
+ "actualText": "全部设为已读",
244
+ "via": "text-far",
245
+ "expRect": {
246
+ "x": 142.95,
247
+ "y": 723.5,
248
+ "width": 90,
249
+ "height": 21
250
+ },
251
+ "actRect": {
252
+ "x": 0,
253
+ "y": 385.5,
254
+ "width": 375,
255
+ "height": 60
256
+ },
257
+ "dx": -142.9,
258
+ "dy": -338,
259
+ "dw": 285,
260
+ "dh": 39,
261
+ "dxL": -100.9,
262
+ "dyL": -5.5
263
+ },
264
+ {
265
+ "idx": 13,
266
+ "type": "text",
267
+ "cid": "comp_39",
268
+ "className": "Text",
269
+ "expectText": "欢迎向米宝提问~",
270
+ "actualText": "动账 5 · 转账 2 · 站内 1 · 其他 4",
271
+ "via": "geometry",
272
+ "expRect": {
273
+ "x": 62,
274
+ "y": 808,
275
+ "width": 120,
276
+ "height": 20
277
+ },
278
+ "actRect": {
279
+ "x": 0,
280
+ "y": 474.5,
281
+ "width": 181.1,
282
+ "height": 19.5
283
+ },
284
+ "dx": -62,
285
+ "dy": -333.5,
286
+ "dw": 61.1,
287
+ "dh": -0.5,
288
+ "dxL": -20,
289
+ "dyL": -1
290
+ }
291
+ ],
292
+ "unmatchedSpec": [
293
+ {
294
+ "type": "text",
295
+ "text": "重点摘要",
296
+ "rect": {
297
+ "x": 32,
298
+ "y": 396,
299
+ "width": 60,
300
+ "height": 22
301
+ }
302
+ },
303
+ {
304
+ "type": "text",
305
+ "text": "按强重要、待关注、时间倒序展示,不超过3条",
306
+ "rect": {
307
+ "x": 32,
308
+ "y": 420,
309
+ "width": 311,
310
+ "height": 18
311
+ }
312
+ },
313
+ {
314
+ "type": "text",
315
+ "text": "条未读消息",
316
+ "rect": {
317
+ "x": 74,
318
+ "y": 328,
319
+ "width": 75,
320
+ "height": 22
321
+ }
322
+ },
323
+ {
324
+ "type": "text",
325
+ "text": "动账 5 · 转账 2 · 站内 1 · 其他 4",
326
+ "rect": {
327
+ "x": 74,
328
+ "y": 352,
329
+ "width": 196,
330
+ "height": 18
331
+ }
332
+ },
333
+ {
334
+ "type": "text",
335
+ "text": "查看全部",
336
+ "rect": {
337
+ "x": 263,
338
+ "y": 328,
339
+ "width": 56,
340
+ "height": 20
341
+ }
342
+ },
343
+ {
344
+ "type": "text",
345
+ "text": "对话",
346
+ "rect": {
347
+ "x": 170.5,
348
+ "y": 54,
349
+ "width": 34,
350
+ "height": 24
351
+ }
352
+ },
353
+ {
354
+ "type": "text",
355
+ "text": "9:41",
356
+ "rect": {
357
+ "x": 35,
358
+ "y": 15.9,
359
+ "width": 26,
360
+ "height": 14
361
+ }
362
+ },
363
+ {
364
+ "type": "text",
365
+ "text": "9:4",
366
+ "rect": {
367
+ "x": 35,
368
+ "y": 15.9,
369
+ "width": 20,
370
+ "height": 14
371
+ }
372
+ },
373
+ {
374
+ "type": "text",
375
+ "text": "1",
376
+ "rect": {
377
+ "x": 54.5,
378
+ "y": 15.9,
379
+ "width": 6,
380
+ "height": 14
381
+ }
382
+ },
383
+ {
384
+ "type": "text",
385
+ "text": "最近有什么消息",
386
+ "rect": {
387
+ "x": 238,
388
+ "y": 110,
389
+ "width": 105,
390
+ "height": 22
391
+ }
392
+ },
393
+ {
394
+ "type": "text",
395
+ "text": "查询到您最近有未读消息12条,其中动账通知5条、转账消息2条、站内消息1条。优先提醒您:今日有3笔账户动账,合计支出2,580.00元;1笔转账已成功;另有1条站内服务提醒消息,需要查看。",
396
+ "rect": {
397
+ "x": 32,
398
+ "y": 168,
399
+ "width": 311,
400
+ "height": 110
401
+ }
402
+ }
403
+ ],
404
+ "suggestions": [
405
+ "整卡水平偏移 -42.0px(公共偏移已扣除,不影响逐元素评估;若渲染卡含外层留白/容器 padding 请检查根容器)",
406
+ "整卡垂直偏移 -332.5px(通常来自设计稿含状态栏/导航而渲染卡仅卡片主体;若渲染卡内确有同类元素整体偏移,请检查根容器 padding)",
407
+ "[Text×8] 垂直系统性偏移 +8.3px → 疑似父容器 padding 或行高 lineHeight/间距配置",
408
+ "单元素离群:「12」(Text)偏离同类中位 22.3px → 检查该元素自身 align/padding/fontSize",
409
+ "单元素离群:「今日有一笔支出动账」(Text)偏离同类中位 12.3px → 检查该元素自身 align/padding/fontSize",
410
+ "单元素离群:「金额1,280.00元,建议核对」(Text)偏离同类中位 8.3px → 检查该元素自身 align/padding/fontSize",
411
+ "单元素离群:「一笔转账正在处理中」(Text)偏离同类中位 10.3px → 检查该元素自身 align/padding/fontSize",
412
+ "单元素离群:「状态未完成,可进入详情查看处理进」(Text)偏离同类中位 10.3px → 检查该元素自身 align/padding/fontSize",
413
+ "单元素离群:「有一条站内消息待查看」(Text)偏离同类中位 8.3px → 检查该元素自身 align/padding/fontSize",
414
+ "单元素离群:「可能涉及账户服务提醒,请查看确认」(Text)偏离同类中位 12.3px → 检查该元素自身 align/padding/fontSize",
415
+ "单元素离群:「欢迎向米宝提问~」(Text)偏离同类中位 20.0px → 检查该元素自身 align/padding/fontSize"
416
+ ]
417
+ }