
<template>
  <div class="bigBox">
    <img src="../../../../assets/images/report01.png" alt="" class="sealImg">
    <div class="top">
      <div class="topIcon">
        <img src="../../../../assets/images/report03.png" alt="">
        <div class="topIconDescribe">
          <div class="describeH">#铸坯编号</div>
          <div class="describeS">{{ castingInformation.prdNo }}</div>
        </div>
      </div>
      <div class="topTitle">
        <div class="topTitleNumber">{{ castingInformation.prdSection }}米m²</div>
        <div class="topTitleName">
          <svg-icon style="font-size: 16px;" icon-class="castingDetailsMj" class="sidebar-logo" />
          <span>铸坯截面尺寸</span>
        </div>
      </div>
      <div class="topTitle">
        <div class="topTitleNumber">{{ castingInformation.prdThick }}mm</div>
        <div class="topTitleName">
          <svg-icon style="font-size: 16px;" icon-class="castingDetailsZd" class="sidebar-logo" />
          <span>铸坯直径</span>
        </div>
      </div>
      <div class="topTitle">
        <div class="topTitleNumber">{{ castingInformation.prdLength }}m</div>
        <div class="topTitleName">
          <svg-icon style="font-size: 16px;" icon-class="castingDetailsZj" class="sidebar-logo" />
          <span>铸坯长度</span>
        </div>
      </div>
      <div class="topTitle">
        <div class="topTitleNumber">{{ castingInformation.prdWeight }}t</div>
        <div class="topTitleName">
          <svg-icon style="font-size: 16px;" icon-class="castingDetailsZl" class="sidebar-logo" />
          <span>铸坯重量</span>
        </div>
      </div>
    </div>
    <div class="bottom">
      <div class="bottomTop">
        <div class="bottomTopWhole"><span class="bottomTopTitle">班组信息：</span><span class="bottomTopContent">{{
          castingInformation.teamIds }}</span>
        </div>
        <div class="bottomTopWhole bottomTopParticulars"><span class="bottomTopTitle">报告时间：</span><span
            class="bottomTopContent">{{ castingInformation.reportTime }}</span></div>
      </div>
      <div class="bottomBottom">
        <div class="bottomTopWhole"><span class="bottomTopTitle">生产时长：</span><span class="bottomTopContent">{{
          castingInformation.proTime }}</span></div>
        <div class="bottomTopWhole bottomTopParticulars"><span class="bottomTopTitle">铸坯生产开始时间：</span><span
            class="bottomTopContent">{{ castingInformation.prdStartTime }}</span></div>
        <div class="bottomTopWhole"><span class="bottomTopTitle">铸坯生产结束时间：</span><span class="bottomTopContent">{{
          castingInformation.prdEndTime }}</span></div>
      </div>
    </div>
  </div>
</template>

<script setup>
const props = defineProps({
  castingInformation: {
    type: Object,
    default: "",
  },
  // queryByPrdNoData: {
  //   type: Object,
  //   default: "",
  // },
});
</script>

<style lang="scss" scoped>
.bigBox {
  padding-top: 10px;
  padding-right: 30px;
  padding-left: 40px;
  width: 100%;
  height: 192px;
  border-top: 3px solid #E83333;
  position: relative;
  margin-top: 2%;
  border-radius: 8px;
  background-image: linear-gradient(rgba(249, 110, 110, 0.1), #fff);

  .sealImg {
    position: absolute;
    left: 3%;
    top: -7%;
  }

  .top {
    display: flex;
    justify-content: space-around;
    height: 120px;

    .topIcon {
      display: flex;
      justify-content: space-around;
      margin-right: 15%;
      height: 96px;
      align-items: center;
      margin-top: 10px;


      img {
        vertical-align: middle;
        width: 70px;
        height: 70px;
        margin-right: 15px;
      }

      .topIconDescribe {
        vertical-align: middle;
        width: 200px;

        .describeH {
          font-size: 16px;
          font-weight: 600;
          height: 24px;
          line-height: 24px;
        }

        .describeS {
          color: #E83333;
          font-weight: 700;
          font-size: 24px;
          height: 32px;
          line-height: 32px;
        }
      }
    }

    .topTitle {
      width: 250px;
      text-align: center;
      margin-top: 30px;

      .topTitleNumber {
        font-weight: 700;
        font-size: 22px;
        height: 30px;
        line-height: 30px;
        color: #E83333;
      }

      .topTitleName {
        font-weight: 400;
        font-size: 14px;
        height: 22px;
        line-height: 22px;
        color: #7B828E;

        .sidebar-logo {
          vertical-align: middle;
          color: #000;
        }

        span {
          display: inline-block;
          vertical-align: middle;
          margin-left: 5px;
        }

      }
    }
  }

  .bottom {
    margin-top: 10px;

    .bottomTop {
      display: flex;
      margin-bottom: 10px;
    }

    .bottomBottom {
      display: flex;
    }

    .bottomTopWhole {
      width: 350px;
    }

    .bottomTopParticulars {
      margin-left: -130px;
    }

    .bottomTopTitle {
      font-weight: 500;
      font-size: 14px;
      height: 22px;
      line-height: 22px;
      color: rgba(11, 24, 45, 1);
    }

    .bottomTopContent {
      font-weight: 400;
      font-size: 14px;
      height: 22px;
      line-height: 22px;
      color: rgba(123, 130, 142, 1);
    }
  }
}
</style>
