@import "~antd/lib/style/themes/default.less";
.orderListHead {
  width: 100%;
  height: 40px;
  background: #f5f5f5;
  clear: both;
  line-height: 40px;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  & div {
    float: left;
  }
  & .orderName {
    width: 220px;
    text-align: center;
  }
  & .orderShipCode {
    width: 250px;
    text-align: left;
  }
  & .orderShipNumber {
    width: 70px;
    text-align: center;
  }
  & .orderCode {
    width: 250px;
    text-align: center;
  }
  & .orderShipDate {
    width: 150px;
    text-align: center;
  }
  & .orderShipStatus {
    width: 150px;
    text-align: center;
  }
  & .orderHandle {
    width: 70px;
    text-align: right;
    padding-right: 10px;
  }
}
// 订单列表
.orderList {
  & .orderItem {
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #e6e6e6;
    & .orderNameBox {
      float: left;
      width: 220px;
      height: 60px;
      padding: 5px 18px 5px 0;
      & .imgBox {
        display: inline-block;
        width: 50px;
        height: 50px;
        border: 1px solid #ebebeb;
        margin-right: 5px;
        &:last-child {
          margin-right: 0;
        }
        & .img {
          display: block;
          width: 48px;
          height: 48px;
        }
      }
      & .ellipsisIcon {
        line-height: 50px;
        float: right;
        color: #666;
        font-size: 16px;
      }
    }
    & .orderSignCodeBox {
      float: left;
      width: 250px;
      height: 60px;
      & .code {
        padding: 0;
        margin: 20px 0 20px 0;
        font-size: 12px;
        color: #333;
      }
    }
    & .orderShipNumberBox {
      float: left;
      width: 70px;
      height: 60px;
      font-size: 12px;
      color: #e14c46;
      text-align: center;
      line-height: 60px;
    }
    & .orderCodeBox {
      float: left;
      width: 250px;
      height: 60px;
      color: #333;
      text-align: center;
      & .codeshowBox {
        width: 200px;
        float: left;
      }
      & .code {
        width: 200px;
        padding: 0;
        margin: 8px 0 8px 20px;
        font-size: 12px;
        color: #333;
        padding-left: 10px;
      }
      & .onlyOneCode {
        width: 200px;
        padding: 0;
        margin: 20px 0 20px 20px;
        font-size: 5px;
        color: #333;
        padding-left: 10px;
      }
      & .ellipsisIcon {
        line-height: 60px;
        float: left;
        color: #666;
        font-size: 16px;
        margin-left: 15px;
      }
    }
    & .orderShipDateBox {
      float: left;
      width: 150px;
      height: 60px;
      color: #999;
      text-align: center;
      line-height: 60px;
    }
    & .orderShipStatusBox {
      float: left;
      width: 150px;
      height: 60px;
      color: #333;
      text-align: center;
      line-height: 60px;
    }

    & .orderHandleBox {
      float: left;
      width: 70px;
      margin-left: 20px;
      height: 60px;
      line-height: 60px;
      font-size: 12px;
      color: #0544a4;
      & .cancelBtn {
        display: inline-block;
        padding: 0 10px;
        height: 16px;
        line-height: normal;
        text-align: center;
        border-right: 1px solid #ddd;
        cursor: pointer;
        &:last-child {
          border-right: none;
        }
      }
    }
  }
}

// 处理追踪
.tailHoverBox {
  width: 230px;
  & .tailItem {
    margin-bottom: 10px;
    position: relative;
    &:first-child {
      // &:before {
      //   background: #59c152;
      // }
      & .point {
        background: #ccc;
      }
    }
    &:last-child {
      &:before {
        content: "";
        position: absolute;
        display: none;
      }
    }
    & .circle {
      display: inline-block;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #fff;
      border: 1px solid #ccc;
      text-align: center;
      position: relative;
      vertical-align: middle;
      & .point {
        position: absolute;
        top: 3px;
        left: 3px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #ccc;
      }
    }
    & .time {
      color: #999;
      font-size: 12px;
      display: inline-block;
      margin-left: 10px;
      vertical-align: middle;
    }
    & .cancelName {
      color: #333;
      font-size: 12px;
      width: 19%;
      display: inline-block;
      margin-left: 30px;
      vertical-align: middle;
    }
  }
}
