Files
marqdo/examples/web-layout-handbook-zh/components/index.mq.md

1.1 KiB

markup, import
markup import
occlusion
组件 布局 nav content footer
ext/web/网页/组件/索引.mq.md ext/web/布局/索引.mq.md ./nav/index.mq.md ./main/index.mq.md ./footer/index.mq.md

节点

返回 类型 说明
result list Nested child rows

本层只安排导航、主体、页脚之间的关系,正文仍留在对应 Markdown 叶子中。 若子块仍含独立分栏,就继续沿对应目录的 index.mq.md 分解。 不要把渲染后的字符串放回值列,子节点在整个装配过程中保持结构。

We first nav_nodes = Compute nav_nodes for the next step. We first content_nodes = Compute content_nodes for the next step. We first footer_nodes = Compute footer_nodes for the next step. We first upper_regions = [Compute upper_regions](组件.合并(甲=nav_nodes, 乙=content_nodes)) for the next step. We first home_regions = [Compute home_regions](组件.合并(甲=upper_regions, 乙=footer_nodes)) for the next step. After these steps, return 布局.纵排(子节点=home_regions, 槽="home").