init
This commit is contained in:
31
fuintUniapp/components/pop-manager/index.js
Normal file
31
fuintUniapp/components/pop-manager/index.js
Normal file
@@ -0,0 +1,31 @@
|
||||
'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', {});
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user