comments-card.ts 818 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Component({
  2. externalClasses: ['wr-class'],
  3. options: {
  4. multipleSlots: true,
  5. },
  6. properties: {
  7. goodsDetailInfo: {
  8. type: String,
  9. value: '',
  10. },
  11. sellerReply: {
  12. type: String,
  13. value: '',
  14. },
  15. userAvatar: {
  16. type: String,
  17. value: '',
  18. },
  19. userName: {
  20. type: String,
  21. default: '',
  22. },
  23. content: {
  24. type: String,
  25. value: '',
  26. },
  27. score: {
  28. type: Number,
  29. value: 0,
  30. },
  31. commentTime: {
  32. type: String,
  33. value: '',
  34. },
  35. commentResources: {
  36. type: Array,
  37. value: [],
  38. },
  39. },
  40. data: {
  41. showMoreStatus: false,
  42. showContent: false,
  43. hideText: false,
  44. eleHeight: null,
  45. overText: false,
  46. isDisabled: true,
  47. startColors: ['#FFC51C', '#DDDDDD'],
  48. },
  49. methods: {},
  50. })