0.0.1 • Published 3 years ago

turn-lucky v0.0.1

Weekly downloads
2
License
ISC
Repository
-
Last release
3 years ago

turn-lucky

vue翻牌抽奖组件

方法 closeDialog (关闭弹窗事件) flipCard (翻牌事件)

传入参数:

参数typeexample
titleString福袋
imgSrcString图片地址
showDialogBoolean弹窗是否关闭
luckNameString中奖名字
btnTextString弹窗按钮文案

npm包  npm install turn-lucky

在需要用到的页面中(注意 一个页面目前只能引入一次)

import drawLucky from "turn-lucky";

components: { drawLucky }