MoveGroup.scss 1.48 KB
/* pages/crowdfunding/components/MoveGroup/MoveGroup.wxss */
@import "../../assets/css/sharegoods.wxss";

.group-list {
  // visibility: hidden;
  position: absolute;
  left: 16rpx;
  top: 7%;
  width: 360rpx;
  height: 80%;
  overflow: hidden;

  .move {
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .item {
    position: relative;
    display: inline-flex;
    padding: 0 12rpx 0 6rpx;
    box-sizing: border-box;
    height: 56rpx;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 34rpx;
    // margin-bottom: 8rpx;
    font-size: 24rpx;
    font-weight: 500;
    color: #ffffff;

    .group-head {
      width: 44rpx;
      height: 44rpx;
      border-radius: 100%;
      overflow: hidden;
      margin-right: 6rpx;
    }
  }

  @keyframes opacity-text {
    0% {
      opacity: 1;
    }

    100% {
      opacity: 0;
    }
  }

  .first {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);

    .text {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    // animation: opacity-text 5s forwards;
  }

  .last {
    background: linear-gradient(360deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);

    .text {
      background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
}

.show {
  visibility: visible;
}