<template>
  <div class="box-blue-box">
    <div class="box-blue-name">
      <div class="box-blue-time">{{ props.baseInfo.progressdate }}</div>
    </div>
    <div class="box-blue-text one-line-ellipsis">{{ props.baseInfo.progressdetails }}</div>
  </div>
  <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.investDate }}</div>
    </div>
    <div class="box-text-item">
      <div class="box-text-left">{{ "调查对象：" }}</div>
      <div class="box-text-right one-line-ellipsis">{{ props.baseInfo.investSubject }}</div>
    </div>
    <div class="box-text-item">
      <div class="box-text-left">{{ "调查状态：" }}</div>
      <div class="box-text-right one-line-ellipsis">{{ props.baseInfo.investStatus }}</div>
    </div>
    <div class="box-text-item">
      <div class="box-text-left">{{ "请愿方：" }}</div>
      <div class="box-text-right three-line-ellipsis">{{ props.baseInfo.petitioner }}</div>
    </div>
  </div>
</template>

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

<style scoped lang="scss">
.box-blue-box {
  width: 100%;
  padding: 0 20px 10px;
  border: 1px solid rgba(231, 243, 255, 1);
  border-radius: 4px;
  background: rgba(246, 250, 255, 1);

  .box-blue-name {
    height: 38px;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-family: Source Han Sans CN;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary-80-color);
    &::before {
      content: "";
      width: 4px;
      height: 4px;
      border-radius: 2px;
      background: var(--text-primary-80-color);
      margin-right: 12px;
    }
    .box-blue-time {
      height: 24px;
      width: 100px;
    }
  }
  .box-blue-text {
    padding-left: 18px;
    height: 30px;
    color: rgba(59, 65, 75, 1);
    font-family: Source Han Sans CN;
    font-size: 16px;
    line-height: 30px;
  }
}

.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;
    }
    .three-line-ellipsis {
      max-height: 90px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: normal;
    }
  }
}
</style>