.shareContainer {
  width: 375px;

  .swipe__indicators {
    color: #fff;
  }

  .indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
  }

  .swipe__indicator {
    width: 48px;
    height: 4px;
    background-color: #fff;
    opacity: 0.5;
    border-radius: 0;

    &:first-child {
      border-radius: 4px 0 0 4px;
    }

    &:last-child {
      border-radius: 0 4px 4px 0;
    }
  }

  .swipe__indicator--active {
    opacity: 1;
  }

  .total {
    text-align: center;
    padding-top: 8px;
    font-size: 14px;
    line-height: 20px;
  }

  :global {
    .van-swipe {
      transform: translateZ(0);
    }

    .van-swipe-item {
      // margin: 0 5px;
    }

    // .van-swipe__indicators {
    //   border-radius: 2px;
    //   overflow: hidden;
    // }
    // .van-swipe__indicator:not(:last-child) {
    //   margin-right: 0;
    // }
    // .van-swipe__indicator {
    //   width: 48px;
    //   height: 4px;
    //   background-color: #fff;
    //   opacity: 0.5;
    //   border-radius: 0;
    // }
    // .van-swipe__indicator--active {
    //   opacity: 1;
    // }
  }
}

.shareTitle {
  .title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    line-height: 35px;
  }

  .titleTip {
    padding-top: 5px;
    font-size: 14px;
    color: #666666;
    line-height: 20px;
  }
}

.shareTeacher {
  margin-top: 15px;
  padding: 12px;
  background: linear-gradient(270deg, #baffe7 0%, #c0dcff 100%);
  border-radius: 9px;
  color: #333;

  .teacherImg {
    margin-right: 12px;
    position: relative;
    width: 40px;
    text-align: center;
  }

  .recommend {
    position: absolute;
    height: 14px;
    left: 0;
    bottom: -3px;
  }

  .img {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    overflow: hidden;
  }

  .name {
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
  }

  .titleTips {
    font-size: 12px;
    line-height: 18px;
  }
}

.shareSection {
  border-radius: 12px;
  width: 334px;
  padding: 16px;
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff;

  &.video {
    background: url('./images/video1.png') no-repeat top center #fff;
    background-size: cover;

    &.yellow {
      background: url('./images/video2.png') no-repeat top center #fff;
      background-size: cover;
    }

    &.pink {
      background: url('./images/video3.png') no-repeat top center #fff;
      background-size: cover;
    }
  }

  &.live {
    background: url('./images/live1.png') no-repeat top center #fff;
    background-size: cover;

    &.yellow {
      background: url('./images/live2.png') no-repeat top center #fff;
      background-size: cover;
    }

    &.pink {
      background: url('./images/live3.png') no-repeat top center #fff;
      background-size: cover;
    }
  }

  &.mall {
    background: url('./images/shop1.png') no-repeat top center #fff;
    background-size: cover;

    &.yellow {
      background: url('./images/shop2.png') no-repeat top center #fff;
      background-size: cover;
    }

    &.pink {
      background: url('./images/shop3.png') no-repeat top center #fff;
      background-size: cover;
    }
  }

  &.music {
    background: url('./images/music1.png') no-repeat top center #fff;
    background-size: cover;

    &.yellow {
      background: url('./images/music2.png') no-repeat top center #fff;
      background-size: cover;
    }

    &.pink {
      background: url('./images/music3.png') no-repeat top center #fff;
      background-size: cover;
    }
  }

  &.vip {
    background: url('./images/vip1.png') no-repeat top center #fff;
    background-size: cover;

    &.yellow {
      background: url('./images/vip2.png') no-repeat top center #fff;
      background-size: cover;
    }
  }

  &.album {
    background: url('./images/album1.png') no-repeat top center #fff;
    background-size: contain;
  }

  .shareContent {
    padding-top: 124px;
  }
}

.download {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .logo {
    margin-left: 12px;
    padding-left: 14px;
    font-size: 12px;
    color: #333;
    line-height: 18px;
    flex: 1;
    border-left: 1px solid #ccc;
    font-weight: 500;

    img {
      height: 20px;
      vertical-align: middle;
      margin-bottom: 4px;
      margin-top: 8px;
    }
  }

  .qrcode {
    position: relative;
    width: 92px;
    height: 92px;

    .qrcodeCanvas {
      width: 100% !important;
      height: 100% !important;
    }

    .qrcodeLogo {
      position: absolute;
      top: 50%;
      left: 50%;
      margin-left: -8px;
      margin-top: -8px;
      width: 16px;
      height: 16px;
      border-radius: 4px;
    }
  }

  .tips {
    color: #999;
    font-weight: 400;
  }
}

.shareGroupBtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;

  :global(.van-button) {
    padding: 8px 46px;
  }

  &.shareGroupTenantBtn {
    :global {
      .van-button--primary {
        background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
        border: none;
      }

      .van-button--plain.van-button--primary {
        color: #FF204B;
        background: #fff !important;
      }
    }
  }
}