1.1.6 • Published 2 years ago

dashazhi-bounced v1.1.6

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

bounced

弹框组件

Build Setup

# install dependencies
npm i dashazhi-bounced

#在main.js全局挂载
import message from 'dashazhi-bounced'
Vue.prototype.$message = message;

#在页面中使用
this.$message({
    showType: 2,
    confirmBtnText:'确认',
    toastContent:'我是弹框',
}).then(()=>{}).catch(()=>{})

#参数设置
showType   弹窗类型  0,轻提醒  1,单按钮  2,双按钮
toastContent  弹窗文案
toastTitle  弹窗标题 showType为1或2
closeBtnText  取消文案 showType为1
confirmBtnText  确定文案 showType为1或2
time         弹窗展示时间 showType为0
showToast    弹窗是否隐藏
1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago