props.js 676 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. export default {
  2. props: {
  3. // 是否展示工具条
  4. show: {
  5. type: Boolean,
  6. default: true
  7. },
  8. // 是否显示下边框
  9. showBorder: {
  10. type: Boolean,
  11. default: false
  12. },
  13. // 取消按钮的文字
  14. cancelText: {
  15. type: String,
  16. default: '取消'
  17. },
  18. // 确认按钮的文字
  19. confirmText: {
  20. type: String,
  21. default: '确认'
  22. },
  23. // 取消按钮的颜色
  24. cancelColor: {
  25. type: String,
  26. default: '#909193'
  27. },
  28. // 确认按钮的颜色
  29. confirmColor: {
  30. type: String,
  31. default: '#3c9cff'
  32. },
  33. // 标题文字
  34. title: {
  35. type: String,
  36. default: ''
  37. },
  38. ...uni.$uv?.props?.toolbar
  39. }
  40. }