跳到主要内容

Web Device layout component(站点) · ARC 2.0.0-beta.28

site `object-card`

本站 layout component `object-card`(`.web/components`):用途、边界、证据与 sample 诚实边界。

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

站点包:blocklets/arcblock/.web/components/object-card/。解析优先级:site override > theme default。

用途

把页面引用的对象解析为现网记录,并渲染其当前状态。

边界

  • 除非同名 theme 包也存在(此时本页为 override 合同),否则为本站专用。
  • 不要在本页写 AUP primitive 或 MD 指令合同。
  • 勿发明超出站点 manifest.json 的 props。

作者入口

集合/对象 layout

常见作者 props(来自 manifest):title, description, refs, objects, basePath, emptyText, objectBase, badgeField

表面

layout(挂载处亦可为 docs 壳)。

公共状态

released

Fallback

—

Sample

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

证据

项路径
站点包blocklets/arcblock/.web/components/object-card/
Manifest…/object-card/manifest.json
Renderer…/object-card/render.js(若有)
内部矩阵docs/aup/capability-matrix.md §5(内部,不对外路由)
矩阵行概念site layout-component · object-card

备注

可能含 script.js。

相关