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.

29 lines
807 B

9 months ago
  1. export default {
  2. props: {
  3. // 列表锚点文本内容
  4. text: {
  5. type: [String, Number],
  6. default: uni.$u.props.indexAnchor.text
  7. },
  8. // 列表锚点文字颜色
  9. color: {
  10. type: String,
  11. default: uni.$u.props.indexAnchor.color
  12. },
  13. // 列表锚点文字大小,单位默认px
  14. size: {
  15. type: [String, Number],
  16. default: uni.$u.props.indexAnchor.size
  17. },
  18. // 列表锚点背景颜色
  19. bgColor: {
  20. type: String,
  21. default: uni.$u.props.indexAnchor.bgColor
  22. },
  23. // 列表锚点高度,单位默认px
  24. height: {
  25. type: [String, Number],
  26. default: uni.$u.props.indexAnchor.height
  27. }
  28. }
  29. }