mkm
/
yanzhiAPP
Template
2
0
Fork 0
yanzhiAPP/node_modules/uview-plus/components/u-overlay/props.js

26 lines
678 B
JavaScript
Raw Permalink Normal View History

2023-10-17 16:02:55 +08:00
import defprops from '../../libs/config/props';
export default {
props: {
// 是否显示遮罩
show: {
type: Boolean,
default: defprops.overlay.show
},
// 层级z-index
zIndex: {
type: [String, Number],
default: defprops.overlay.zIndex
},
// 遮罩的过渡时间单位为ms
duration: {
type: [String, Number],
default: defprops.overlay.duration
},
// 不透明度值当做rgba的第四个参数
opacity: {
type: [String, Number],
default: defprops.overlay.opacity
}
}
}