@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: 200px;
    text-align: center;
  }
  & .orderCode {
    width: 270px;
    text-align: left;
  }
  & .orderPrice {
    width: 140px;
    text-align: center;
  }
  & .orderStatus {
    width: 120px;
    text-align: center;
  }
  & .orderPay {
    width: 150px;
    text-align: center;
  }
  & .orderTail {
    width: 190px;
    text-align: center;
  }
  & .orderCancel {
    width: 190px;
    text-align: right;
    padding-right: 10px;
  }
}
// 订单列表
.orderList {
  & .orderItem {
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #e6e6e6;
    & .orderNameBox {
      float: left;
      width: 200px;
      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;
      }
    }
    & .orderCodeBox {
      float: left;
      width: 270px;
      height: 60px;
      & .code {
        padding: 0;
        margin: 10px 0 5px 0;
        font-size: 12px;
        color: #333;
        text-decoration: underline;
        cursor: pointer;
      }
      & .time {
        font-size: 12px;
        color: #999;
        margin: 0;
        padding: 0;
      }
    }
    & .orderPriceBox {
      float: left;
      width: 140px;
      height: 60px;
      font-size: 12px;
      color: #e14c46;
      text-align: center;
      line-height: 60px;
    }
    & .orderStatusBox {
      float: left;
      width: 120px;
      height: 60px;
      color: #333;
      text-align: center;
      line-height: 60px;
    }
    & .orderPayBox {
      float: left;
      width: 150px;
      height: 60px;
      color: #333;
      text-align: center;
      line-height: 60px;
    }
    & .orderTailBox {
      float: left;
      width: 190px;
      height: 60px;
      text-align: center;
      line-height: 60px;
      & .clockIcon {
        font-size: 16px;
        color: #666;
        cursor: pointer;
      }
    }
    & .orderCancelBox {
      float: left;
      margin-left: 78px;
      width: 190px;
      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: 280px;
  & .tailItem {
    margin-bottom: 10px;
    position: relative;
    &:before {
      content: "";
      position: absolute;
      top: 10px;
      left: 5px;
      height: 29px;
      width: 2px;
      background: #d8d8d8;
    }
    &:first-child {
      &:before {
        background: #59c152;
      }
      & .circle {
        border: 1px solid #59c152;
        & .point {
          background: #59c152;
        }
      }
      & .cancelType {
        color: #59c152;
      }
    }
    &: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;
    }
    & .cancelType {
      color: #333;
      font-size: 12px;
      display: inline-block;
      margin-left: 20px;
      vertical-align: middle;
    }
    & .cancelName {
      color: #333;
      font-size: 12px;
      width: 19%;
      display: inline-block;
      margin-left: 30px;
      vertical-align: middle;
    }
  }
}
