Files
bsmall/node_modules/mini-ali-ui/es/mask/index.js
2020-09-24 11:08:03 +08:00

21 lines
516 B
JavaScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import fmtEvent from '../_util/fmtEvent';
Component({
props: {
maskZindex: '',
// product: 产品弹窗蒙层market营销弹窗蒙层
type: 'product',
onMaskTap: function onMaskTap() {},
show: true,
fixMaskFull: false
},
methods: {
onMaskClick: function onMaskClick(e) {
var onMaskTap = this.props.onMaskTap;
if (onMaskTap !== '' && typeof onMaskTap === 'function') {
var event = fmtEvent(this.props, e);
onMaskTap(event);
}
}
}
});