index.scss 2.22 KB
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';

.page {
  color: #333333;
  font-size: 24px;

  .bgc {
    background-color: #efefef;
  }

  .bg {}

  .main {
    .top-space {
      height: 0px;
    }

    .content {
      position: relative;
    }

    .list {
      position: relative;
      margin: 0 auto;
      width: $contentWidth;

      &-item {
        position: relative;
        background-color: #ffffff;
        border-radius: 16px;
        margin: 24px auto;

        &-video {
          display: flex;
          justify-content: center;
          position: relative;
          width: $contentWidth;

          .vid {
            @include border-top-radius(16px);
            width: $contentWidth;
            pointer-events: none;
          }

          .tit {
            color: #ffffff;
            @extend .bb;
            padding: 0 24px;
            position: absolute;
            width: 100%;
            height: 64px;
            line-height: 64px;
            bottom: 0;
            background-color: rgba($color: #000000, $alpha: 0.6);
            @include border-top-radius(8px);
            @include ellipsis(1);

          }
        }

        &-func {
          @extend .bb;
          padding: 24px 24px;
          height: 80px;
          display: flex;
          justify-content: space-between;
          align-items: center;

          .user {
            display: flex;
            align-items: center;

            .portrait {
              width: 48px;
              height: 48px;
              border-radius: 48px;
            }

            .name {
              padding-left: 12px;
            }
          }

          .share {
            font-size: 24px;
            display: flex;
            justify-content: center;
            align-items: center;
            // width: 132px;
            height: 48px;
            color: #ffffff;
            background-color: #3ec03c;
            border-radius: 8px;
            margin: 0;

            .iconfont {
              font-size: 32px;
            }

            .t1 {
              padding: 0 6px;
            }
          }
        }

      }
    }
  }


  .van-tab--active {
    color: #fc464a;
  }

  .van-hairline--top-bottom:after {
    border-width: 0;
  }
}