dykj-outsource-12123/uni_modules/uview-plus/components/u-toolbar/props.js

36 lines
948 B
JavaScript
Raw Normal View History

2024-06-28 14:18:30 +08:00
import defProps from '../../libs/config/props.js';
export default {
props: {
// 是否展示工具条
show: {
type: Boolean,
default: () => defProps.toolbar.show
},
// 取消按钮的文字
cancelText: {
type: String,
default: () => defProps.toolbar.cancelText
},
// 确认按钮的文字
confirmText: {
type: String,
default: () => defProps.toolbar.confirmText
},
// 取消按钮的颜色
cancelColor: {
type: String,
default: () => defProps.toolbar.cancelColor
},
// 确认按钮的颜色
confirmColor: {
type: String,
default: () => defProps.toolbar.confirmColor
},
// 标题文字
title: {
type: String,
default: () => defProps.toolbar.title
}
}
}