建材商城系统20241014
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.

49 lines
904 B

8 months ago
  1. export default {
  2. props: {
  3. // 当前匹配项的name
  4. value: {
  5. type: [String, Number, null],
  6. default: null
  7. },
  8. // 是否为iPhoneX留出底部安全距离
  9. safeAreaInsetBottom: {
  10. type: Boolean,
  11. default: true
  12. },
  13. // 是否显示上方边框
  14. border: {
  15. type: Boolean,
  16. default: true
  17. },
  18. // 元素层级z-index
  19. zIndex: {
  20. type: [String, Number],
  21. default: 9
  22. },
  23. // 选中标签的颜色
  24. activeColor: {
  25. type: String,
  26. default: '#1989fa'
  27. },
  28. // 未选中标签的颜色
  29. inactiveColor: {
  30. type: String,
  31. default: '#7d7e80'
  32. },
  33. // 是否固定在底部
  34. fixed: {
  35. type: Boolean,
  36. default: true
  37. },
  38. // fixed定位固定在底部时,是否生成一个等高元素防止塌陷
  39. placeholder: {
  40. type: Boolean,
  41. default: true
  42. },
  43. // 图标大小
  44. iconSize: {
  45. type: [String, Number],
  46. default: 20
  47. },
  48. ...uni.$uv?.props?.tabbar
  49. }
  50. }