FollowCard.vue 957 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <template>
  2. <view class="follow-card-container">
  3. <clue-follow :clueId="clueId" :type="type" />
  4. </view>
  5. </template>
  6. <script>
  7. import clueFollow from '@/pages/orderDetail/tabs/followRecord/index.vue'
  8. export default {
  9. name: 'FollowCard',
  10. components: {
  11. clueFollow
  12. },
  13. props: {
  14. clueId: {
  15. type: [String, Number],
  16. default: ''
  17. },
  18. type: {
  19. type: [String, Number],
  20. required: true
  21. }
  22. }
  23. }
  24. </script>
  25. <style scoped lang="scss">
  26. .follow-card-container {
  27. padding: 20rpx;
  28. background-color: #ffffff;
  29. min-height: auto;
  30. // 覆盖 clue-follow 组件的样式
  31. ::v-deep .followRecord_wrap {
  32. min-height: auto;
  33. background: transparent;
  34. padding: 0;
  35. }
  36. ::v-deep .followRecord_timeLine_wrap {
  37. background: transparent;
  38. }
  39. ::v-deep .empty_wrap {
  40. position: static;
  41. transform: none;
  42. padding: 40rpx 0;
  43. text-align: center;
  44. color: #999999;
  45. font-size: 28rpx;
  46. }
  47. }
  48. </style>