<template>
  <view class="follow-card-container">
    <clue-follow :clueId="clueId" :type="type" />
  </view>
</template>

<script>
import clueFollow from '@/pages/orderDetail/tabs/followRecord/index.vue'

export default {
  name: 'FollowCard',
  components: {
    clueFollow
  },
  props: {
    clueId: {
      type: [String, Number],
      default: ''
    },
    type: {
      type: [String, Number],
      required: true
    }
  }
}
</script>

<style scoped lang="scss">
.follow-card-container {
  padding: 20rpx;
  background-color: #ffffff;
  min-height: auto;

  // 覆盖 clue-follow 组件的样式
  ::v-deep .followRecord_wrap {
    min-height: auto;
    background: transparent;
    padding: 0;
  }

  ::v-deep .followRecord_timeLine_wrap {
    background: transparent;
  }

  ::v-deep .empty_wrap {
    position: static;
    transform: none;
    padding: 40rpx 0;
    text-align: center;
    color: #999999;
    font-size: 28rpx;
  }
}
</style>
