<template>
  <div class="box-blue-box">
    <div class="box-blue-name">
      <div class="box-blue-time">{{ props.baseInfo.progressdate }}</div>
      <div class="box-blue-time">{{ props.baseInfo.progressresult }}</div>
    </div>
    <div class="box-blue-text">{{ 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.searchnum }}</div>
    </div>
    <div class="box-text-item">
      <div class="box-text-left">{{ "涉及产品：" }}</div>
      <div class="box-text-right one-line-ellipsis">{{ props.baseInfo.product }}</div>
    </div>
    <div class="box-text-item">
      <div class="box-text-left">{{ "原告：" }}</div>
      <div class="box-text-right one-line-ellipsis">{{ props.baseInfo.plaintiff }}</div>
    </div>
    <div class="box-text-item">
      <div class="box-text-left">{{ "被告：" }}</div>
      <div class="box-text-right one-line-ellipsis">{{ props.baseInfo.defendant }}</div>
    </div>
    <div class="box-text-item">
      <div class="box-text-left">{{ "涉案专利：" }}</div>
      <div class="box-text-right one-line-ellipsis">{{ props.baseInfo.patent }}</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: 60px;
    color: rgba(59, 65, 75, 1);
    font-family: Source Han Sans CN;
    font-size: 16px;
    line-height: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  }
}

.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;
    }
  }
}
</style>