完整用法
顶部滑出的消息通知
<cu-notify :show="show" :type="notifyType" :color="color" :bgColor="bgColor" :message="message" :top="top" :fontSize="fontSize" @close="close" /> <cu-notify :show="slotShow" type="success" message="图标由页面通过具名 slot icon 提供"> <template v-slot:icon> <text> ★ </text> </template> </cu-notify>