跳到主要内容

Web Device surface · ARC 2.0.0-beta.28

`search-page` surface

Web Device surface `search-page`:用途、边界、作者入口、证据与 sample 诚实边界。

这是 Web Device surface,不是 AUP primitive(surface),不是 AUP widget(wm-surface / 同名 widget),也不是 theme layout component。

包:providers/runtime/web-device/surfaces/search-page/(manifest.json + render.js)。

用途

全站搜索页:输入框 + 由标准 AFS search op 驱动的客户端结果。

边界

  • Surface 包由 board/路由/layout 壳挂载——不是 Markdown 指令。
  • 与 widget 同名不合并层;本页只写 surface 合同。
  • 不要在本页写多个 surface。

作者入口

search route

常见作者 props(来自 manifest):basePath, title, placeholder, searchRoot, localeFilter, collections

表面

由本包实现(document 壳、layout 列表、交互站点等——见备注)。

公共状态

released

Fallback

无结果 → 空结果区。

Sample

本站尚无 docs-safe live sample。请以证据路径作 source-only 参考。experimental 单元不得写成已发布产品能力。

证据

项路径
Surface 包providers/runtime/web-device/surfaces/search-page/
Manifest…/search-page/manifest.json
Renderer…/search-page/render.js
内部矩阵docs/aup/capability-matrix.md §4(内部,不对外路由)
矩阵行概念surface · search-page

备注

尚无独立 docs-safe reference sample;线上 search 路由即证据面。

相关