// 13px 12px 16px[6]
// 16px 12px 20px[10]
.dec-discount-s-good {
  background: #ffffff;
  overflow: hidden;
  &.shadow {
    box-shadow: @shadow-good;
  }
  &.border {
    border: 1 * @rpx solid #e5e5e5;
  }
  &.none {
    background: transparent;
  }
  &.radius {
    border-radius: 12 * @rpx;
  }
  .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  em {
    color: @color-tip;
  }
  .mb {
    margin-bottom: 6 * @rpx;
  }
  &.big .mb {
    margin-bottom: 10 * @rpx;
  }
  .image {
    font-size: 0;
    img {
      width: 100%;
    }
  }
  .time {
    padding: 5 * @rpx 10 * @rpx;
    background: linear-gradient(to right, #f86f30, #e91717);
  }
  .start {
    font-size: @font-sub;
    color: #ffffff;
  }
  &.big .start {
    font-size: @font-super;
  }
  .limit {
    font-size: @font-sub;
    color: #ffffff;
  }
  .info {
    padding: 6 * @rpx 10 * @rpx;
  }
  &.big .info {
    padding: 10 * @rpx;
  }
  .title {
    color: @color-text;
    font-size: 14 * @rpx;
    height: 38 * @rpx;
  }
  &.big .title {
    font-size: @font-middle;
    height: auto;
  }
  &.small .title {
    line-height: 1.4;
  }
  .mark {
    display: inline-block;
    height: 16 * @rpx;
    line-height: 16 * @rpx;
    font-size: @font-small;
    border-radius: 8 * @rpx;
    color: @color-tip;
    background-color: #f1c4c4;
    padding: 0 6 * @rpx;
    margin-right: 5 * @rpx;
    max-width: 100 * @rpx;
    overflow: hidden;
    vertical-align: middle;
  }
  .desc {
    color: @color-text3;
    font-size: @font-sub;
    &.dec-truncate {
      display: block;
    }
  }
  .progress {
    background: #dcdee0;
    height: 6 * @rpx;
    border-radius: 3 * @rpx;
    .dot {
      background: @color-tip;
      width: 50%;
      height: 6 * @rpx;
      border-radius: 3 * @rpx;
    }
  }
  .remain {
    font-size: @font-sub;
    color: @color-text3;
  }
  .price-wrap {
    .dot {
      font-size: @font-base;
      padding: 10 * @rpx 0;
      padding-left: 0; //10 * @rpx;
      padding-right: 2 * @rpx;
      color: @color-theme;
      line-height: 1;
    }
    .sale {
      display: inline-block;
      color: @color-theme;
      font-size: @font-middle;
      padding: 10 * @rpx 0;
      padding-right: 6 * @rpx;
      line-height: 1;
    }
    .origin {
      color: @color-text2;
      font-size: @font-sub;
      text-decoration: line-through;
      padding: 10 * @rpx 0;
      padding-right: 4 * @rpx;
      line-height: 1;
    }
  }
  //特殊样式处理
  &.big .price-wrap {
    .sale {
      font-size: 22 * @rpx;
    }
    .origin {
      font-size: 14 * @rpx;
    }
  }
  &.small .price-wrap {
    .sale {
      font-size: @font-base;
    }
  }
}
