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

.goodsHot {
  width: 388px;
  height: 300px;
  padding: 0;
  margin: 0;
  border: 1px solid #f0f0f0;
  // cursor: pointer;
  position: relative;
}
.imgBox {
  height: 223px;
}
.img {
  width: 100%;
  height: 213px;
}
.goodsHotInfobox {
  height: 77px;
  background: #f9f9f9;
  width: 100%;
  padding: 16px 7px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.goodsHotTitlebox {
  clear: both;
  margin-bottom: 10px;
}
.goodsTitle {
  font-size: 14px;
  color: #333;
  font-weight: bold;
}
.goodsHotPrice {
  float: right;
  font-size: 16px;
  color: #d81719;
}
.goodsHotCodeBox {
  clear: both;
}
.goodsHotCode {
  float: left;
  width: 165px;
  font-size: 12px;
  color: #666;
}
// .goodsCode {
// }
// .codeInfo {
// }
.goodsNumBox {
  float: left;
}
// .goodsNum {
// }
.oldPrice {
  float: right;
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}
.goodsHot:hover {
  .goodsHotHoverBox {
    bottom: 77px;
  }
}
// 鼠标移入
.goodsHotHoverBox {
  position: absolute;
  bottom: 47px;
  left: 0;
  height: 40px;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 10px 0 20px;
  clear: both;
  transition: all 0.2s;
}
.goodsCollect {
  float: left;
  cursor: pointer;
}
.collectIcon {
  color: #333;
  font-size: 16px;
}
.collectTxt {
  color: #333;
  font-size: 14px;
  padding-left: 10px;
}
.iptBox {
  float: left;
  width: 80px;
  margin-left: 80px;
}
.addCart {
  float: right;
  cursor: pointer;
}
.cartIcon {
  color: #333;
  padding-right: 10px;
  font-size: 16px;
}
.cartTxt {
  color: #333;
  font-size: 14px;
}
