跳到主要内容

Web Device layout component · ARC 2.0.0-beta.28

`product-frame`

Web Device layout component `product-frame`:用途、边界、作者入口、证据与 sample 诚实边界。

这是 Web Device layout component,不是 AUP primitive,不是 AUP Web-only widget,也不是 Markdown 指令。

Default theme 包:providers/runtime/web-device/themes/default/components/product-frame/(manifest.json + render.js)。经 layout 组件解析链(runtime surface → theme → 可选 site override)。

用途

纯 CSS 设备/浏览器/终端框,用于已验证的产品截图或命令实录。

边界

  • 不要把它写成 AUP primitive,也不要放在 docs/aup/primitives/ 下。
  • 不要在本页混写多个 layout component 的合同。
  • 作者可见合同以 manifest props 为准;发明的 props 不可移植。

作者入口

layout.aup

常见作者 props(来自 manifest):kind, orientation, src, alt, caption, command, output, size, placeholder

表面

layout(主题支持时也含 narrow)。不是 document Markdown 指令表面。

公共状态

released

Fallback

无图 → 空框。

Sample

本页无独立 docs-safe live mock。合同由挂载该单元的站点 layout.aup(或 docs 壳)证明。作者源从证据路径复制;勿发明超出目标 manifest.json 的 props。

证据

项路径
Theme 包providers/runtime/web-device/themes/default/components/product-frame/
Manifest…/product-frame/manifest.json
Renderer…/product-frame/render.js
内部矩阵docs/aup/capability-matrix.md §3(内部,不对外路由)
矩阵行概念layout-component · product-frame

备注

产品 landing 证据框。

相关