<template>
  <div class="box-text-box">
    <div class="box-text-item">
      <div class="box-text-left">{{ "启动时间：" }}</div>
      <div class="box-text-right one-line-ellipsis">{{ props.baseInfo.progressdate }}</div>
    </div>
    <div class="box-text-item">
      <div class="box-text-left">{{ "调查概括：" }}</div>
      <div class="box-text-right two-line-ellipsis">{{ props.baseInfo.investSummary }}</div>
    </div>
    <div class="box-text-item">
      <div class="box-text-left">{{ "调查阶段：" }}</div>
      <div class="box-text-right one-line-ellipsis">{{ props.baseInfo.investStage }}</div>
    </div>
    <div class="box-text-item">
      <div class="box-text-left">{{ "调查范围：" }}</div>
      <div class="box-text-right five-line-ellipsis">{{ props.baseInfo.investScope }}</div>
    </div>
  </div>
</template>

<script setup name="CarouselItem337">
const props = defineProps({
  baseInfo: {
    type: Object,
    default: () => ({})
  }
})
</script>

<style scoped lang="scss">
.box-text-box {
  width: 100%;
  padding: 20px 20px 0;
  height: 185px;
  .box-text-item {
    display: flex;
    align-items: flex-start;
    line-height: 30px;
    margin-bottom: 8px;
    &::before {
      content: "";
      width: 4px;
      height: 4px;
      border-radius: 2px;
      background: rgba(59, 65, 75, 1);
      margin-top: 16px;
      margin-right: 12px;
    }
    .box-text-left {
      height: 30px;
      width: 100px;
      color: rgba(59, 65, 75, 1);
      font-family: Source Han Sans CN;
      font-size: 16px;
      font-weight: 700;
    }
    .box-text-right {
      min-height: 30px;
      width: 20px;
      flex: auto;
      color: rgba(59, 65, 75, 1);
      font-family: Source Han Sans CN;
      font-size: 16px;
    }
    .two-line-ellipsis {
      max-height: 60px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: normal;
    }
    .five-line-ellipsis {
      max-height: 150px;
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: normal;
    }
  }
}
</style>