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.
55 lines
1.6 KiB
55 lines
1.6 KiB
3 years ago
|
export default {
|
||
|
props: {
|
||
|
// 操作菜单是否展示 (默认false)
|
||
|
show: {
|
||
|
type: Boolean,
|
||
|
default: uni.$u.props.actionSheet.show
|
||
|
},
|
||
|
// 标题
|
||
|
title: {
|
||
|
type: String,
|
||
|
default: uni.$u.props.actionSheet.title
|
||
|
},
|
||
|
// 选项上方的描述信息
|
||
|
description: {
|
||
|
type: String,
|
||
|
default: uni.$u.props.actionSheet.description
|
||
|
},
|
||
|
// 数据
|
||
|
actions: {
|
||
|
type: Array,
|
||
|
default: uni.$u.props.actionSheet.actions
|
||
|
},
|
||
|
// 取消按钮的文字,不为空时显示按钮
|
||
|
cancelText: {
|
||
|
type: String,
|
||
|
default: uni.$u.props.actionSheet.cancelText
|
||
|
},
|
||
|
// 点击某个菜单项时是否关闭弹窗
|
||
|
closeOnClickAction: {
|
||
|
type: Boolean,
|
||
|
default: uni.$u.props.actionSheet.closeOnClickAction
|
||
|
},
|
||
|
// 处理底部安全区(默认true)
|
||
|
safeAreaInsetBottom: {
|
||
|
type: Boolean,
|
||
|
default: uni.$u.props.actionSheet.safeAreaInsetBottom
|
||
|
},
|
||
|
// 小程序的打开方式
|
||
|
openType: {
|
||
|
type: String,
|
||
|
default: uni.$u.props.actionSheet.openType
|
||
|
},
|
||
|
// 点击遮罩是否允许关闭 (默认true)
|
||
|
closeOnClickOverlay: {
|
||
|
type: Boolean,
|
||
|
default: uni.$u.props.actionSheet.closeOnClickOverlay
|
||
|
},
|
||
|
// 是否显示圆角 (默认false)
|
||
|
round: {
|
||
|
type: Boolean,
|
||
|
default: uni.$u.props.actionSheet.round
|
||
|
}
|
||
|
}
|
||
|
}
|