
main节点里的cx-page-layout节点是通过ActivatedRoute创建的:
section1里第一个节点就是banner:
下图的cx-page-layout, 实际是消费PageLayout,并给其名为section的input,传入一个字符串值:header
传入header给PageLayoutComponent:
在 layout.config.ts 里定义的这些高亮的字符串,是 slotID:
main节点里的cx-page-layout节点是通过ActivatedRoute创建的:
section1里第一个节点就是banner:
下图的cx-page-layout, 实际是消费PageLayout,并给其名为section的input,传入一个字符串值:header
传入header给PageLayoutComponent:
在 layout.config.ts 里定义的这些高亮的字符串,是 slotID: