Skip to content

OverlayPanel 浮层面板 ​

贴在定位父级的四角。父级需要 position 不是 static。

点位

东门摄像头在线
vue
<div style="position: relative; min-height: 180px">
  <CkOverlayPanel title="点位" placement="top-right">东门摄像头在线</CkOverlayPanel>
</div>

API ​

属性说明类型默认
open是否显示booleantrue
title标题string''
closable关闭按钮booleantrue
placement角落'top-left' | 'top-right' | 'bottom-left' | 'bottom-right''top-right'