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

.goodsListHead {
  width: 100%;
  height: 40px;
  background: #f5f5f5;
  clear: both;
  font-weight: bold;
  line-height: 40px;
  color: #333;
  font-size: 14px;
  & div {
    float: left;
  }
  & .goodsDisplayName {
    width: 380px;
    text-align: left;
    padding-left: 80px;
  }
  & .supplierName {
    width: 150px;
    padding-left: 15px;
    text-align: center;
  }
  & .goodsPrice {
    width: 150px;
    text-align: right;
  }
  & .goodsInventory {
    width: 130px;
    text-align: right;
  }
  & .goodsNum {
    width: 300px;
    padding-left: 60px;
    text-align: center;
  }
  & .goodsMainNum {
    width: 100px;
    padding-right: 10px;
    text-align: right;
  }
  & .goodsCart {
    width: 205px;
    padding-left: 85px;
    text-align: center;
  }
  & .goodsFocus {
    width: 100px;
    text-align: center;
  }
}
// 列表
.goodsItem {
  height: 80px;
  clear: both;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 0 #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  & .goodsNameBox {
    width: 380px;
    float: left;
    height: 80px;
  }
  & .goodsPriceBox {
    width: 150px;
    text-align: right;
    line-height: 80px;
    float: left;
    height: 80px;
    & .price {
      font-size: 16px;
      color: #e14c46;
    }
    & .cell {
      font-size: 12px;
      color: #999;
    }
  }
  & .supplierBox {
    width: 150px;
    padding-left: 15px;
    float: left;
    height: 80px;
    line-height: 80px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  & .goodsInventoryBox {
    width: 130px;
    text-align: right;
    line-height: 80px;
    float: left;
    height: 80px;
    & .InventoryNum {
      font-size: 14px;
      color: #333;
    }
    & .cell {
      font-size: 12px;
      color: #999;
    }
  }
  & .goodsNumBox {
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 113px;
    float: left;
    height: 80px;
    & .numIptBox {
      // flex: 0 0 100px;
      height: 30px;
    }
    & .cell {
      font-size: 12px;
      color: #999;
      display: inline-block;
      margin-top: 0;
      margin-left: 10px;
      width: 50px;
      text-align: left;
    }
  }
  & .goodsMainNumBox {
    width: 100px;
    float: left;
    padding-right: 10px;
    height: 80px;
    line-height: 80px;
    text-align: right;
    & .MainNum {
      font-size: 14px;
      color: #333;
    }
    & .cell {
      font-size: 12px;
      color: #999;
    }
  }
  & .goodsCartBox {
    width: 205px;
    padding-left: 85px;
    float: left;
    height: 80px;
    line-height: 80px;
    text-align: center;
    & .cartIcon_o {
      color: #333;
      font-size: 24px;
      cursor: pointer;
    }
    & .cartIcon {
      color: @primary-color;
      font-size: 24px;
      cursor: pointer;
    }
    & .cartIcon_disable {
      color: #CCC;
      font-size: 24px;
      cursor: not-allowed;
    }
  }
  & .goodsFocusBox {
    width: 100px;
    float: left;
    height: 80px;
    line-height: 80px;
    text-align: center;
    & .favIcon {
      color: @primary-color;
      font-size: 22px;
      cursor: pointer;
    }
    & .favIcon_o {
      color: #333;
      font-size: 22px;
      cursor: pointer;
    }
    & .favIcon_disable {
      color: #CCC;
      font-size: 22px;
      cursor: not-allowed;
    }
  }
}
.imgBox {
  float: left;
  width: 60px;
  height: 60px;
  margin: 10px 10px 0 10px;
  & img {
    height: 60px;
    width: 60px;
    cursor: pointer;
    border: 1px solid #eee;
  }
}
.goodsInfo {
  float: left;
  height: 80px;
  width: 260px;
  padding-top: 7px;
}
.goodsTitleName {
  color: #333;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: 0;
}
.goodsCode {
  font-size: 12px;
  color: #999;
  margin: 0;
  margin-top: 2px;
}
.model {
  margin-left: 20px;
}
.goodsStatus {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  margin-bottom: 0;
  margin-top: 2px;
  background: #59c152;
  border-radius: 2px;
  color: #fff;
  text-align: center;
  line-height: 16px;
}
.goodsStatusTxt {
  font-size: 10px;
  transform: scale(0.8);
  margin: 0;
}
.pageBox {
  margin-top: 15px;
  text-align: right;
  padding-bottom: 140px;
}

.goodsColorMask {
  background-color: #f85300;
	color: #fff;
	margin-left: 2px
}