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.

36 lines
1011 B

5 months ago
  1. import { defineMixin } from '../../libs/vue'
  2. import defProps from '../../libs/config/props.js'
  3. export const props = defineMixin({
  4. props: {
  5. // 是否展示工具条
  6. show: {
  7. type: Boolean,
  8. default: () => defProps.toolbar.show
  9. },
  10. // 取消按钮的文字
  11. cancelText: {
  12. type: String,
  13. default: () => defProps.toolbar.cancelText
  14. },
  15. // 确认按钮的文字
  16. confirmText: {
  17. type: String,
  18. default: () => defProps.toolbar.confirmText
  19. },
  20. // 取消按钮的颜色
  21. cancelColor: {
  22. type: String,
  23. default: () => defProps.toolbar.cancelColor
  24. },
  25. // 确认按钮的颜色
  26. confirmColor: {
  27. type: String,
  28. default: () => defProps.toolbar.confirmColor
  29. },
  30. // 标题文字
  31. title: {
  32. type: String,
  33. default: () => defProps.toolbar.title
  34. }
  35. }
  36. })