@mixin bottomBtn {
  width: 100%;
  height: 100%;
  font-family: 'GAMEFONT';
  text-align: center;
  text-indent: -1000rem;
}

/* 大号轮播 item */
.press-act-merchant-item--big {
  .press__main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 4.88rem;
    height: 3.16rem;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/top-bg-large-new.png) center/100% 100% no-repeat;
  }

  .press__top {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    height: .54rem;
    padding-left: .2rem;

    .press__image {
      width: .32rem;
      height: .32rem;
      margin-right: .08rem;
    }

    .press__name {
      overflow: hidden;
      width: 2.8rem;
      color: #ecd59c;
      font-size: .2rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  .press__swipe-image {
    width: auto;
    max-width: 3.5rem;
    height: auto;
    max-height: 1.54rem;
  }

  .press__swipe-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    height: .58rem;
    line-height: .58rem;
  }

  .press__swipe-name {
    display: inline-block;
    overflow: hidden;
    width: 2.78rem;
    height: .58rem;
    padding-left: .2rem;
    margin: 0 auto;
    color: #fff;
    font-size: .24rem;
    line-height: .58rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .press__swipe-desc {
    overflow: hidden;
    width: 2rem;
    height: .3rem;
    margin: 0 auto;
    color: #ecd59c;
    font-size: .2rem;
    line-height: .3rem;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .press__card-bottom {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: .56rem;

    .press__card-desc {
      display: none;
    }
  }

  .press__button--receive {
    @include bottomBtn;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/receive-button-large-new.png) bottom/100% auto no-repeat;
  }

  .press__button--use {
    @include bottomBtn;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/use-button-large-new.png) center/100% auto no-repeat;
  }

  .press__button--disable {
    @include bottomBtn;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/disabled-button-large-new.png) center/100% auto no-repeat;
  }
}

/*  小号轮播 item */
.press-act-merchant-item--small {
  .press__main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    width: 2.4rem;
    background-image: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/top-bg-new.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  .press__top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    height: .54rem;
    padding-left: .2rem;

    .press__image {
      width: .32rem;
      height: .32rem;
      margin-right: .08rem;
    }

    .press__name {
      overflow: hidden;
      width: 1.2rem;
      color: #ecd59c;
      font-size: .2rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  .press__swipe-image {
    width: auto;
    height: 1.2rem;
    margin: .16rem auto .1rem;
  }

  .press__card-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: .58rem;

    .press__card-desc {
      display: none;
    }
  }

  .press__swipe-name {
    overflow: hidden;
    width: 2rem;
    height: .58rem;
    margin: 0 auto;
    color: #fff;
    font-size: .24rem;
    line-height: .58rem;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .press__swipe-desc {
    overflow: hidden;
    width: 2rem;
    height: .3rem;
    margin: 0 auto;
    color: #ecd59c;
    font-size: .2rem;
    line-height: .3rem;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .press__button--receive {
    @include bottomBtn;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/receive-button-new.png) bottom/100% auto no-repeat;
  }

  .press__button--use {
    @include bottomBtn;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/use-button-new.png) center/100% auto no-repeat;
  }

  .press__button--disable {
    @include bottomBtn;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/disabled-button-new.png) center/100% auto no-repeat;
  }
}

/* 品牌 item */
.press-act-merchant-item--brand {
  .press__main {
    position: relative;
    overflow: hidden;
    width: 2.4rem;
    min-height: 2.8rem;
    margin: .16rem .08rem 0 0;
    background-image: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/item-bg-new.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  .press__top {
    display: none;
  }

  .press__swipe-image {
    width: 1.2rem;
    height: 1.2rem;
    margin: .16rem .6rem 0;
    background-color: rgba(22, 32, 50, .5);
  }

  .press__card-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: .58rem;

    .press__card-desc {
      display: none;
    }
  }

  .press__swipe-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: .6rem;
    margin: .16rem auto;
  }

  .press__swipe-name {
    overflow: hidden;
    width: 2rem;
    height: .3rem;
    margin: 0 auto;
    color: #fff;
    font-size: .24rem;
    line-height: .3rem;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .press__swipe-desc {
    overflow: hidden;
    width: 2rem;
    height: .3rem;
    margin: 0 auto;
    color: #ecd59c;
    font-size: .2rem;
    line-height: .3rem;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .press__button--receive {
    @include bottomBtn;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/receive-button-new.png) bottom/100% auto no-repeat;
  }

  .press__button--use {
    @include bottomBtn;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/use-button-new.png) center/100% auto no-repeat;
  }

  .press__button--disable {
    @include bottomBtn;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/disabled-button-new.png) center/100% auto no-repeat;
  }
}

/* 右侧角标 icon */
.press__main {
  position: relative;

  .press__icon--vip {
    position: absolute;
    top: 0;
    right: 0;
    width: .64rem;
    height: .64rem;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/vip-icon.png) center/100% 100% no-repeat;
  }

  .press__icon--hot {
    position: absolute;
    top: 0;
    right: .1rem;
    width: .3rem;
    height: .6rem;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/hot-tag.png) center/100% auto no-repeat;
  }

  .press__icon--college {
    position: absolute;
    top: 0;
    right: .1rem;
    width: .3rem;
    height: .6rem;
    background: url(https://image-1251917893.file.myqcloud.com/igame/tip-wsq/images/gaoxiao-tag.png) center/100% auto no-repeat;
  }

  .press__icon--star-vip {
    position: absolute;
    top: 0;
    right: .1rem;
    width: .38rem;
    height: .98rem;
    background: url(https://image-1251917893.file.myqcloud.com/igame/common/image/star-vip.png) center/100% auto no-repeat;
  }
}