Appearance
OverlayPanel 浮层面板
贴在定位父级的四角。父级需要 position 不是 static。
点位
东门摄像头在线
vue
<div style="position: relative; min-height: 180px">
<CkOverlayPanel title="点位" placement="top-right">东门摄像头在线</CkOverlayPanel>
</div>API
| 属性 | 说明 | 类型 | 默认 |
|---|---|---|---|
| open | 是否显示 | boolean | true |
| title | 标题 | string | '' |
| closable | 关闭按钮 | boolean | true |
| placement | 角落 | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-right' |