lanyun-notify

介绍

组件用于消息提醒,在页面顶部弹出提示,可自动收起

使用方法

import '../../components/lanyun-notify.stml'

例子

<lanyun-notify @end="handleClose" :show="show" content="登录成功" type="success" :duration="2000" />

props 属性

参数 说明 类型 默认值
show 显示状态,必填,可选值为 true false boolean -
content 显示的内容,选填 string -
type 显示位置,选填,可选值为 primary success error warning info string primary
duration 显示时间,选填 number 2000
height 显示高度,选填 number 50

events 事件

事件名 说明 回调参数
end 到显示时间后出发的事件 -

帮助说明

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