Layout
Basic usage
In ERP system development, the most common layout is divided into two parts: query area and content area. The query area is used to filter data, and the content area is used to display data. iLayout is used to implement this layout. Developers only need to concern the content of these two areas and do not need to worry about the layout styling.
change background color
You can change the background color of the layout by setting the color attribute.
Switch Tabs
if you need to switch multiple components in one page, you can use the tabs slot to implement the switch.
API
Attributes
| Name | is Required | Description | Type | Default Value |
|---|---|---|---|---|
| color | no | background color | string | #fff |
Slot
| Slot Name | Description |
|---|---|
| tabs | tab area |
| query | query area |
| content | content area |
