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

.page {
  $contentWidth: 670px;
  padding-bottom: $pageBottom;

  color: #333333;
  font-size: 24px;

  .bgc {
    background-color: #efefef;
  }

  .bg {}

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

    .content {
      position: relative;
      padding-top: 24px;

    }

    .banner {
      position: relative;

      .swiper {
        width: $contentWidth;
        height: 280px;
        margin: 0 auto;

        .swiper-image {
          width: $contentWidth;
          height: 250px;
        }
      }

      .tit {
        position: absolute;
        bottom: 12px;
        width: 750px;
        height: 64px;
        line-height: 64px;
        left: 0;
        right: 0;
        margin: 0 auto;
        text-align: center;
        background-color: rgba($color: #000000, $alpha: 0.7);
        color: #ffffff;
        font-size: 30px;

      }
    }

    .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;
          background-color: #dddddd;

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

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

          }

          .iconfont {
            font-size: 160px;
            position: absolute;
            left: 0;
            right: 0;
            top: 160px;
            margin: 0 auto;
            text-align: center;
            font-weight: bold;
            // color: #efefef;
            color: #ffffff;
          }
        }

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

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

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

            .name {
              padding-left: 24px;
              font-size: 32px;
              @include ellipsis(1);
            }
          }

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

            .iconfont {
              font-size: 40px;
            }

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

      }
    }
  }


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

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