personal-list.scss 3.66 KB
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';

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

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

  .bgc {
    background-color: #efefef;
  }

  .bg {}

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

    .personal {
      position: fixed;
      top: 0;
      z-index: 1;
      @extend .bb;
      padding: 24px 32px;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #ffffff;
      border-bottom: solid 1px #efefef;

      .name {
        font-size: 32px;
        font-weight: bold;
      }

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

    .content {
      position: relative;
    }

    .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;

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

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

          .tit {
            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);

          }

          .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;
  }

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