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

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

  color: #333333;
  font-weight: bold;

  .bgc {
    background-color: #efefef;
  }

  .bg {}

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

    .banner {
      position: relative;
      line-height: 0px;
      $swiperHei: 320px;

      .swiper {
        width: 750px;
        height: $swiperHei;
        margin: 0 auto;

        .swiper-image {
          width: 750px;
          height: $swiperHei;
        }
      }

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

      }
    }

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

    }

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

      &-item {
        // @extend .shadow;
        box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.6);
        @include border-top-radius(16px);
        position: relative;
        background-color: #ffffff;
        border-radius: 16px;
        margin: 24px auto;

        &-video {
          display: flex;
          justify-content: center;
          position: relative;
          width: $contentWidth;
          background-color: #dddddd;
          @include border-top-radius(16px);

          .img {
            width: $contentWidth;
            height: 320px;
            @include border-top-radius(16px);
          }

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

          .tit {
            opacity: .8;
            font-size: 40px;
            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.5);
            @include border-top-radius(8px);
            @include ellipsis(1);
            background-image: linear-gradient(to bottom, #000000, #ffffff);

          }

          .play {
            @extend .fcc;
            width: 132px;
            height: 132px;
            border-radius: 132px;
            font-weight: normal;
            position: absolute;
            left: 0;
            right: 0;
            top: 72px;
            margin: 0 auto;
            text-align: center;
            font-weight: bold;
            background-color: rgba($color: #000000, $alpha: 0.7);

            .iconfont {
              font-size: 48px;
              color: #ffffff;
              margin-left: 12px;
            }
          }

        }

        &-func {
          @extend .bb;
          padding: 12px 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 !important;
  }

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