import { commonProps } from "../../common" export const modalProps = { // 显示控制 modelValue: { type: Boolean, default: false }, // 弹框宽度 width: { type: String, default: '84%' }, // 内边距 padding: { type: String, default: '' }, // 圆角 radius: { type: Number, default: 12 }, // 标题 title: { type: String, default: '' }, // 内容 content: { type: String, default: '' }, // 按钮内容 设置参数与button组件的参数一致 // { // text: '确定', // backgroundColor: 'red', // fontColor: 'white', // plain: true, // shape: '' // } button: { type: Array, default: () => { return [] } }, safeAreaInsetBottom: { type: Boolean, default: false }, // 点击遮罩是否可以关闭 maskCloseable: { type: Boolean, default: true }, // 是否显示右上角关闭按钮 showCloseBtn: { type: Boolean, default: false }, // 放大动画 zoom: { type: Boolean, default: true }, // 自定义弹框内容 custom: { type: Boolean, default: false }, // 弹框的z-index zIndex: { type: Number, default: 0 }, ...commonProps }