const modelPop = {
template: `
{{title}}
{{text}}
我知道了
`,
props: {
/* 弹窗状态 */
show: {
type: Boolean,
default: false
},
title: {
type: String,
default: "领取成功"
},
text: {
type: String,
default: "恭喜您,已经领取成功啦"
},
status: {
type: Number,
default: 1
}
},
methods: {
/* 关闭 */
colesFunction() {
this.$emit("update:show", false)
this.$emit("back_function")
}
}
}