index.scss 1.3 KB
/* pages/crowdfunding/components/FAQItem/index.wxss */
@import "../../assets/css/sharegoods.wxss";
@import "../../assets/css/sprite.wxss";

.faq-item {
  padding-top: 32rpx;

  .flex {
    margin-bottom: 24rpx;
    align-items: flex-start;

    .sprite-icon {
      margin-right: 16rpx;
      flex-shrink: 0;
    }
  }

  .icon {
    color: #ffffff;
    font-size: 24rpx;
    width: 28rpx;
    height: 28rpx;
    background: linear-gradient(108deg, #ffbe68 0%, #ff5446 60%, #f45454 100%);
    border-radius: 4rpx;
    flex-shrink: 0;
    margin-right: 8rpx;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .q {
    .value {
      font-weight: 500;
      font-size: 32rpx;
      color: #2c2c2c;
    }
  }

  .a {
    .value {
      font-size: 28rpx;
      color: #282829;
    }

    .icon {
      background: linear-gradient(108deg, #4f7bf6 0%, #3d6ced 60%, #3162e6 100%);
    }
  }

  .value {
    line-height: 40rpx;
    line-break: anywhere;
    word-break: break-all;
  }
}

.indexType {
  .faq-item {
    padding-top: 0;
  }

  .flex {
    margin-bottom: 0;
    align-items: center;
  }

  .q {
    margin-bottom: 12rpx;

    &:last-of-type {
      margin-bottom: 0;
    }

    .value {
      color: #2c2c2c;
    }
  }

  .value {
    font-weight: 400;
    font-size: 24rpx !important;
  }
}