lanyun-popup

介绍

弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中间弹出。

使用方法

import "../../components/lanyun-popup/lanyun-popup.stml";

例子

<lanyun-popup @close="handleClose" position="top" :show="show">
    <text>我是内容</text>
</lanyun-popup>

props 属性

参数 说明 类型 默认值
show 显示状态,必填,可选值为 true false boolean -
closeable 点击遮罩是否出发close事件,选填,可选值为 true false boolean true
position 显示位置,选填,可选值为 top right bottom left center string center

events 事件

事件名 说明 回调参数
close 关闭弹出层时触发 -

帮助说明

该组件最好放在底部 否则会出现z-index问题
是否仍需要帮助? 请保持联络!
最后更新于 2024/04/24