123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- import { defineMixin } from '../../libs/vue'
- import defProps from '../../libs/config/props.js'
- export const props = defineMixin({
- props: {
-
- show: {
- type: Boolean,
- default: () => defProps.popup.show
- },
-
- overlay: {
- type: Boolean,
- default: () => defProps.popup.overlay
- },
-
- mode: {
- type: String,
- default: () => defProps.popup.mode
- },
-
- duration: {
- type: [String, Number],
- default: () => defProps.popup.duration
- },
-
- closeable: {
- type: Boolean,
- default: () => defProps.popup.closeable
- },
-
- overlayStyle: {
- type: [Object, String],
- default: () => defProps.popup.overlayStyle
- },
-
- closeOnClickOverlay: {
- type: Boolean,
- default: () => defProps.popup.closeOnClickOverlay
- },
-
- zIndex: {
- type: [String, Number],
- default: () => defProps.popup.zIndex
- },
-
- safeAreaInsetBottom: {
- type: Boolean,
- default: () => defProps.popup.safeAreaInsetBottom
- },
-
- safeAreaInsetTop: {
- type: Boolean,
- default: () => defProps.popup.safeAreaInsetTop
- },
-
- closeIconPos: {
- type: String,
- default: () => defProps.popup.closeIconPos
- },
-
- round: {
- type: [Boolean, String, Number],
- default: () => defProps.popup.round
- },
-
- zoom: {
- type: Boolean,
- default: () => defProps.popup.zoom
- },
-
- bgColor: {
- type: String,
- default: () => defProps.popup.bgColor
- },
-
- overlayOpacity: {
- type: [Number, String],
- default: () => defProps.popup.overlayOpacity
- }
- }
- })
|