@import "~antd/lib/style/themes/default.less";

.goodsListHead {
  width: 100%;
  height: 40px;
  background: #fff;
  clear: both;
  line-height: 40px;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  & div {
    float: left;
  }
  & .goodsDisplayName {
    width: 340px;
    text-align: center;
  }
  & .goodsColor {
    width: 230px;
    text-align: center;
  }
  & .goodsCode {
    width: 150px;
    text-align: center;
  }
  & .goodsPrice {
    width: 160px;
    text-align: center;
  }
  & .goodsInventory {
    width: 120px;
    text-align: left;
    padding-left: 60px;
  }
  & .goodsNum {
    width: 200px;
    padding-left: 70px;
    text-align: left;
  }
  & .goodsMainNum {
    width: 110px;
    text-align: left;
    padding-left: 40px;
  }
  & .goodsCart {
    width: 160px;
    text-align: center;
  }
  & .goodsFocus {
    width: 130px;
    text-align: center;
  }
}
// 列表
.goodsItem {
  width: 100%;
  clear: both;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 0 #e6e6e6;

  & .goodsChildList {
    border-bottom: 1px solid #e6e6e6;
    height: 82px;
    width: 100%;
  }
  & .goodsHead {
    width: 1200px;
    height: 40px;
    background: rgba(245, 245, 245, 0.5);
    padding: 10px 20px 10px 10px;
    & .name {
      vertical-align: middle;
      font-size: 12px;
      color: #333;
      font-weight: bold;
    }
    & .sortItem {
      float: right;
      color: #333;
      font-size: 12px;
      cursor: pointer;
      &:last-child {
        margin-right: 20px;
      }
      & .icon {
        color: #e14c46;
      }
    }
  }
  & .goodsNameBox {
    width: 340px;
    float: left;
    height: 80px;
    & .goodsCheck {
      float: left;
      width: 50px;
      line-height: 80px;
      padding-left: 20px;
    }
  }
  & .goodsColorBox {
    width: 230px;
    text-align: right;
    line-height: 80px;
    float: left;
    height: 80px;
    & .color {
      font-size: 14px;
    }
  }
  
  & .goodsCodeBox {
    width: 150px;
    text-align: center;
    float: left;
    line-height: 80px;
    color: #999;
  }
  & .goodsPriceBox {
    width: 160px;
    text-align: right;
    line-height: 80px;
    float: left;
    height: 80px;
    & .price {
      font-size: 16px;
      color: #e14c46;
    }
    & .cell {
      font-size: 12px;
      min-width: 40px;
      text-align: left;
      display: inline-block;
      color: #999;
    }
  }
  & .goodsInventoryBox {
    width: 120px;
    text-align: right;
    line-height: 80px;
    float: left;
    height: 80px;
    & .InventoryNum {
      font-size: 14px;
      color: #333;
    }
    & .cell {
      font-size: 12px;
      min-width: 40px;
      text-align: left;
      display: inline-block;
      color: #999;
    }
  }
  & .goodsNumBox {
    width: 200px;
    padding-left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    height: 80px;
    & .numIptBox {
      // flex: 0 0 100px;
      height: 30px;
    }
    & .cell {
      font-size: 12px;
      color: #999;
      min-width: 40px;
      text-align: left;
      display: inline-block;
      margin-left: 10px;
    }
  }
  & .goodsMainNumBox {
    width: 110px;
    float: left;
    height: 80px;
    line-height: 80px;
    text-align: right;
    & .MainNum {
      font-size: 14px;
      color: #333;
    }
    & .cell {
      font-size: 12px;
      min-width: 40px;
      text-align: left;
      display: inline-block;
      color: #999;
    }
  }
  & .goodsCartBox {
    width: 160px;
    float: left;
    height: 80px;
    line-height: 80px;
    text-align: center;
    color: #e14c46;
    font-size: 16px;
  }
  & .goodsFocusBox {
    width: 130px;
    float: left;
    height: 80px;
    line-height: 80px;
    text-align: center;
    & .heartIcon {
      color: #333;
      font-size: 20px;
      cursor: pointer;
      padding-right: 10px;
    }
    & .delete {
      color: #333;
      font-size: 20px;
      cursor: pointer;
    }
  }
}
.imgBox {
  float: left;
  width: 60px;
  height: 60px;
  margin: 10px 10px 10px 0;
  & img {
    height: 60px;
    width: 60px;
    border: 1px solid #eee;
  }
}
.goodsInfo {
  float: left;
  height: 80px;
  width: 220px;
  padding-top: 10px;
}
.goodsTitleName {
  color: #333;
  font-size: 12px;
  height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
}
.goodsStatus {
  display: block;
  width: 16px;
  height: 16px;
  background: #59c152;
  border-radius: 2px;
  color: #fff;
  text-align: center;
  line-height: 16px;
}
.goodsStatusTxt {
  font-size: 10px;
  transform: scale(0.8);
  margin: 0;
}
.settleBox {
  height: 50px;
  width: 100%;
  margin-top: 80px;
  background: #fafafa;
  margin-bottom: 300px;
  & .deleteBtn {
    display: inline-block;
    line-height: 50px;
    padding-left: 18px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
  }
  & .focusBtn {
    display: inline-block;
    line-height: 50px;
    padding-left: 20px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
  }
  & .goBuyBtn {
    float: right;
    width: 120px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    background: #e14c46;
    border: none;
    border-radius: 0;
  }
  & .allPrice {
    float: right;
    vertical-align: middle;
    line-height: 45px;
    padding-right: 10px;
    color: #333;
    font-size: 16px;
    vertical-align: middle;
    & .price {
      font-size: 24px;
      color: #e14c46;
      vertical-align: middle;
    }
  }
  & .selectNum {
    float: right;
    line-height: 50px;
    font-size: 14px;
    margin-top: 3px;
    margin-right: 40px;
    color: #333;
    vertical-align: middle;
    & .num {
      font-size: 14px;
      color: #000b0d;
    }
  }
}
// 无数据列表
.noData{
  height: 50px;
  line-height: 50px;
  background: #fafafa;
  color: #666;
  text-align: center;
}