@import '@/assets/bundle.scss';

.good-cell {
  // @extend %pd20;
  padding: 30rpx 0;
  display: flex;
  // border-bottom: 1rpx solid $border4;
  border-bottom: 1rpx solid #dadada;
  .good-img {
    flex: none;
    width: 150rpx;
    height: 150rpx;
    .good-img-size{
      width: 100%;
      height: 100%;
    }
    // img {
    //   width: 100%;
    //   height: 100%;
    // }
  }
  .good-info {
    flex: auto;
    margin-left: 20rpx;
  }
  .lookDetail{
    height: 60rpx;
    line-height: 60rpx;
    font-size:30rpx;
    background:#81be4e;
    color:#fff;
    text-align:center;
    border-radius:20rpx;
    margin-top:10rpx;
  }
  .good-name {
    font-size: 30rpx;
    font-weight: 400;
    color: $text1;
    min-height: 80rpx;
    line-height: 1.1;
  }
  .btn-wait{
    flex: 1;
  }
  .btn-self{
    color: #fff;
    background-color: rgba(78, 179, 49, 0.6);
  }
  .countTime-wrap{
    height: 17px;
    width: 100%;
    margin-bottom: 5rpx;
  }
  .countTime{
    color: #E6A23C;
    font-size: 26rpx;
  }
  .stock-and-waitPirce{
    display: flex;
  }
  .act-type-wrapper {
    height: 20rpx;
    overflow: hidden;
  }
  .act-type {
    @extend %act-type-text;
  }
  .good-price {
    @extend %flex-between;
    flex-wrap: wrap;
  }
  .price {
    display: flex;
    align-items: baseline;
  }
  .cur-price {
    font-size: 32rpx;
    color: $strong;
    font-weight: 700;;
    &:before {
      content: "￥";
      font-size: 24rpx;
    }
  }
  .ori-price {
    font-size: 20rpx;
    color: $gray;
    margin-left: 10rpx;
    text-decoration: line-through;
    &:before {
      content: "￥";
    }
  }
  .handle-shopcar {
    flex: none;
    // background: red;
    margin-left: auto;
    height: 60rpx;
    @extend %flex-center;
  }
  .cart-act-count {
    font-size: 24rpx;
    color: $text2;
    display: flex;
    flex-flow: column;
    align-items: flex-end;
    line-height: 1;
    .act-count-show {
      width: 220rpx;
      @extend %flex-between;
    }
  }
  .add-cart{
    width: 200rpx;
    height: 60rpx;
    line-height: 60rpx;
    font-size:30rpx;
    background:#81be4e;
    color:#fff;
    text-align:center;
    border-radius:20rpx;
    // border:1rpx solid red;
  }
}

.no-border{
  border-bottom: 1rpx solid #fff !important;
}