sixue-content
TypeScript icon, indicating that this package has built-in type declarations

1.1.9 • Public • Published

内容模块模版

sixue-content

魔盒系统内容模块模版

API

参数名 说明 必填 类型 默认值 备注
children 页面内容node节点, Jsx true node 必传页面内肯定是有内容的!
breadList 面包屑数据 false array [] 为空时不展示面包屑, 参数示例: [{ name: 'Dome', link: '' }, { name: '列表展示', link: '' }]
tabList Tab功能切换标签 false array [] 为空时不展示切换标签模块, 参数示例: [{ name: '标签tabs - 1', key: 'b1'}, { name: '标签tabs - 2', key: 'b2'}]
tabIndex Tab默认选中 false number 0 tabList 选中值的下标;
tabFunc Tab标签切换方法 false func '' 用于接收组件内tab切换时选中的 key 值;
isBackground scrollNode类是否显示背景 false bool true

Readme

Keywords

Package Sidebar

Install

npm i sixue-content

Weekly Downloads

22

Version

1.1.9

License

MIT

Unpacked Size

457 kB

Total Files

18

Last publish

Collaborators

  • sixue1992