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.

39 lines
1.0 KiB

9 months ago
  1. export default {
  2. props: {
  3. // 文字颜色
  4. color: {
  5. type: String,
  6. default: uni.$u.props.link.color
  7. },
  8. // 字体大小,单位px
  9. fontSize: {
  10. type: [String, Number],
  11. default: uni.$u.props.link.fontSize
  12. },
  13. // 是否显示下划线
  14. underLine: {
  15. type: Boolean,
  16. default: uni.$u.props.link.underLine
  17. },
  18. // 要跳转的链接
  19. href: {
  20. type: String,
  21. default: uni.$u.props.link.href
  22. },
  23. // 小程序中复制到粘贴板的提示语
  24. mpTips: {
  25. type: String,
  26. default: uni.$u.props.link.mpTips
  27. },
  28. // 下划线颜色
  29. lineColor: {
  30. type: String,
  31. default: uni.$u.props.link.lineColor
  32. },
  33. // 超链接的问题,不使用slot形式传入,是因为nvue下无法修改颜色
  34. text: {
  35. type: String,
  36. default: uni.$u.props.link.text
  37. }
  38. }
  39. }