This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop-wechat/components/pop-manager/index.js

31 lines
540 B
JavaScript
Raw Permalink Normal View History

2020-04-25 22:59:04 +08:00
'use strict';
Component({
properties: {
show: {
type: Boolean,
value: false
},
// 是否有遮罩层
overlay: {
type: Boolean,
value: true
},
// 遮罩层是否会显示
showOverlay: {
type: Boolean,
value: true
},
// 内容从哪个方向出,可选 center top bottom left right
type: {
type: String,
value: 'center'
}
},
methods: {
handleMaskClick: function handleMaskClick() {
this.triggerEvent('clickmask', {});
}
}
});