仿互站小程序
This commit is contained in:
21
vant/overlay/index.js
Normal file
21
vant/overlay/index.js
Normal file
@@ -0,0 +1,21 @@
|
||||
(0, require("../common/component").VantComponent)({
|
||||
props: {
|
||||
show: Boolean,
|
||||
mask: Boolean,
|
||||
customStyle: String,
|
||||
duration: {
|
||||
type: [ Number, Object ],
|
||||
value: 300
|
||||
},
|
||||
zIndex: {
|
||||
type: Number,
|
||||
value: 1
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onClick: function() {
|
||||
this.$emit("click");
|
||||
},
|
||||
noop: function() {}
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user