You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
646 B

9 months ago
  1. export default {
  2. props: {
  3. // 是否显示遮罩
  4. show: {
  5. type: Boolean,
  6. default: uni.$u.props.overlay.show
  7. },
  8. // 层级z-index
  9. zIndex: {
  10. type: [String, Number],
  11. default: uni.$u.props.overlay.zIndex
  12. },
  13. // 遮罩的过渡时间,单位为ms
  14. duration: {
  15. type: [String, Number],
  16. default: uni.$u.props.overlay.duration
  17. },
  18. // 不透明度值,当做rgba的第四个参数
  19. opacity: {
  20. type: [String, Number],
  21. default: uni.$u.props.overlay.opacity
  22. }
  23. }
  24. }