跳到主要内容

eo-banner

Insider
<eo-banner>

构件 eo-banner

Examples

Basic

Playground

Properties

NameDescriptionTypeDefaultRequired
bannerTitlestring
bannerDescriptionstring
narrow

设置窄布局模式(居中)。

  • "full": 全尺寸(非窄布局居中)
  • "small": 小尺寸窄布局
  • "medium": 中等尺寸窄布局
  • "large": 大尺寸窄布局
NarrowViewSize "full"

Slots

NameDescription
(default)

内容区

Type references

NarrowViewSize

"small" | "medium" | "large" | "full"