1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- export default {
- props: {
- // 标题,有值则显示,同时会显示关闭按钮
- title: {
- type: String,
- default: ''
- },
- // 选项上方的描述信息
- description: {
- type: String,
- default: ''
- },
- // 数据
- actions: {
- type: Array,
- default: () => []
- },
- // 取消按钮的文字,不为空时显示按钮
- cancelText: {
- type: String,
- default: ''
- },
- // 点击某个菜单项时是否关闭弹窗
- closeOnClickAction: {
- type: Boolean,
- default: true
- },
- // 处理底部安全区(默认true)
- safeAreaInsetBottom: {
- type: Boolean,
- default: true
- },
- // 小程序的打开方式
- openType: {
- type: String,
- default: ''
- },
- // 点击遮罩是否允许关闭 (默认true)
- closeOnClickOverlay: {
- type: Boolean,
- default: true
- },
- // 圆角值
- round: {
- type: [Boolean, String, Number],
- default: 0
- },
- ...uni.$uv?.props?.actionSheet
- }
- }
|