<template>
  <view class="page_item">
    <view class="page_item_top">
      <view class="page_item_top-inner">
        <view class="page_item_top_L">
          <view class="L_text"><text class="serialNumber">{{i + 1}}</text>{{ item.clinicalWasteSn || "无" }}</view>
        </view>
        <view class="page_item_top_R"></view>
      </view>
    </view>
    <view class="page_item_cont">
      <view class="page_item_cont_T">
        <view class="page_item_cont_title">
          <view style="width: 10em;"> 申请科室 </view>
          <view class="text_big">{{ item.dept ? item.dept.dept : "无" }}</view>
        </view>
        <view class="page_item_cont_title">
          <view class="text_big"> {{ item.clinicalWasteType ? item.clinicalWasteType.typeName : "无" }} </view>
          <view class="text_big">{{ item.weight }}kg</view>
        </view>
        <view class="page_item_cont_title">
          <view class="text_big"> 收取:{{ item.receivor ? item.receivor.name : "无" }} </view>
          <view class="text_big">{{item.receiveTime | formatDate('yyyy-MM-dd hh:mm')}}</view>
        </view>
        <view class="page_item_cont_title">
          <view class="text_big" style="text-align: left;"> {{ item.remark }} </view>
        </view>
      </view>
    </view>
    <view class="L"></view>
    <view class="R"></view>
  </view>
</template>

<script>
  export default {
    props: {
      i: {
        type: Number,
      },
      item: {
        type: Object,
      },
    },
  };
</script>

<style lang="less" scoped>
  .page_item {
    margin-top: 16rpx;
    margin-bottom: 124rpx;
    background: #fff;
    border-radius: 8rpx;
    margin: 0 20rpx;
    border: 2rpx solid #e5e9ed;
    position: relative;
    overflow: hidden;
    padding: 0 16rpx;
  
    .L {
      width: 40rpx;
      height: 40rpx;
      border-radius: 50%;
      background: #f9fafb;
      position: absolute;
      left: -20rpx;
      top: 68rpx;
      border: 2rpx solid #e5e9ed;
    }
  
    .R {
      width: 40rpx;
      height: 40rpx;
      border-radius: 50%;
      background: #f9fafb;
      position: absolute;
      float: right;
      right: -20rpx;
      top: 68rpx;
      border: 2rpx solid #e5e9ed;
    }
  
    .starting {
      width: 50rpx;
      height: 50rpx;
      color: #fff;
      background: #49b856;
      display: inline-block;
      border-radius: 50%;
      text-align: center;
      line-height: 46rpx;
      font-size: 32rpx;
      margin-right: 6rpx;
    }
  
    .End {
      width: 50rpx;
      height: 50rpx;
      color: #fff;
      background: #39b199;
      display: inline-block;
      border-radius: 50%;
      text-align: center;
      line-height: 46rpx;
      font-size: 32rpx;
      margin-right: 6rpx;
    }
  
    .page_item_top {
      height: 88rpx;
      border-bottom: 2rpx dashed #e5e9ed;
      padding: 0 16rpx;
  
      .page_item_top-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
  
        .page_item_top_L {
          .serialNumber{
            width: 50rpx;
            height: 50rpx;
            border-radius: 50%;
            background-color: #49b856;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            line-height: 0;
            margin-right: 8rpx;
          }
          .emergencys {
            background: #ff3b53 !important;
            width: 124rpx !important;
          }
  
          .emergency {
            background: #ff3b53 !important;
          }
  
          .emergency1 {
            background: #49b856 !important;
          }
  
          .page_item_cont_start {
            text-align: center;
            height: 44rpx;
            width: 104rpx;
            line-height: 44rpx;
            border-radius: 8rpx;
            background: #49b856;
            color: #fff;
            display: inline-block;
          }
  
          .L_time {
            color: #6cc076;
            font-size: 32rpx;
          }
  
          .L_text {
            font-size: 32rpx;
            font-weight: 700;
            display: flex;
            align-items: center;
          }
        }
  
        .page_item_top_R {
          font-size: 32rpx;
  
          .back {
            background-color: #49b856;
          }
  
          .L_iocn {
            color: rgb(7, 134, 60);
            font-size: 36rpx;
            font-weight: 700;
          }
        }
      }
    }
  
    .page_item_cont {
      min-height: 90rpx;
      padding: 0 16rpx;
      text-align: left;
      position: relative;
  
      .text_big {
        font-size: 32rpx;
        font-weight: 700;
        margin-top: 10rpx;
        text-align: right;
        word-break: break-all;
        line-height: 1.25;
  
        p {
          font-weight: 700;
          line-height: 1.5;
        }
      }
  
      .page_item_cont_T {
        padding-top: 28rpx;
        padding-bottom: 28rpx;
        font-size: 28rpx;
  
        .page_item_cont_title {
          height: 100%;
          font-size: 32rpx;
          display: flex;
          justify-content: space-between;
          align-items: center;
        }
      }
  
      .page_item_cont_B {
        padding-top: 28rpx;
        margin-bottom: 28rpx;
  
        .page_item_cont_title {
          font-size: 32rpx;
          display: flex;
          justify-content: space-between;
        }
  
        .page_item_cont_title1 {
          height: 60rpx;
          line-height: 60rpx;
          font-size: 32rpx;
          padding-left: 64rpx;
        }
      }
    }
  
    .page_item_foot {
      border-top: 2rpx dashed #e5e9ed;
      border-bottom: 2rpx dashed #e5e9ed;
      padding: 28rpx 16rpx;
      text-align: left;
  
      .page_item_foot_text {
        font-size: 32rpx;
        margin-bottom: 20rpx;
  
        .text1 {
          color: rgb(102, 102, 102);
        }
  
        .text2 {
          float: right;
          font-weight: 700;
        }
      }
    }
  
    #infos {
      display: none;
    }
  
    .page_item_infos {
      padding-bottom: 20rpx;
      border-bottom: 2rpx dashed #e5e9ed;
  
      .page_item_info2 {
        text-align: left;
        line-height: 60rpx;
        font-size: 32rpx;
        padding-left: 16rpx;
  
        .page_item_foot_text {
          font-size: 32rpx;
          margin-bottom: 20rpx;
  
          .text1 {
            color: rgb(102, 102, 102);
          }
  
          .text2 {
            float: right;
            font-weight: 700;
          }
        }
      }
    }
  }
</style>