.component-cpx-coupons-swrapper{
  width: 100%;
  padding: 16px !important;
  display: flex;
  flex-direction: column;
  .coupons-list{
    padding: 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    .coupon-item{
      position: relative;
      display: flex;
      .discount{
        font-family: PingFangSC-Semibold;
        font-size: 30.91px; 
         color:   #A27E35; 
         letter-spacing:   0; 
         line-height:   48px; 
         height:   48px; 
         &::before{
          content: '¥';
          display: inline-block;
          vertical-align: baseline;
          height: 14px;
          width: 11px;
          font-family: PingFangSC-Medium;
          font-size: 16px;
          color: #A27E35;
          letter-spacing: 0.53px; 
           line-height:   14px; 
         } 
       } 
       .use{
        font-family: PingFangSC-Medium;
        font-size: 12px;
        color: #A27E35;
        letter-spacing: 0.4px; 
         line-height:   17px; 
       } 
       .date{
        // width: 100%;
        // height: 14px;
        font-family: PingFangSC-Regular;
        font-size: 10px;
        color: #A27E35;
        letter-spacing: 0.33px; 
         line-height:   14px; 
       } 
       .btn{
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: PingFangSC-Medium;
        font-size: 12px;
        color: #A27E35;
        letter-spacing: 0.4px; 
         margin-left:   7px; 
       } 
       .used{
        position: absolute;
        background: url('https://img.alicdn.com/imgextra/i1/O1CN01rZQWgi1gaPUhVN0Zw_!!6000000004158-55-tps-50-50.svg')   no-repeat; 
         background-size:   100%   100%; 
         width:   47px; 
         height:   47px; 
       } 
     } 
     .coupon-item-three{
      width: 32%;
      margin-bottom: 6px;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      overflow: hidden;
      margin-right: 2%;
      &:nth-child(3n) {
        margin-right: 0;
      }
      padding: 13px 10px 0 10px;
      background: url('https://img.alicdn.com/imgextra/i2/O1CN01gFoecF1LsdKbgR94e_!!6000000001355-2-tps-218-274.png')   no-repeat; 
       background-size:   100%   100%; 
       height:   137px; 
       .discount{
        font-size: 32px;
        color: #A27E35;
        letter-spacing: 0;
        line-height: 45px;
        height: 45px;
        margin-bottom: 2px;
      }
      .d-container{
        height: 45px;
        font-family: PingFangSC-Semibold;
        font-size: 32px;
        color: #A27E35;
        letter-spacing: 0;
        white-space: nowrap;
        &.letter{
          letter-spacing: -3px !important;
          &::after {
            margin-left: 4px;
          }
        }
        &::after {
          content: '折';
          display: inline-block;
          vertical-align: baseline;
          height: 14px;
          width: 17px;
          font-family: PingFangSC-Medium;
          font-size: 16px;
          color: #A27E35;
          letter-spacing: 0.53px; 
           line-height:   14px; 
           margin-left:   2px; 
         } 
       } 
       .use{
        white-space: nowrap;
        margin-bottom: 2px;
        &:last-of-type {
          margin-bottom: 0;
        }
      }
      // &::after {
      //   content: '';
      //   bottom: 22%;
      //   left: 13%;
      //   width: 74%;
      //   display: block;
      //   position: absolute;
      //   height: 1px;
      //   border-top: 1px dashed #A27E35;
      // }
      .btn{
        position: absolute;
        bottom: 0;
        left: 0;
        height: 22%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: PingFangSC-Medium;
        font-size: 12px;
        color: #A27E35;
        letter-spacing: 0.4px; 
         margin-left:   0; 
       } 
       .date{
        transform: scale3d(0.83,   0.83,   0.83); 
         width:   120%; 
         display:   flex; 
         justify-content:   center; 
         align-items:   center; 
       } 
       .used{
        right: -8px;
        top: -8px;
      }
    }
    .coupon-item-two{
      width: 49%;
      margin-bottom: 11px;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      margin-right: 2%;
      &:nth-child(2n) {
        margin-right: 0;
      }
      background: url('https://img.alicdn.com/imgextra/i3/O1CN01eaHUu71yNjclblDLg_!!6000000006567-2-tps-332-280.png')   no-repeat; 
       background-size:   100%   100%; 
       height:   140px; 
       //   &::after{
      //   content: '';
      //   top: 52%;
      //   left: 10%;
      //   width: 80%;
      //   display: block;
      //   position: absolute;
      //   height: 1px;
      //   border-top: 1px dashed #A27E35;
      // }
      .coupon{
        position: absolute;
        left: 50%;
        top: -4px;
        // margin-top: -50%;
        margin-left: -35px;
        background: url('https://img.alicdn.com/imgextra/i2/O1CN01tOejW31LbgfRgjE92_!!6000000001318-55-tps-78-22.svg')   no-repeat; 
         background-size:   100%   100%; 
         width:   70px; 
         height:   21px; 
         display:   flex; 
         justify-content:   center; 
         align-items:   center; 
         font-family:   PingFangSC-Regular; 
         font-size:   11.59px; 
         color:   #FFFFFF; 
         letter-spacing:   0.39px; 
       } 
       .used-view{
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 50%;
        border-radius: 5px 5px 0 0;
        overflow: hidden;
        background: transparent;
        .used{
          right: -6px;
          top: -10px;
        }
      }
      .du-view{
        display: flex;
        flex-direction: column;
        padding: 17px 13px 0 13px;
        align-items: center;
        .discount{
          // margin-right: 5px;
          line-height: 33px;
          height: 33px;
          margin-bottom: 1px;
          white-space: nowrap;
          &::before {
            height: 13.5px; 
             width:   10.6px; 
             font-family:   PingFangSC-Medium; 
             font-size:   15.45px; 
             color:   #A27E35; 
             letter-spacing:   0.52px; 
             line-height:   13.52px; 
           } 
         } 
         .d-container{
          height: 33px;
          font-family: PingFangSC-Semibold;
          font-size: 30.91px; 
           color:   #A27E35; 
           letter-spacing:   -3px; 
           line-height:   33px; 
           margin-bottom:   1px; 
           white-space:   nowrap; 
           &.letter{
            letter-spacing: -3px !important;
            &::after {
              margin-left: 2px;
            }
          }
          &::after {
            content: '折';
            display: inline-block;
            vertical-align: baseline;
            height: 13.5px; 
             width:   10.6px; 
             font-family:   PingFangSC-Medium; 
             font-size:   15.45px; 
             color:   #A27E35; 
             letter-spacing:   0.52px; 
             line-height:   13.52px; 
             margin-left:   2px; 
           } 
         } 
       } 
       .use{
        text-align: left;
      }
      .d-btn-view{
        position: absolute;
        bottom: 9px;
        left: 0;
        height: 45px;
        display: flex;
        padding: 0 10px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        .date{
          margin-bottom: 6px;
          // text-align: left;
        }
        .btn{
          width: 71px;
          height: 23px;
          line-height: 23px;
          display: flex;
          justify-content: center;
          align-items: center;
          background: #A27E35;
          border-radius: 11.5px; 
           font-family:   PingFangSC-Regular; 
           font-size:   11.59px; 
           color:   #FFFFFF; 
           letter-spacing:   0.39px; 
           border:   1px   solid   #A27E35; 
         } 
         .disabled{
          color: #A27E35;
          background: transparent;
        }
      }
    }
    .coupon-item-one{
      width: 100%;
      background: url('https://img.alicdn.com/imgextra/i2/O1CN01sy0iX21FFo3pZGTiy_!!6000000000458-2-tps-678-172.png')   no-repeat; 
       background-size:   100%   100%; 
       //   background-size:   cover; 
       margin-bottom:   9px; 
       overflow:   hidden; 
       height:   85px; 
       //   &::after{
      //   content: '';
      //   top: 10%;
      //   left: 74.7%; 
       //     height:   80%; 
       //     display:   block; 
       //     position:   absolute; 
       //     width:   1px; 
       //     border-left:   1px   dashed   #A27E35; 
       //   } 
       .com-container{
        padding: 21px 6px 15px 15px;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
      }
      .discount{
        width: 63px;
        text-align: center;
        white-space: nowrap;
        &::before {
          margin-right: 0;
          letter-spacing: 0.53px; 
           line-height:   14px; 
           width:   11px; 
           height:   14px; 
         } 
       } 
       .d-container{
        width: 63px;
        height: 50px;
        font-family: PingFangSC-Semibold;
        font-size: 32px;
        color: #A27E35;
        letter-spacing: 0;
        line-height: 50px;
        white-space: nowrap;
        &.letter{
          letter-spacing: -3px !important;
          &::after {
            margin-left: 4px;
          }
        }
        &::after {
          content: '折';
          display: inline-block;
          vertical-align: baseline;
          height: 14px;
          width: 17px;
          font-family: PingFangSC-Medium;
          font-size: 16px;
          color: #A27E35;
          letter-spacing: 0.53px; 
           line-height:   14px; 
           margin-left:   2px; 
         } 
       } 
       .coupon{
        position: absolute;
        top: 8px;
        left: 0;
        height: 19px;
        line-height: 19px;
        font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #FFFFFF;
        letter-spacing: 0.4px; 
         background-color:   #D0B47C; 
         width:   50px; 
         border-radius:   0   3px   3px   0; 
         text-align:   center; 
         display:   flex; 
         justify-content:   center; 
         align-items:   center; 
       } 
       .dud-view{
        flex: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
      }
      .ud-view{
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-left: 11px;
        margin-right: 5px;
        .use{
          text-align: left;
        }
        .date{
          height: 17px;
          line-height: 17px;
          font-family: PingFangSC-Regular;
          font-size: 12px;
          color: #A27E35;
          letter-spacing: 0.4px; 
           display:   flex; 
           flex-wrap:   wrap; 
           text-align:   left; 
         } 
       } 
       .btn{
        width: 22%;
        height: 24px;
        line-height: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #A27E35;
        border-radius: 12px;
        font-family: PingFangSC-Regular;
        font-size: 11.59px; 
         color:   #FFFFFF; 
         letter-spacing:   0.39px; 
         border:   1px   solid   #A27E35; 
       } 
       .disabled{
        color: #A27E35;
        background: transparent;
      }
      .used{
        right: 22%;
        top: -10%;
      }
    }
  }
  .button{
    border-radius: 4px;
    background-color: #A27E35;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: PingFangSC-Regular;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 18px;
    line-height: 40px;
    letter-spacing: 0;
  }
  .com-container{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .com-image{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
}
