uni-app引入使用uView

This commit is contained in:
sfmind
2022-04-06 16:08:26 +08:00
parent 9ae44336db
commit 9709f200c2
386 changed files with 38777 additions and 0 deletions

View File

@ -0,0 +1,24 @@
export default {
props: {
// 是否显示遮罩
show: {
type: Boolean,
default: uni.$u.props.overlay.show
},
// 层级z-index
zIndex: {
type: [String, Number],
default: uni.$u.props.overlay.zIndex
},
// 遮罩的过渡时间单位为ms
duration: {
type: [String, Number],
default: uni.$u.props.overlay.duration
},
// 不透明度值当做rgba的第四个参数
opacity: {
type: [String, Number],
default: uni.$u.props.overlay.opacity
}
}
}